Exemplo n.º 1
0
 public frmHvacRelay(HVAC oTmp, string TmpDeviceName, Byte sensorType)
 {
     InitializeComponent();
     myHVAC            = oTmp;
     this.MyDeviceName = TmpDeviceName;
     this.SensorType   = sensorType;
 }
Exemplo n.º 2
0
        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;
        }