DLTTransformTransDltFromStrings 方法 (DLT645Type, String, Byte, Boolean) |
将字符串数据,转变为实际的等待写入的数据信息
命名空间:
HslCommunication.Instrument.DLT
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> TransDltFromStrings(
DLT645Type type,
string content,
byte[] dataID,
bool reverse
)
Public Shared Function TransDltFromStrings (
type As DLT645Type,
content As String,
dataID As Byte(),
reverse As Boolean
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ TransDltFromStrings(
DLT645Type type,
String^ content,
array<unsigned char>^ dataID,
bool reverse
)
static member TransDltFromStrings :
type : DLT645Type *
content : string *
dataID : byte[] *
reverse : bool -> OperateResult<byte[]>
参数
- type
- 类型:HslCommunication.Instrument.DLT.HelperDLT645Type
DLT类型 - content
- 类型:SystemString
[缺少 "M:HslCommunication.Instrument.DLT.DLTTransform.TransDltFromStrings(HslCommunication.Instrument.DLT.Helper.DLT645Type,System.String,System.Byte[],System.Boolean)" 的 <param name="content"/> 文档]
- dataID
- 类型:SystemByte
数据ID信息 - reverse
- 类型:SystemBoolean
数据是否反转
返回值
类型:
OperateResultByte原始数据信息
参见