GeSRTPServerWrite 方法 (String, Boolean) |
按照位为单位,批量写入 bool 数组到指定的地址里,不支持 AI,AQ,R 地址类型,地址比如从1开始,例如 I1,Q1,M1,T1,SA1,SB1,SC1,S1,G1
In units of bits, write bool arrays in batches to the specified addresses. AI, AQ, and R address types are not supported. For example,
the address starts from 1, such as I1, Q1, M1, T1, SA1, SB1, SC1, S1, G1
命名空间:
HslCommunication.Profinet.GE
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public override OperateResult Write(
string address,
bool[] value
)
Public Overrides Function Write (
address As String,
value As Boolean()
) As OperateResult
public:
virtual OperateResult^ Write(
String^ address,
array<bool>^ value
) override
abstract Write :
address : string *
value : bool[] -> OperateResult
override Write :
address : string *
value : bool[] -> OperateResult
参数
- address
- 类型:SystemString
PLC的地址信息,例如 M1, G1 - value
- 类型:SystemBoolean
bool 数组
返回值
类型:
OperateResult是否写入成功的结果对象
实现
IReadWriteNetWrite(String, Boolean)参见