private void G2T3ThreadFunc() { WriteToConsole("Ground 2 Task 3 begins to execute !"); while (true) { Tdps.T3G2(); if (Tdps.IsT3G2End()) { break; } } WriteToConsole("Ground 2 Task 3 finished !"); }
public void G1T1ThreadFunc() { WriteToConsole("Ground 1 Task 1 begins to execute !"); while (true) { SampleThreadFunc(); Tdps.T1G1(); TcpIpFileManager.GetInstance().IsFileFresh = false; while (StateManager.ArduinoState.IsBusy) { Thread.Sleep(100); } if (Tdps.IsT1G1End()) { break; } } WriteToConsole("Ground 1 Task 1 finished !"); }