HslDeviceAddressAttribute 构造函数 (String, Int32, Type) |
实例化一个地址特性,指定地址信息和数据长度,通常应用于数组的批量读取,并指定设备的类型,可用于不同种类的PLC
Instantiate an address feature, specify address information and data length, usually used in batch reading of arrays,
and specify the type of equipment, which can be used for different types of PLCs
命名空间:
HslCommunication.Reflection
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public HslDeviceAddressAttribute(
string address,
int length,
Type deviceType
)
Public Sub New (
address As String,
length As Integer,
deviceType As Type
)
public:
HslDeviceAddressAttribute(
String^ address,
int length,
Type^ deviceType
)
new :
address : string *
length : int *
deviceType : Type -> HslDeviceAddressAttribute
参数
- address
- 类型:SystemString
真实的地址信息 - length
- 类型:SystemInt32
读取的数据长度 - deviceType
- 类型:SystemType
设备类型
参见