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.
|
|
|
|
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;
|
|
|
|
|
|
|
|
|
|
namespace ClientTest
|
|
|
|
|
{
|
|
|
|
|
/*
|
|
|
|
|
*类名称:T_AlarmSettingForm
|
|
|
|
|
*创建人:韩荣伟
|
|
|
|
|
*创建时间:2010-10-30
|
|
|
|
|
*功能描述:温湿度告警参数设置窗口
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
public partial class T_AlarmSettingForm : Form
|
|
|
|
|
{
|
|
|
|
|
public TextBox[] arrTextBox = new TextBox[8];
|
|
|
|
|
public string sMID;
|
|
|
|
|
|
|
|
|
|
public T_AlarmSettingForm()
|
|
|
|
|
{
|
|
|
|
|
InitializeComponent();
|
|
|
|
|
arrTextBox[0] = tbThresholdTLL;
|
|
|
|
|
arrTextBox[1] = tbThresholdTL;
|
|
|
|
|
arrTextBox[2] = tbThresholdTU;
|
|
|
|
|
arrTextBox[3] = tbThresholdTUU;
|
|
|
|
|
|
|
|
|
|
arrTextBox[4] = tbThresholdHLL;
|
|
|
|
|
arrTextBox[5] = tbThresholdHL;
|
|
|
|
|
arrTextBox[6] = tbThresholdHU;
|
|
|
|
|
arrTextBox[7] = tbThresholdHUU;
|
|
|
|
|
}
|
|
|
|
|
/*
|
|
|
|
|
*方法名称:T_AlarmSettingForm_Shown
|
|
|
|
|
*创建人:韩荣伟
|
|
|
|
|
*创建时间:2010-10-30
|
|
|
|
|
*参数描述:object sender 事件发起者, EventArgs e 事件参数
|
|
|
|
|
*返回描述:void
|
|
|
|
|
*功能描述:初始化仪表ID
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
private void T_AlarmSettingForm_Shown(object sender, EventArgs e)
|
|
|
|
|
{
|
|
|
|
|
tbMeterNo.Text = sMID;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|