GroupHandler.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. using Edge.Core.IndustryStandardInterface.Pump;
  2. using Edge.Core.Parser;
  3. using Edge.Core.Processor;
  4. using Edge.Core.Processor.Communicator;
  5. using Edge.Core.Processor.Dispatcher.Attributes;
  6. using System;
  7. using System.Collections;
  8. using System.Collections.Generic;
  9. using System.Threading.Tasks;
  10. namespace TATSUNO_Pump
  11. {
  12. [MetaPartsRequired(typeof(HalfDuplexActivePollingDeviceProcessor<,>))]
  13. [MetaPartsRequired(typeof(ComPortCommunicator<>))]
  14. [MetaPartsRequired(typeof(TcpClientCommunicator<>))]
  15. [MetaPartsDescriptor(
  16. "lang-zh-cn:TATSUNO 加油机lang-en-us:TATSUNO Pump",
  17. "lang-zh-cn:用于驱动 TATSUNO 协议的加油机, 原生支持RS485, 19200bps, parity check: even, databits: 8.lang-en-us:Used for driven TATSUNO Pump, 原生支持RS485, 19200bps, parity check: even, databits: 8.",
  18. new[] { "lang-zh-cn:加油机lang-en-us:Pump" })]
  19. public class GroupHandler : IEnumerable<IFdcPumpController>, IDeviceHandler<byte[], MessageBase>, IDisposable
  20. {
  21. public void Dispose()
  22. {
  23. throw new NotImplementedException();
  24. }
  25. public IEnumerator<IFdcPumpController> GetEnumerator()
  26. {
  27. throw new NotImplementedException();
  28. }
  29. public void Init(IContext<byte[], MessageBase> context)
  30. {
  31. throw new NotImplementedException();
  32. }
  33. public Task Process(IContext<byte[], MessageBase> context)
  34. {
  35. throw new NotImplementedException();
  36. }
  37. IEnumerator IEnumerable.GetEnumerator()
  38. {
  39. throw new NotImplementedException();
  40. }
  41. }
  42. }