Beispiel #1
0
 private void SetValueLamp()
 {
     if (cboLampList.SelectedIndex > -1)
     {
         int SetChnlNum  = DataManager.LightingSettingInfoList[cboLampList.SelectedIndex].Channel - 1;
         int SetValueNum = int.Parse(txtLampValue.Text);
         LampComm.SetLamp(SetChnlNum, SetValueNum);
     }
 }
Beispiel #2
0
        private void btnTest_Click(object sender, EventArgs e)
        {
            int GetLampValue    = int.Parse(txtLightingValue.Text);
            int SetChannelIndex = cboLightingName.SelectedIndex;

            // dshong 조명 test

            LampComm.SetLamp(SetChannelIndex, GetLampValue);
        }