终端一体化运控平台
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

31 satır
949 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace FryPot_DosingSystem.Attributes
  7. {
  8. internal class VariableAttribute:Attribute
  9. {
  10. public string VarName { get; set; }
  11. public string Notes { get; set; }
  12. public string PLCAddress { get; set; }
  13. public string ModbusTcpAddress { get; set; }
  14. /// <summary>
  15. ///
  16. /// </summary>
  17. /// <param name="name">变量名</param>
  18. /// <param name="notes">描述</param>
  19. /// <param name="plcaddress">plc地址</param>
  20. /// <param name="modbustcpaddress">modbustcp地址</param>
  21. public VariableAttribute(string name,string notes,string plcaddress,string modbustcpaddress)
  22. {
  23. VarName = name;
  24. Notes = notes;
  25. PLCAddress = plcaddress;
  26. ModbusTcpAddress = modbustcpaddress;
  27. }
  28. }
  29. }