DLT645HelperAnalysisBytesAddress 方法 |
从用户输入的地址信息中解析出真实的地址及数据标识
命名空间:
HslCommunication.Instrument.DLT.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<string, byte[]> AnalysisBytesAddress(
DLT645Type type,
string address,
string defaultStation,
ushort length = 1
)
Public Shared Function AnalysisBytesAddress (
type As DLT645Type,
address As String,
defaultStation As String,
Optional length As UShort = 1
) As OperateResult(Of String, Byte())
public:
static OperateResult<String^, array<unsigned char>^>^ AnalysisBytesAddress(
DLT645Type type,
String^ address,
String^ defaultStation,
unsigned short length = 1
)
static member AnalysisBytesAddress :
type : DLT645Type *
address : string *
defaultStation : string *
?length : uint16
(* Defaults:
let _length = defaultArg length 1
*)
-> OperateResult<string, byte[]>
参数
- type
- 类型:HslCommunication.Instrument.DLT.HelperDLT645Type
DLT的类型 - address
- 类型:SystemString
用户输入的地址信息 - defaultStation
- 类型:SystemString
默认的地址域 - length (Optional)
- 类型:SystemUInt16
数据长度信息
返回值
类型:
OperateResultString,
Byte解析结果信息
参见