DeviceStatus.cs 878 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace UAS_PLCDataReader.Entity
  6. {
  7. class DeviceStatus
  8. {
  9. private static string running;
  10. private static string stopped;
  11. private static string noanswer;
  12. private static string disconnect;
  13. public static string Running
  14. {
  15. get
  16. {
  17. return "running";
  18. }
  19. }
  20. public static string Stopped
  21. {
  22. get
  23. {
  24. return "stopped";
  25. }
  26. }
  27. public static string Noanswer
  28. {
  29. get
  30. {
  31. return "noanswer";
  32. }
  33. }
  34. public static string Disconnect
  35. {
  36. get
  37. {
  38. return "disconnect";
  39. }
  40. }
  41. }
  42. }