MincsHeaterBand.cs 856 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using Aitex.Core.RT.DataCenter;
  2. using Aitex.Core.RT.Device;
  3. using DocumentFormat.OpenXml.Wordprocessing;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Reflection;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. namespace FurnaceRT.Devices
  11. {
  12. public class MincsHeaterBand : BaseDevice, IDevice
  13. {
  14. public string Module { get; set; }
  15. public string Name { get; set; }
  16. public float TempFeedback { get; set; }
  17. public bool Initialize()
  18. {
  19. DATA.Subscribe($"HeaterBand.{Name}.Feedback", () => TempFeedback);
  20. DATA.Subscribe($"HeaterBand.{Name}.Power", () => 0);
  21. return true;
  22. }
  23. public void Monitor()
  24. {
  25. }
  26. public void Reset()
  27. {
  28. }
  29. public void Terminate()
  30. {
  31. }
  32. }
  33. }