public frmHvacRelay(HVAC oTmp, string TmpDeviceName, Byte sensorType) { InitializeComponent(); myHVAC = oTmp; this.MyDeviceName = TmpDeviceName; this.SensorType = sensorType; }
public frmHVAC(HVAC oHVAC, string strName, int intDIndex, int intDeviceType) { InitializeComponent(); this.myHVAC = oHVAC; this.myDevName = strName; this.myintDIndex = intDIndex; this.mywdDeviceType = intDeviceType; string strDevName = strName.Split('\\')[0].ToString(); HDLSysPF.DisplayDeviceNameModeDescription(strName, mywdDeviceType, cboDevice, tbModel, tbDescription); this.Text = strName; tsl31.Text = strName; }