| 限定符和类型 | 方法和说明 |
|---|---|
OperateResultExTwo<Double,Double> |
FanucSeries0i.ReadSpindleSpeedAndFeedRate()
主轴转速及进给倍率
Spindle speed and feedrate override |
OperateResultExTwo<String,Integer> |
FanucSeries0i.ReadSystemProgramCurrent()
读取程序名及程序号
Read program name and program number |
| 限定符和类型 | 方法和说明 |
|---|---|
static OperateResultExTwo<NetHandle,byte[]> |
HslProtocol.ExtractHslData(byte[] content)
从接收的数据内容提取出用户的暗号和数据内容
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected OperateResultExTwo<byte[],byte[]> |
NetworkBase.ReceiveAndCheckBytes(Socket socket,
int timeout)
[自校验] 接收一条完整的同步数据,包含头子节和内容字节,基础的数据,如果结果异常,则结束通讯
[Self-checking] Receive a complete synchronization data, including header subsection and content bytes, basic data, if the result is abnormal, the communication ends |
protected OperateResultExTwo<Integer,byte[]> |
NetworkBase.ReceiveBytesContentFromSocket(Socket socket)
[自校验] 从网络中接收一串字节数据,如果结果异常,则结束通讯
[Self-checking] Receive a string of byte data from the network. |
protected OperateResultExTwo<Integer,byte[]> |
NetworkBase.ReceiveBytesContentFromSocket(Socket socket,
int timeout)
[自校验] 从网络中接收一串字节数据,如果结果异常,则结束通讯
[Self-checking] Receive a string of byte data from the network. |
protected OperateResultExTwo<WebSocketMessage,Boolean> |
NetworkBase.ReceiveFrameWebSocketPayload(Socket socket)
从socket接收一条
WebSocketMessage 片段数据,返回 WebSocketMessage 的数据信息和是否最后一条数据内容Receive a piece of WebSocketMessage fragment data from the socket, return the data information of WebSocketMessage and whether the last data content |
protected OperateResultExTwo<Byte,byte[]> |
NetworkBase.ReceiveMqttMessage(Socket socket,
int timeOut,
ActionOperateExTwo<Long,Long> reportProgress)
接收一条完成的MQTT协议的报文信息,包含控制码和负载数据
Receive a message of a completed MQTT protocol, including control code and payload data |
protected OperateResultExTwo<Integer,String[]> |
NetworkBase.ReceiveStringArrayContentFromSocket(Socket socket)
[自校验] 从网络中接收一个字符串数组,如果结果异常,则结束通讯
[Self-check] Receive an array of strings from the network. |
protected OperateResultExTwo<Integer,String[]> |
NetworkBase.ReceiveStringArrayContentFromSocket(Socket socket,
int timeout)
[自校验] 从网络中接收一个字符串数组,如果结果异常,则结束通讯
[Self-check] Receive an array of strings from the network. |
protected OperateResultExTwo<Integer,String> |
NetworkBase.ReceiveStringContentFromSocket(Socket socket)
[自校验] 从网络中接收一个字符串数据,如果结果异常,则结束通讯
[Self-checking] Receive a string of data from the network. |
protected OperateResultExTwo<Integer,String> |
NetworkBase.ReceiveStringContentFromSocket(Socket socket,
int timeout)
[自校验] 从网络中接收一个字符串数据,如果结果异常,则结束通讯
[Self-checking] Receive a string of data from the network. |
| 限定符和类型 | 方法和说明 |
|---|---|
OperateResultExTwo<T1,T2> |
OperateResultExTwo.Check(FunctionOperateExTwo<T1,T2,Boolean> check,
String message)
返回一个检查结果对象,可以进行自定义的数据检查。
|
OperateResultExTwo<T1,T2> |
OperateResultExTwo.Check(FunctionOperateExTwo<T1,T2,OperateResult> check)
返回一个检查结果对象,可以进行自定义的数据检查。
|
<T1,T2> OperateResultExTwo<T1,T2> |
OperateResult.Convert(T1 content1,
T2 content2)
将当前的结果对象转换到指定泛型的结果类对象,如果当前结果为失败,则返回指定泛型的失败结果类对象
Convert the current result object to the result class object of the specified generic type, if the current result is a failure, then return the result class object of the specified generic type failure |
static <T1,T2> OperateResultExTwo<T1,T2> |
OperateResultExTwo.CreateFailedResult(OperateResult result)
创建一个失败的泛型类结果对象
|
static <T1,T2> OperateResultExTwo<T1,T2> |
OperateResultExTwo.CreateSuccessResult(T1 content1,
T2 content2)
创建一个成功的泛型类结果对象
|
static OperateResultExTwo<Integer,String> |
HslHelper.ExtractParameter(String address,
String paraName)
解析地址的附加参数方法,比如你的地址是s=100;D100,可以提取出"s"的值的同时,修改地址本身,如果"s"不存在的话,返回错误的消息内容
The method of parsing additional parameters of the address, for example, if your address is s=100;D100, you can extract the value of "s" and modify the address itself. |
static OperateResultExTwo<Integer,String> |
HslHelper.ExtractParameter(String address,
String paraName,
int defaultValue)
解析地址的附加参数方法,比如你的地址是s=100;D100,可以提取出"s"的值的同时,修改地址本身,如果"s"不存在的话,返回给定的默认值
The method of parsing additional parameters of the address, for example, if your address is s=100;D100, you can extract the value of "s" and modify the address itself. |
static OperateResultExTwo<Integer,String> |
HslHelper.ExtractStartIndex(String address)
解析地址的起始地址的方法,比如你的地址是 A[1] , 那么将会返回 1,地址修改为 A,如果不存在起始地址,那么就不修改地址,返回 -1
The method of parsing the starting address of the address, for example, if your address is A[1], then it will return 1, and the address will be changed to A. |
static OperateResultExTwo<IByteTransform,String> |
HslHelper.ExtractTransformParameter(String address,
IByteTransform defaultTransform)
解析地址的附加
DataFormat 参数方法,比如你的地址是format=ABCD;D100,可以提取出"format"的值的同时,修改地址本身,如果"format"不存在的话,返回默认的 IByteTransform 对象Parse the additional DataFormat parameter method of the address. |
static OperateResultExTwo<Integer,String> |
HslHelper.GetBitIndexInformation(String address)
获取地址信息的位索引,在地址最后一个小数点的位置
|
static OperateResultExTwo<int[],int[]> |
HslHelper.SplitReadLength(int address,
short length,
short segment)
切割当前的地址数据信息,根据读取的长度来分割成多次不同的读取内容,需要指定地址,总的读取长度,切割读取长度
Cut the current address data information, and divide it into multiple different read contents according to the read length. |
static <T> OperateResultExTwo<int[],ArrayList<T[]>> |
HslHelper.SplitWriteData(Class<T> tClass,
int address,
T[] value,
short segment,
int addressLength)
根据指定的长度切割数据数组,返回地址偏移量信息和数据分割信息
|
<T1,T2> OperateResultExTwo<T1,T2> |
OperateResult.ThenExTwo(FunctionOperate<OperateResultExTwo<T1,T2>> func)
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。
|
<TResult1,TResult2> |
OperateResultExFour.ThenExTwo(FunctionOperateExFour<T1,T2,T3,T4,OperateResultExTwo<TResult1,TResult2>> func)
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。
|
<TResult1,TResult2> |
OperateResultExOne.ThenExTwo(FunctionOperateExOne<T,OperateResultExTwo<TResult1,TResult2>> func)
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。
|
<TResult1,TResult2> |
OperateResultExThree.ThenExTwo(FunctionOperateExThree<T1,T2,T3,OperateResultExTwo<TResult1,TResult2>> func)
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。
|
<TResult1,TResult2> |
OperateResultExTwo.ThenExTwo(FunctionOperateExTwo<T1,T2,OperateResultExTwo<TResult1,TResult2>> func)
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。
|
| 限定符和类型 | 方法和说明 |
|---|---|
<T1,T2> OperateResultExTwo<T1,T2> |
OperateResult.ThenExTwo(FunctionOperate<OperateResultExTwo<T1,T2>> func)
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。
|
<TResult1,TResult2> |
OperateResultExFour.ThenExTwo(FunctionOperateExFour<T1,T2,T3,T4,OperateResultExTwo<TResult1,TResult2>> func)
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。
|
<TResult1,TResult2> |
OperateResultExOne.ThenExTwo(FunctionOperateExOne<T,OperateResultExTwo<TResult1,TResult2>> func)
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。
|
<TResult1,TResult2> |
OperateResultExThree.ThenExTwo(FunctionOperateExThree<T1,T2,T3,OperateResultExTwo<TResult1,TResult2>> func)
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。
|
<TResult1,TResult2> |
OperateResultExTwo.ThenExTwo(FunctionOperateExTwo<T1,T2,OperateResultExTwo<TResult1,TResult2>> func)
指定接下来要做的是内容,当前对象如果成功,就返回接下来的执行结果,如果失败,就返回当前对象本身。
|
| 限定符和类型 | 方法和说明 |
|---|---|
OperateResultExTwo<NetHandle,byte[]> |
NetSimplifyClient.ReadCustomerFromServer(NetHandle customer,
byte[] send)
客户端向服务器进行请求,请求字符串数据,并返回状态信息
|
OperateResultExTwo<NetHandle,String> |
NetSimplifyClient.ReadCustomerFromServer(NetHandle customer,
String send)
客户端向服务器进行请求,请求字符串数据,并返回状态信息
|
OperateResultExTwo<NetHandle,String[]> |
NetSimplifyClient.ReadCustomerFromServer(NetHandle customer,
String[] send)
客户端向服务器进行请求,请求字符串数据,并返回状态信息
|
| 限定符和类型 | 方法和说明 |
|---|---|
OperateResultExTwo<NetHandle,byte[]> |
NetUdpClient.ReadCustomerFromServer(NetHandle customer,
byte[] send)
客户端向服务器进行请求,请求字节数据,并返回状态信息
The client makes a request to the server, requests byte data, and returns status information |
OperateResultExTwo<NetHandle,String> |
NetUdpClient.ReadCustomerFromServer(NetHandle customer,
String send)
客户端向服务器进行请求,请求字符串数据,并返回状态信息
The client makes a request to the server, requests string data, and returns status information |
| 限定符和类型 | 方法和说明 |
|---|---|
static OperateResultExTwo<Integer,Integer> |
MqttHelper.ExtraIntFromBytes(byte[] buffer,
int index)
从MQTT的缓存信息里,提取长度信息
Extract length information from MQTT cache information |
static OperateResultExTwo<String,byte[]> |
MqttHelper.ExtraMqttReceiveData(byte mqttCode,
byte[] data)
解析从MQTT接受的客户端信息,解析成实际的Topic数据及Payload数据
Parse the client information received from MQTT and parse it into actual Topic data and Payload data |
static OperateResultExTwo<String,byte[]> |
MqttHelper.ExtraMqttReceiveData(byte mqttCode,
byte[] data,
AesCryptography aesCryptography)
解析从MQTT接受的客户端信息,解析成实际的Topic数据及Payload数据
Parse the client information received from MQTT and parse it into actual Topic data and Payload data |
static OperateResultExTwo<String,Integer> |
MqttHelper.ExtraMsgFromBytes(byte[] buffer,
int index)
从MQTT的缓存信息里,提取文本信息
Extract text information from MQTT cache information |
OperateResultExTwo<String,byte[]> |
MqttSyncClient.Read(String topic,
byte[] payload)
从MQTT服务器同步读取数据,将payload发送到服务器,然后从服务器返回相关的数据
Synchronously read data from the MQTT server, send the payload to the server, and then return relevant data from the server |
OperateResultExTwo<String,byte[]> |
MqttSyncClient.Read(String topic,
byte[] payload,
ActionOperateExTwo<Long,Long> sendProgress,
ActionOperateExTwo<String,String> handleProgress,
ActionOperateExTwo<Long,Long> receiveProgress)
从MQTT服务器同步读取数据,将payload发送到服务器,然后从服务器返回相关的数据,支持数据发送进度报告,服务器执行进度报告,接收数据进度报告操作
Synchronously read data from the MQTT server, send the payload to the server, and then return relevant data from the server, support data transmission progress report, the server executes the progress report, and receives the data progress report |
OperateResultExTwo<String,String> |
MqttSyncClient.ReadString(String topic,
String payload,
ActionOperateExTwo<Long,Long> sendProgress,
ActionOperateExTwo<String,String> handleProgress,
ActionOperateExTwo<Long,Long> receiveProgress)
从MQTT服务器同步读取数据,将指定编码的字符串payload发送到服务器,然后从服务器返回相关的数据,并转换为指定编码的字符串,支持数据发送进度报告,服务器执行进度报告,接收数据进度报告操作
Synchronously read data from the MQTT server, send the specified encoded string payload to the server, and then return the data from the server, and convert it to the specified encoded string, support data transmission progress report, the server executes the progress report, and receives the data progress report |
| 限定符和类型 | 方法和说明 |
|---|---|
static OperateResultExTwo<String,Integer> |
AllenBradleyHelper.AnalysisArrayIndex(String address)
分析地址数据信息里的位索引的信息,例如a[10] 返回 a 和 10 索引,如果没有指定索引,就默认为0
|
static OperateResultExTwo<String,Integer> |
AllenBradleySLCNet.AnalysisBitIndex(String address)
分析地址数据信息里的位索引的信息
|
OperateResultExTwo<Short,byte[]> |
AllenBradleyNet.ReadTag(String address,
int length)
从PLC里读取一个指定标签名的原始数据信息及其数据类型信息
Read the original data information of a specified tag name and its data type information from the PLC |
| 限定符和类型 | 方法和说明 |
|---|---|
static OperateResultExTwo<String,Integer> |
KeyenceNanoHelper.KvAnalysisAddress(String address)
解析数据地址成不同的Keyence地址类型
Parse data addresses into different keyence address types |
| 限定符和类型 | 方法和说明 |
|---|---|
static OperateResultExTwo<MelsecMcDataType,Integer> |
MelsecMcRNet.AnalysisAddress(String address)
分析三菱R系列的地址,并返回解析后的数据对象
|
static OperateResultExTwo<MelsecA1EDataType,Integer> |
MelsecHelper.McA1EAnalysisAddress(String address)
解析A1E协议数据地址
Parse A1E protocol data address |
| 限定符和类型 | 方法和说明 |
|---|---|
static OperateResultExTwo<ArrayList<byte[]>,Integer> |
MelsecFxSerialHelper.BuildReadBoolCommand(String address,
short length,
boolean isNewVersion)
根据类型地址长度确认需要读取的指令头
|
| 限定符和类型 | 方法和说明 |
|---|---|
static OperateResultExTwo<String,String> |
OmronHostLinkCModeOverTcp.AnalysisAddress(String address,
boolean isBit,
boolean isRead)
解析欧姆龙的数据地址,参考来源是Omron手册第188页,比如D100, E1.100
Analyze Omron's data address, the reference source is page 188 of the Omron manual, such as D100, E1.100 |
OperateResultExTwo<Short,byte[]> |
OmronConnectedCipNet.ReadTag(String address,
short length) |
| 限定符和类型 | 方法和说明 |
|---|---|
static OperateResultExTwo<String,Integer> |
PanasonicHelper.AnalysisAddress(String address)
解析数据地址,解析出地址类型,起始地址
Parse the data address, resolve the address type, start address
|
| 限定符和类型 | 方法和说明 |
|---|---|
static OperateResultExTwo<Byte,Integer> |
FanucHelper.AnalysisFanucAddress(String address,
boolean isBit)
从FANUC机器人地址进行解析数据信息,地址为D,I,Q,M,AI,AQ区
Parse data information from FANUC robot address, the address is D, I, Q, M, AI, AQ area |
Copyright © 2022. All rights reserved.