Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cneeds-server
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangzr
cneeds-server
Commits
5cd8a518
Commit
5cd8a518
authored
Apr 20, 2020
by
zzrdark
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.mqttBean
parent
3694c093
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
256 additions
and
7 deletions
+256
-7
workspace.xml
.idea/workspace.xml
+0
-0
BaseMqttBean.java
...ava/com/mx/cneeds/server/user/mqtt/bean/BaseMqttBean.java
+6
-3
CleanLogBean.java
...ava/com/mx/cneeds/server/user/mqtt/bean/CleanLogBean.java
+16
-0
DeviceBehaviorBean.java
...m/mx/cneeds/server/user/mqtt/bean/DeviceBehaviorBean.java
+24
-0
DeviceLogStartBean.java
...m/mx/cneeds/server/user/mqtt/bean/DeviceLogStartBean.java
+19
-0
DeviceLogStopBean.java
...om/mx/cneeds/server/user/mqtt/bean/DeviceLogStopBean.java
+19
-0
DeviceRebootBean.java
...com/mx/cneeds/server/user/mqtt/bean/DeviceRebootBean.java
+17
-0
LogSettingBean.java
...a/com/mx/cneeds/server/user/mqtt/bean/LogSettingBean.java
+28
-0
MobileNetworkSwitchBean.java
...cneeds/server/user/mqtt/bean/MobileNetworkSwitchBean.java
+19
-0
ReductionDeviceBean.java
.../mx/cneeds/server/user/mqtt/bean/ReductionDeviceBean.java
+18
-0
RemoteControlBean.java
...om/mx/cneeds/server/user/mqtt/bean/RemoteControlBean.java
+6
-4
UploadInformationDeviceBean.java
...ds/server/user/mqtt/bean/UploadInformationDeviceBean.java
+23
-0
UserActivationDeviceBean.java
...needs/server/user/mqtt/bean/UserActivationDeviceBean.java
+23
-0
UserBaseDataBean.java
...com/mx/cneeds/server/user/mqtt/bean/UserBaseDataBean.java
+20
-0
WiFiSwitchBean.java
...a/com/mx/cneeds/server/user/mqtt/bean/WiFiSwitchBean.java
+18
-0
No files found.
.idea/workspace.xml
View file @
5cd8a518
This diff is collapsed.
Click to expand it.
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/BaseMqttBean.java
View file @
5cd8a518
package
com
.
mx
.
cneeds
.
server
.
user
.
mqtt
.
bean
;
package
com
.
mx
.
cneeds
.
server
.
user
.
mqtt
.
bean
;
import
lombok.Data
;
/**
/**
* @ClassName BaseMqttBean
* @ClassName BaseMqttBean
* @Author zzrdark
* @Author zzrdark
* @Date 2020-04-16 21:01
* @Date 2020-04-16 21:01
* @Description TODO
* @Description TODO
**/
**/
@Data
public
class
BaseMqttBean
{
public
class
BaseMqttBean
{
String
command
;
private
String
command
;
String
serialNum
;
private
String
serialNum
;
String
imei
;
private
String
imei
;
}
}
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/CleanLogBean.java
0 → 100644
View file @
5cd8a518
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
;
}
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/DeviceBehaviorBean.java
0 → 100644
View file @
5cd8a518
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
;
}
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/DeviceLogStartBean.java
0 → 100644
View file @
5cd8a518
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
;
}
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/DeviceLogStopBean.java
0 → 100644
View file @
5cd8a518
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
;
}
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/DeviceRebootBean.java
0 → 100644
View file @
5cd8a518
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
;
}
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/LogSettingBean.java
0 → 100644
View file @
5cd8a518
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
;
}
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/MobileNetworkSwitchBean.java
0 → 100644
View file @
5cd8a518
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
;
}
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/ReductionDeviceBean.java
0 → 100644
View file @
5cd8a518
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
;
}
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/RemoteControl.java
→
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/RemoteControl
Bean
.java
View file @
5cd8a518
package
com
.
mx
.
cneeds
.
server
.
user
.
mqtt
.
bean
;
package
com
.
mx
.
cneeds
.
server
.
user
.
mqtt
.
bean
;
import
lombok.Data
;
/**
/**
* @ClassName RemoteControl
* @ClassName RemoteControl
* @Author zzrdark
* @Author zzrdark
* @Date 2020-04-16 20:53
* @Date 2020-04-16 20:53
* @Description
TODO
* @Description
B1协议
**/
**/
@Data
public
class
RemoteControlBean
extends
BaseMqttBean
{
public
class
RemoteControl
extends
BaseMqttBean
{
private
String
shell
;
String
shell
;
}
}
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/UploadInformationDeviceBean.java
0 → 100644
View file @
5cd8a518
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
;
}
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/UserActivationDeviceBean.java
0 → 100644
View file @
5cd8a518
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
;
}
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/UserBaseDataBean.java
0 → 100644
View file @
5cd8a518
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
;
}
cneeds-server-user/src/main/java/com/mx/cneeds/server/user/mqtt/bean/WiFiSwitchBean.java
0 → 100644
View file @
5cd8a518
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
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment