public OperationalSuperState(IProsthesisContext context) : base(context) { mMotorControllerArduino = new ArduinoCommunicationsLibrary.MotorControllerArduino(context.Logger); mMotorControllerArduino.TelemetryUpdate += UpdateMotorTelemetry; mMotorControllerArduino.Disconnected += OnArduinoPrematureDisconnect; mSensorNodeArduino = new ArduinoCommunicationsLibrary.SensorNodeArduino(context.Logger); mSensorNodeArduino.TelemetryUpdate += UpdateSensorTelemetry; mSensorNodeArduino.Disconnected += OnArduinoPrematureDisconnect; }
public EmergencyShutdown(IProsthesisContext context) : base(context) { }
protected ProsthesisStateBase(IProsthesisContext context) { mContext = context; }
public Shutdown(IProsthesisContext context) : base(context) { }
public WaitForBootup(IProsthesisContext context, ArduinoCommunicationsLibrary.ArduinoCommsBase[] arduinos) : base(context) { mArduinos = arduinos; }
public WaitForConnection(IProsthesisContext context) : base(context) { }
public AwaitingAuth(IProsthesisContext context) : base(context) { }
public ProsthesisActive(IProsthesisContext context, ArduinoCommunicationsLibrary.ArduinoCommsBase[] arduinos) : base(context) { }
public Initialize(IProsthesisContext context) : base(context) { }
public ProsthesisIdle(IProsthesisContext context, ArduinoCommunicationsLibrary.ArduinoCommsBase[] arduinos) : base(context) { mArduinos = arduinos; }
public RunSelfTest(IProsthesisContext context, ArduinoCommunicationsLibrary.ArduinoCommsBase[] arduinos) : base(context) { mArduinos = arduinos; }