终端一体化运控平台
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

PolymerBatching.cs 2.0 KiB

1 anno fa
2 anni fa
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using BPA.Helper;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Data;
  5. using System.Linq;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace BPASmartClient.MorkMOC
  9. {
  10. public class PolymerBatching
  11. {
  12. public List<PLCData> plcData = new List<PLCData>();
  13. public PolymerBatching()
  14. {
  15. plcData.Add(new PLCData { Positon = 1,WeightVar = "VW200", StartUpVar = "M4.0" });
  16. plcData.Add(new PLCData { Positon = 2, WeightVar = "VW202", StartUpVar = "M4.1" });
  17. plcData.Add(new PLCData { Positon = 3, WeightVar = "VW204", StartUpVar = "M4.2" });
  18. plcData.Add(new PLCData { Positon = 4, WeightVar = "VW206", StartUpVar = "M4.3" });
  19. plcData.Add(new PLCData { Positon = 5, WeightVar = "VW208", StartUpVar = "M4.4" });
  20. plcData.Add(new PLCData { Positon = 6, WeightVar = "VW210", StartUpVar = "M4.5" });
  21. plcData.Add(new PLCData { Positon = 7, WeightVar = "VW212", StartUpVar = "M4.6" });
  22. plcData.Add(new PLCData { Positon = 8, WeightVar = "VW214", StartUpVar = "M4.7" });
  23. plcData.Add(new PLCData { Positon = 9, WeightVar = "VW216", StartUpVar = "M5.0" });
  24. plcData.Add(new PLCData { Positon = 10, WeightVar = "VW218", StartUpVar = "M5.1" });
  25. plcData.Add(new PLCData { Positon = 11, WeightVar = "VW220", StartUpVar = "M5.2" });
  26. plcData.Add(new PLCData { Positon = 12, WeightVar = "VW222", StartUpVar = "M5.3" });
  27. plcData.Add(new PLCData { Positon = 13, WeightVar = "VW224", StartUpVar = "M5.4" });
  28. plcData.Add(new PLCData { Positon = 14, WeightVar = "VW226", StartUpVar = "M5.5" });
  29. }
  30. }
  31. public class PLCData
  32. {
  33. /// <summary>
  34. /// 通道位置
  35. /// </summary>
  36. public int Positon;
  37. /// <summary>
  38. /// PLC通道重量点位
  39. /// </summary>
  40. public string WeightVar;
  41. /// <summary>
  42. /// PLC通道启动点位
  43. /// </summary>
  44. public string StartUpVar;
  45. }
  46. }