Example #1
0
 private void btnSCR_OnOff_Click(object sender, EventArgs e)
 {
     if (sender == btnSCR_On)
     {
         plc.SetSCROn();
     }
     if (sender == btnSCR_Off)
     {
         plc.SetSCROff();
     }
 }