从数据内容创建报警信息
命名空间:
HslCommunication.Robot.FANUC
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static FanucAlarm PraseFrom(
IByteTransform byteTransform,
byte[] content,
int index,
Encoding encoding
)
Public Shared Function PraseFrom (
byteTransform As IByteTransform,
content As Byte(),
index As Integer,
encoding As Encoding
) As FanucAlarm
public:
static FanucAlarm^ PraseFrom(
IByteTransform^ byteTransform,
array<unsigned char>^ content,
int index,
Encoding^ encoding
)
static member PraseFrom :
byteTransform : IByteTransform *
content : byte[] *
index : int *
encoding : Encoding -> FanucAlarm
参数
- byteTransform
- 类型:HslCommunication.CoreIByteTransform
字节变换 - content
- 类型:SystemByte
原始的字节内容 - index
- 类型:SystemInt32
索引 - encoding
- 类型:System.TextEncoding
编码
返回值
类型:
FanucAlarm报警信息
参见