예제 #1
0
 private void btnPumpOnOff_Click(object sender, EventArgs e)
 {
     if (sender == btnPumpON)
     {
         plc.SetPumpON();
     }
     if (sender == btnPumpOFF)
     {
         plc.SetPumpOFF();
     }
 }