TMModuleDevice.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace JetMainframe.TMs
  7. {
  8. public partial class TMModule
  9. {
  10. public class Devices
  11. {
  12. }
  13. public void InitDevice()
  14. {
  15. //RobotDevice = DEVICE.GetDevice<StripEfemRobot>($"{ModuleName.TMRobot}.{ModuleName.TMRobot}");
  16. //SignalTowerDevice = DEVICE.GetDevice<StripSignalTower>($"{ModuleName.System}.{ModuleName.SignalTower}");
  17. //LP1Device = DEVICE.GetDevice<StripEfemLoadPort>($"{ModuleName.LP1}.{ModuleName.LP1}");
  18. //LP2Device = DEVICE.GetDevice<StripEfemLoadPort>($"{ModuleName.LP2}.{ModuleName.LP2}");
  19. //LP3Device = DEVICE.GetDevice<StripEfemLoadPort>($"{ModuleName.LP3}.{ModuleName.LP3}");
  20. //LP4Device = DEVICE.GetDevice<StripEfemLoadPort>($"{ModuleName.LP4}.{ModuleName.LP4}");
  21. //EfemDevice = DEVICE.GetDevice<StripEfem>($"{ModuleName.System}.{ModuleName.EFEM}");
  22. //EfemDevice.Connection.OnConnected += Connection_OnConnected;
  23. //EfemDevice.Connection.OnDisconnected += Connection_OnDisconnected;
  24. //EfemDevice.Connection.OnError += Connection_OnError;
  25. //EfemDevice.OnDeviceAlarmStateChanged += EfemDevice_OnDeviceAlarmStateChanged;
  26. }
  27. }
  28. }