public static void EcSmRequestStateAll(EC_SM req_state) { //if (Connected) //lock (comm_locker) ec_sm_request_state_extern(0, req_state); }
public static void EcSmRequestState(PCS device, EC_SM req_state) { //lock (comm_locker) device.EcStateMachine = ec_sm_request_state_extern(device.SlaveNumber, req_state); }
private static extern EC_SM ec_sm_request_state_extern(int slave_number, EC_SM req_state);