You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
using System ;
using System.Collections.Generic ;
using System.ComponentModel ;
using System.Data ;
using System.Drawing ;
using System.Linq ;
using System.Text ;
using System.Windows.Forms ;
using CommService ;
namespace ClientTest
{
/*
*类名称: T_CallDataForm
*创建人:韩荣伟
*创建时间: 2010-10-30
*功能描述:温湿度数据招唤窗口
*/
public partial class T_CallDataForm : Form
{
public List < uint > lstOBJID = new List < uint > ( ) ;
public string sMID ;
public T_CallDataForm ( )
{
InitializeComponent ( ) ;
}
/*
*方法名称: T_AlarmSettingForm_Shown
*创建人:韩荣伟
*创建时间: 2010-10-30
*参数描述: object sender 事件发起者, EventArgs e 事件参数
*返回描述: void
*功能描述: 初始化仪表ID
*/
private void T_CallDataForm_Load ( object sender , EventArgs e )
{
tbNumber . Text = sMID ;
}
/*
*方法名称: btnApply_Click
*创建人:韩荣伟
*创建时间: 2010-10-30
*参数描述: object sender 事件发起者, EventArgs e 事件参数
*返回描述: void
*功能描述:执行招唤
*/
private void btnApply_Click ( object sender , EventArgs e )
{
lstOBJID . Clear ( ) ;
//温度
if ( cbTemp . Checked = = true )
{
lstOBJID . Add ( THS_COMM_PARAMS . TEMP ) ;
}
//湿度
if ( cbHumi . Checked = = true )
{
lstOBJID . Add ( THS_COMM_PARAMS . HUMI ) ;
}
}
}
}