Exemple #1
0
 //reset all Led's to ON
 internal void OnAllLedControl()
 {
     WebClientState.Client(1);
     WebClientState.Client(3);
     WebClientState.Client(5);
     WebClientState.Client(7);
     WebClientState.Client(9);
     WebClientState.Client(11);
 }
Exemple #2
0
 //reset all Led's to OFF
 public void resetLedControl()
 {
     WebClientState.Client(2);
     WebClientState.Client(4);
     WebClientState.Client(6);
     WebClientState.Client(8);
     WebClientState.Client(10);
     WebClientState.Client(12);
 }
Exemple #3
0
 //combo method to control each Led, check all Led status, check connection status, Led API for View
 public void comboLedControlToggle()
 {
     //updates client view TxCode
     txData = WebClientState.TxData;
     //send request (code 55) to I/O module for Led status update
     checkLedStateSinglePass(WebClientState.Client(55));
     //updates client RxData in view
     rxData = WebClientState.RxData;
     //check connection status everytime we connect to a remote server
     moduleStatus();
 }
Exemple #4
0
 //combo method to control each Led, check connection status
 public void LedControl(int n)
 {
     //send ON/OFF control code to server
     WebClientState.Client(n);
     //updates client view TxCode
     txData = WebClientState.TxData;
     //updates client view RxData
     rxData = WebClientState.RxData;
     //check connection status everytime we connect to a remote server
     moduleStatus();
 }
Exemple #5
0
 //combo method to control each Led, check all Led status, check connection status, Led API for View
 public void comboLedControl(int n)
 {
     //send ON/OFF control code to server
     WebClientState.Client(n);
     //updates client view TxCode
     txData = WebClientState.TxData;
     //send request (code 55) to I/O module for Led status update
     checkLedStateSinglePass(WebClientState.Client(55));
     //used to maintain the LedAPI in View
     ControlAPI = ControlAPI;
     //updates client RxData in view
     rxData = WebClientState.RxData;
     //check connection status everytime we connect to a remote server
     moduleStatus();
 }