| | |
| | | package com.sandu.ximon.admin.param; |
| | | |
| | | import com.sandu.ximon.dao.domain.Monitor; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.constraints.NotEmpty; |
| | | import java.io.Serializable; |
| | | |
| | | @Data |
| | | public class MonitorParam { |
| | | public class MonitorParam extends Monitor implements Serializable { |
| | | |
| | | private String keyword; |
| | | @NotEmpty |
| | | private String equipmentState; |
| | | private Integer equipmentState; |
| | | @NotEmpty |
| | | private String bindingState; |
| | | private Integer bindingState; |
| | | |
| | | /** |
| | | * + |
| | | * 开始萤石云摄像头相关参数 |
| | | */ |
| | | //授权过程获取的access_token |
| | | private String accessToken; |
| | | //设备序列号,存在英文字母的设备序列号,字母需为大写 |
| | | private String deviceSerial; |
| | | //设备验证码,设备机身上的六位大写字母 |
| | | private String validateCode; |
| | | /** |
| | | * 结束萤石云摄像头相关参数 |
| | | */ |
| | | |
| | | /** |
| | | * 开始萤石云摄像头播放地址相关参数 |
| | | */ |
| | | //流播放协议,1-ezopen、2-hls、3-rtmp、4-flv,默认为1 |
| | | private int protocol; |
| | | //过期时长,单位秒;针对hls/rtmp设置有效期,相对时间;30秒-720天 |
| | | private int expireTime; |
| | | /** |
| | | * 结束萤石云摄像头播放地址相关参数 |
| | | */ |
| | | } |