2021与蓝度共同重构项目,服务端
liuhaonan
2022-11-18 385b687cc1a0a8f6de2320af6b6e0d654cd658ed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
package com.sandu.ximon.admin.newnova.param;
 
import lombok.Data;
import lombok.NoArgsConstructor;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;
 
/**
 * @author LiuHaoNan
 * @date 2022/11/11
 * 新诺瓦  设备状态调节  开关  音量  亮度 等
 */
@Data
public class NewNovaStatusParam {
 
 
    /**
     * id
     */
    @NotNull(message = "id不能为空")
    private Long id;
    /**
     * 设备码
     */
    @NotBlank(message = "sn不能为空")
    private String sn;
 
    /**
     * 亮度
     */
    private Double brightness;
 
    /**
     * 音量
     */
    private Double volume;
 
 
    /**
     * 同步状态
     */
    private boolean sync = true;
 
    /**
     * ntp
     */
    private boolean ntp = true;
 
    /**
     * 屏幕开关 0关 1开
     */
    private int powerStatus =0;
 
 
    /**
     * 音量亮度等
     */
    private List<NovaDTO> novaList;
 
    /**
     * 截图
     */
    private List<NovascreenShotDTO> screenShotList;
 
 
    @NoArgsConstructor
    @Data
    public static class NovaDTO {
 
        private Long id;
 
        private String sn;
 
        private String name;
 
        private boolean status = false;
    }
 
 
    @NoArgsConstructor
    @Data
    public static class NovascreenShotDTO {
 
        private Long id;
 
        private String sn;
 
        private String name;
 
        private int code;
 
        private String screenShot;
    }
 
}