C D E
C
- cn.foxtech.device.protocol.v1.demo - 程序包 cn.foxtech.device.protocol.v1.demo
-
D
- decodePack(byte[]) - 类 中的静态方法cn.foxtech.device.protocol.v1.demo.DemoProtocolFrame
-
报文解包
- decodePackAlarm(String, Map<String, Object>) - 类 中的静态方法cn.foxtech.device.protocol.v1.demo.DemoProtocolAlarmEvent
-
FoxEdgeEvent注解,指明这是一个设备主动上报,所有它只有解码函数
FoxEdgeEventType注解指明这是一种告警(上报后,设备自己不保留)
主动上报的告警,因为不是问答式参数,所有没有编码函数
- decodePackSensor(String, Map<String, Object>) - 类 中的静态方法cn.foxtech.device.protocol.v1.demo.DemoProtocolGetSensor
-
查询传感器状态
- decodePackVersion(String, Map<String, Object>) - 类 中的静态方法cn.foxtech.device.protocol.v1.demo.DemoProtocolGetVersion
-
- DemoEntity - cn.foxtech.device.protocol.v1.demo中的类
-
- DemoEntity() - 类 的构造器cn.foxtech.device.protocol.v1.demo.DemoEntity
-
- DemoProtocolAlarmEvent - cn.foxtech.device.protocol.v1.demo中的类
-
告警通知的范例
- DemoProtocolAlarmEvent() - 类 的构造器cn.foxtech.device.protocol.v1.demo.DemoProtocolAlarmEvent
-
- DemoProtocolBrocast - cn.foxtech.device.protocol.v1.demo中的类
-
- DemoProtocolBrocast() - 类 的构造器cn.foxtech.device.protocol.v1.demo.DemoProtocolBrocast
-
- DemoProtocolFrame - cn.foxtech.device.protocol.v1.demo中的类
-
解码器范例:
1、类名称要加上FoxEdgeType注解,告知扫描器,在这边读取设备类型名
2、准备导出的函数,要加上FoxEdgeMethod注解,告知扫描器,在这边读取操作方法
3、FoxEdgeMethod编码解码函数,比如严格参照范例的格式
- DemoProtocolFrame() - 类 的构造器cn.foxtech.device.protocol.v1.demo.DemoProtocolFrame
-
- DemoProtocolGetSensor - cn.foxtech.device.protocol.v1.demo中的类
-
- DemoProtocolGetSensor() - 类 的构造器cn.foxtech.device.protocol.v1.demo.DemoProtocolGetSensor
-
- DemoProtocolGetVersion - cn.foxtech.device.protocol.v1.demo中的类
-
- DemoProtocolGetVersion() - 类 的构造器cn.foxtech.device.protocol.v1.demo.DemoProtocolGetVersion
-
E
- encodePack(byte, byte[]) - 类 中的静态方法cn.foxtech.device.protocol.v1.demo.DemoProtocolFrame
-
报文打包
- encodePack(byte) - 类 中的静态方法cn.foxtech.device.protocol.v1.demo.DemoProtocolFrame
-
报文打包
- encodePackSensor(Map<String, Object>) - 类 中的静态方法cn.foxtech.device.protocol.v1.demo.DemoProtocolBrocast
-
查询传感器状态
- encodePackSensor(Map<String, Object>) - 类 中的静态方法cn.foxtech.device.protocol.v1.demo.DemoProtocolGetSensor
-
查询传感器状态
- encodePackVersion(Map<String, Object>) - 类 中的静态方法cn.foxtech.device.protocol.v1.demo.DemoProtocolGetVersion
-
C D E
Copyright © 2025. All rights reserved.