| GeHelperBuildReadCommand 方法 (Int64, String, UInt16, Boolean) | 
 
            构建一个读取数据的报文命令,需要指定消息号,地址,长度,是否位读取,返回完整的报文信息。
            To construct a message command to read data, you need to specify the message number, 
            address, length, whether to read in bits, and return the complete message information.
            
 
        命名空间: 
     HslCommunication.Profinet.GE
        程序集:
     HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
 语法
语法public static OperateResult<byte[]> BuildReadCommand(
	long id,
	string address,
	ushort length,
	bool isBit
)
Public Shared Function BuildReadCommand ( 
	id As Long,
	address As String,
	length As UShort,
	isBit As Boolean
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildReadCommand(
	long long id, 
	String^ address, 
	unsigned short length, 
	bool isBit
)
static member BuildReadCommand : 
        id : int64 * 
        address : string * 
        length : uint16 * 
        isBit : bool -> OperateResult<byte[]> 
参数
- id
- 类型:SystemInt64
 消息号
- address
- 类型:SystemString
 地址
- length
- 类型:SystemUInt16
 读取的长度
- isBit
- 类型:SystemBoolean
 [缺少 "M:HslCommunication.Profinet.GE.GeHelper.BuildReadCommand(System.Int64,System.String,System.UInt16,System.Boolean)" 的 <param name="isBit"/> 文档] 
返回值
类型:
OperateResultByte包含是否成功的报文对象
 参见
参见