CallCarToDB.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Pms.UserEvent.Model
  7. {
  8. public class CallCarToDB
  9. {
  10. public string CallName { get; set; }
  11. public string CallPlcDB { get; set; }
  12. public string GetFetalToolDB { get; set; }
  13. public byte writeAddress { get; set; }
  14. public int type { get; set; }
  15. public int IsReadData { get; set; }
  16. }
  17. public class DockIPSetting
  18. {
  19. private int port;
  20. public int Port
  21. {
  22. get { return port; }
  23. set { port = value; }
  24. }
  25. private string _PLCIPAddress = "127.0.0.1";
  26. public string PLCIPAddress
  27. {
  28. get { return _PLCIPAddress; }
  29. set { _PLCIPAddress = value; }
  30. }
  31. /// <summary>
  32. /// 机架号
  33. /// </summary>
  34. private int _PLCRack;
  35. public int PLCRack
  36. {
  37. get { return _PLCRack; }
  38. set { _PLCRack = value; }
  39. }
  40. private int _Slot;
  41. public int Slot
  42. {
  43. get { return _Slot; }
  44. set { _Slot = value; }
  45. }
  46. }
  47. }