void Red(string ip) { //lock(redLock) //{ CS203.SetGPO1(ip, true); Thread.Sleep(8000); CS203.SetGPO1(ip, false); CS203.SetGPO1(ip, false); Thread.Sleep(100); CS203.SetGPO1(ip, false); //} }
void Green(string ip, bool on) { CS203.SetGPO0(ip, on); }