Base_EquPlc.cs 689 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using WCS.PLC.Model.Equipment;
  5. namespace WCS.PLC
  6. {
  7. public class Base_EquPlc
  8. {
  9. protected readonly string srm = "srm";
  10. public string PlcName
  11. {
  12. get
  13. {
  14. if (WCS_PLCItem == null)
  15. return string.Empty;
  16. else
  17. return WCS_PLCItem.PLC_NAME;
  18. }
  19. }
  20. public WCS_PLC WCS_PLCItem { get; set; }
  21. #region Constructor
  22. public Base_EquPlc()
  23. {
  24. }
  25. #endregion;
  26. #region 方法
  27. public virtual void Run() { }
  28. #endregion;
  29. }
  30. }