public static void Method_6() { Thread.Sleep(2 * HourMs); while((method_state_6) && (!phcontroller.Read())) //phcontroller is just a relay that closes when needed { ph.Write(false); Thread.Sleep(2000); ph.Write(true); Thread.Sleep(5 * MinuteMs); } }
int i = 0; bool flag = true; while (i < 4 && flag) { flag = inputSource; } if (flag) do X
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)