初始化上传
This commit is contained in:
29
常用工具集/Utility/Network/S7netplus/ORM/S7PLCAttribute.cs
Normal file
29
常用工具集/Utility/Network/S7netplus/ORM/S7PLCAttribute.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MES.Utility.Network.S7netplus.ORM;
|
||||
|
||||
namespace MES.Utility.Network.S7netplus.ORM
|
||||
{
|
||||
public class S7PLCAttribute : Attribute
|
||||
{
|
||||
public string Address { get; set; }
|
||||
public int StrLength { get; set; }
|
||||
public S7NodeType Type { get; set; }
|
||||
public S7PLCAttribute() { }
|
||||
|
||||
public S7PLCAttribute(string address, S7NodeType type)
|
||||
{
|
||||
this.Address = address;
|
||||
this.Type = type;
|
||||
}
|
||||
public S7PLCAttribute(string address, int strLength, S7NodeType type)
|
||||
{
|
||||
this.Address = address;
|
||||
this.StrLength = strLength;
|
||||
this.Type = type;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user