Esempio n. 1
0
 public C_State()
 {
     prog = e_stateProg.started;
     mot  = e_stateMotor.initializing;
     Spi  = e_stateSPI.disconnected;
     //cam = e_stateWebCam.initializing;
     baslerCam = e_stateBaslerCam.initializing;
 }
Esempio n. 2
0
 public static void SET_state(object _state)
 {
     if (_state is e_stateBaslerCam)
     {
         baslerCam = (e_stateBaslerCam)_state;
     }
     else if (_state is e_stateMotor)
     {
         mot = (e_stateMotor)_state;
     }
     else if (_state is e_stateProg)
     {
         prog = (e_stateProg)_state;
     }
     else if (_state is e_stateSPI)
     {
         Spi = (e_stateSPI)_state;
     }
 }
Esempio n. 3
0
 public static bool FURTHER(e_stateBaslerCam _comparedState)
 {
     return(FURTHER((object)_comparedState, (object)baslerCam));
 }