cn.foxtech.device.protocol.v1.zktl.air5in1.entity.ZktlLoRaWanDataEntity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fox-edge-server-protocol-zktl-air5in1 Show documentation
Show all versions of fox-edge-server-protocol-zktl-air5in1 Show documentation
fox-edge-server-protocol-zktl-air5in1
package cn.foxtech.device.protocol.v1.zktl.air5in1.entity;
import lombok.Getter;
import lombok.Setter;
@Getter
@Setter
public class ZktlLoRaWanDataEntity extends ZktlDataEntity {
/**
* 防拆状态
*/
private int tamper = 0;
/**
* 外部触发状态
*/
private int externalTrigger = 0;
/**
* 外部开关 2 状态
*/
private int externalSwitch2 = 0;
/**
* 外部开关 1 状态
*/
private int externalSwitch1 = 0;
/**
* 包类型
*/
private int packType = 0;
/**
* 电池电压
*/
private double batteryVoltage = 0;
/**
* 采集数据
*/
private double collectData = 0;
/**
* 信号强度
*/
private int signal = 0;
/**
* 包序号
*/
private int packSn = 0;
/**
* 预留
*/
private int reserve = 0;
public String getServiceKey() {
return "air5in1=" + super.getCommunTypeName() + ":" + super.getDeviceTypeName();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy