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.

61 lines
1.6 KiB
C#

This file contains ambiguous Unicode characters!

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;
namespace ClientTest
{
/*
*类名称E_AlarmSettingForm
*创建人:韩荣伟
*创建时间2010-10-30
*功能描述:电力告警参数窗口类
*/
public partial class E_AlarmSettingForm : Form
{
public TextBox[] arrTextBox = new TextBox[8];
public string sMID;
/*
*方法名称E_AlarmSettingForm
*创建人:韩荣伟
*创建时间2010-10-30
*参数描述void
*返回描述void
*功能描述构造函数更新textbox数组
*/
public E_AlarmSettingForm()
{
InitializeComponent();
arrTextBox[0] = tbThresholdILL;
arrTextBox[1] = tbThresholdIL;
arrTextBox[2] = tbThresholdIU;
arrTextBox[3] = tbThresholdIUU;
arrTextBox[4] = tbThresholdULL;
arrTextBox[5] = tbThresholdUL;
arrTextBox[6] = tbThresholdUU;
arrTextBox[7] = tbThresholdUUU;
}
/*
*方法名称E_AlarmSettingForm_Shown
*创建人:韩荣伟
*创建时间2010-10-30
*参数描述object sender 事件发出对象, EventArgs e 显示事件参数
*返回描述void
*功能描述窗口显示事件函数更新仪表ID
*/
private void E_AlarmSettingForm_Shown(object sender, EventArgs e)
{
tbMeterNo.Text = sMID;
}
}
}