Commit 5cd8a518 by zzrdark

1.mqttBean

parent 3694c093
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
/**
* @ClassName BaseMqttBean
* @Author zzrdark
* @Date 2020-04-16 21:01
* @Description TODO
**/
@Data
public class BaseMqttBean {
String command;
private String command;
String serialNum;
private String serialNum;
String imei;
private String imei;
}
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
import java.util.Date;
/**
* @ClassName CleanLogBean
* @Author zzrdark
* @Date 2020-04-20 17:37
* @Description B2协议
**/
@Data
public class CleanLogBean extends BaseMqttBean {
private Date time;
}
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
import java.util.Date;
/**
* @ClassName DeviceBehavior
* @Author zzrdark
* @Date 2020-04-20 16:56
* @Description A3协议
**/
@Data
public class DeviceBehaviorBean extends BaseMqttBean {
private String activeStatus;
private Date time;
private Date activeTime;
private String operation;
}
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
import java.util.Date;
/**
* @ClassName DeviceLogStartBean
* @Author zzrdark
* @Date 2020-04-20 18:16
* @Description B6协议
**/
@Data
public class DeviceLogStartBean extends BaseMqttBean {
private String logAcceptId;
private Date time;
}
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
import java.util.Date;
/**
* @ClassName DeviceLogStopBean
* @Author zzrdark
* @Date 2020-04-20 18:18
* @Description B7协议
**/
@Data
public class DeviceLogStopBean {
private String logAcceptId;
private Date time;
}
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
import java.util.Date;
/**
* @ClassName DeviceRebootBean
* @Author zzrdark
* @Date 2020-04-20 17:47
* @Description B3协议
**/
@Data
public class DeviceRebootBean extends BaseMqttBean {
private Date time;
}
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
import java.util.Date;
/**
* @ClassName LogSettingBean
* @Author zzrdark
* @Date 2020-04-20 18:02
* @Description B5协议
**/
@Data
public class LogSettingBean {
private Date time;
private Integer mobileLogSize;
private Integer modemLogSize;
private Integer networkLogSize;
private Integer GPSLogSize;
private String saveLocation;
}
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
import java.util.Date;
/**
* @ClassName MobileNetworkBean
* @Author zzrdark
* @Date 2020-04-20 18:25
* @Description B8协议
**/
@Data
public class MobileNetworkSwitchBean extends BaseMqttBean {
private Date time;
private String operation;
}
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
import java.util.Date;
/**
* @ClassName ReductionDevice
* @Author zzrdark
* @Date 2020-04-20 17:52
* @Description B4协议
**/
@Data
public class ReductionDeviceBean extends BaseMqttBean {
private Date time;
}
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
/**
* @ClassName RemoteControl
* @Author zzrdark
* @Date 2020-04-16 20:53
* @Description TODO
* @Description B1协议
**/
@Data
public class RemoteControlBean extends BaseMqttBean{
public class RemoteControl extends BaseMqttBean{
String shell;
private String shell;
}
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
import java.util.Date;
/**
* @ClassName UploadInformationDevice
* @Author zzrdark
* @Date 2020-04-20 16:24
* @Description A1协议
**/
@Data
public class UploadInformationDeviceBean extends BaseMqttBean {
private String iccid;
private String versionNum;
private String activeStatus;
private Date time;
}
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
import java.util.Date;
/**
* @ClassName UserActivationDevice
* @Author zzrdark
* @Date 2020-04-20 16:52
* @Description A2协议
**/
@Data
public class UserActivationDeviceBean extends BaseMqttBean {
private String activeStatus;
private Date activeTime;
private String versionNum;
private Date time;
}
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
import java.util.Date;
/**
* @ClassName UserBaseData
* @Author zzrdark
* @Date 2020-04-20 17:18
* @Description TODO
**/
@Data
public class UserBaseDataBean extends BaseMqttBean {
private String iccid;
private Date time;
}
package com.mx.cneeds.server.user.mqtt.bean;
import lombok.Data;
import java.util.Date;
/**
* @ClassName WiFiSwitchBean
* @Author zzrdark
* @Date 2020-04-20 18:33
* @Description B9协议
**/
@Data
public class WiFiSwitchBean extends BaseMqttBean {
private Date time;
private String operation;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment