public Robot(string comport) { _interface = new RobotInterface(comport); _state = currentState.Stop; _lastUpdate = DateTime.Now; }
public Robot(IRobotInterface rint) { _interface = rint; _state = currentState.Stop; _lastUpdate = DateTime.Now; }