public bool controlHomeMotion() { if (!StartedService) { return(false); } //Send message MechanicalCommand msg = new MechanicalCommand(MessageType.MECHANICAL_HOME_MOTOR); this.mMechanicalService.processInnerMessage(msg); return(true); }
public bool disableMotion() { if (!StartedService) { return(false); } //Send message MechanicalCommand msg = new MechanicalCommand(MessageType.MECHANICAL_DISABLE_MOTOR); this.mMechanicalService.processInnerMessage(msg); this.EnabledMotion = false; return(true); }