|
1234567891011121314151617181920212223242526272829303132 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace BPASmartClient.MorkMW.Model
- {
- public class VariblesAttribute : Attribute
- {
-
- public string VarName { get; set; }
- public string Notes { get; set; }
- public string RobotAddress { get; set; }
- public string ModbusTcpAddress { get; set; }
- /// <summary>
- ///
- /// </summary>
- /// <param name="name">变量名</param>
- /// <param name="notes">描述</param>
- /// <param name="robotaddress">机器人地址</param>
- /// <param name="modbustcpaddress">modbustcp地址</param>
- public VariblesAttribute(string name, string notes, string plcaddress, string modbustcpaddress)
- {
- VarName = name;
- Notes = notes;
- RobotAddress = plcaddress;
- ModbusTcpAddress = modbustcpaddress;
- }
-
- }
- }
|