예제 #1
0
        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;
        }
예제 #2
0
        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;
        }
예제 #3
0
 public EmergencyShutdown(IProsthesisContext context)
     : base(context)
 {
 }
예제 #4
0
 protected ProsthesisStateBase(IProsthesisContext context)
 {
     mContext = context;
 }
예제 #5
0
 public Shutdown(IProsthesisContext context)
     : base(context)
 {
 }
예제 #6
0
 public WaitForBootup(IProsthesisContext context, ArduinoCommunicationsLibrary.ArduinoCommsBase[] arduinos) : base(context)
 {
     mArduinos = arduinos;
 }
예제 #7
0
 public WaitForConnection(IProsthesisContext context) : base(context)
 {
 }
예제 #8
0
 public AwaitingAuth(IProsthesisContext context) : base(context)
 {
 }
예제 #9
0
 public EmergencyShutdown(IProsthesisContext context) : base(context)
 {
 }
예제 #10
0
 public WaitForBootup(IProsthesisContext context, ArduinoCommunicationsLibrary.ArduinoCommsBase[] arduinos)
     : base(context)
 {
     mArduinos = arduinos;
 }
예제 #11
0
 public WaitForConnection(IProsthesisContext context)
     : base(context)
 {
 }
예제 #12
0
 public ProsthesisActive(IProsthesisContext context, ArduinoCommunicationsLibrary.ArduinoCommsBase[] arduinos)
     : base(context)
 {
 }
예제 #13
0
 public ProsthesisActive(IProsthesisContext context, ArduinoCommunicationsLibrary.ArduinoCommsBase[] arduinos) : base(context)
 {
 }
예제 #14
0
 public Initialize(IProsthesisContext context) : base(context)
 {
 }
예제 #15
0
 protected ProsthesisStateBase(IProsthesisContext context)
 {
     mContext = context;
 }
예제 #16
0
 public Shutdown(IProsthesisContext context) : base(context)
 {
 }
예제 #17
0
 public ProsthesisIdle(IProsthesisContext context, ArduinoCommunicationsLibrary.ArduinoCommsBase[] arduinos) : base(context)
 {
     mArduinos = arduinos;
 }
예제 #18
0
 public Initialize(IProsthesisContext context)
     : base(context)
 {
 }
예제 #19
0
 public RunSelfTest(IProsthesisContext context, ArduinoCommunicationsLibrary.ArduinoCommsBase[] arduinos)
     : base(context)
 {
     mArduinos = arduinos;
 }
예제 #20
0
 public AwaitingAuth(IProsthesisContext context)
     : base(context)
 {
 }