终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

33 lines
962 B

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace BPASmartClient.MorkMW.Model
  7. {
  8. public class VariblesAttribute : Attribute
  9. {
  10. public string VarName { get; set; }
  11. public string Notes { get; set; }
  12. public string RobotAddress { 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="robotaddress">机器人地址</param>
  20. /// <param name="modbustcpaddress">modbustcp地址</param>
  21. public VariblesAttribute(string name, string notes, string plcaddress, string modbustcpaddress)
  22. {
  23. VarName = name;
  24. Notes = notes;
  25. RobotAddress = plcaddress;
  26. ModbusTcpAddress = modbustcpaddress;
  27. }
  28. }
  29. }