EmptyResolver.cs 775 B

123456789101112131415161718192021222324252627
  1. using Wit.SDK.Modular.Sensor.Device;
  2. using Wit.SDK.Modular.Sensor.Modular.ProtocolResolver.Interface;
  3. namespace Wit.SDK.Modular.Sensor.Modular.ProtocolResolver.Roles
  4. {
  5. public class EmptyResolver : IProtocolResolver
  6. {
  7. /// <summary>
  8. ///
  9. /// </summary>
  10. /// <param name="data"></param>
  11. /// <param name="deviceModel"></param>
  12. public override void OnReceiveData(DeviceModel deviceModel, byte[] data)
  13. {
  14. }
  15. /// <summary>
  16. /// 发送数据
  17. /// </summary>
  18. /// <param name="sendData"></param>
  19. /// <param name="deviceModel"></param>
  20. public override void OnReadData(DeviceModel deviceModel, byte[] sendData, int delay = -1)
  21. {
  22. }
  23. }
  24. }