Beispiel #1
0
 private void SetSensor(ISensorDTO sensor, IMichaelProtocol protocol)
 {
     if (_sensorDTO != null)
     {
         protocol.SensorValues = _sensorDTO.SensorValues;
     }
 }
Beispiel #2
0
 public MichaelProtocolBuilder AddSensorDTO(ISensorDTO sensorDTO)
 {
     _sensorDTO = sensorDTO;
     return(this);
 }
Beispiel #3
0
 public void Clear()
 {
     _joystickDTO = null;
     _sensorDTO   = null;
 }