package com.sandu.ximon.admin.newnova.vo;
|
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
import lombok.Data;
|
import lombok.NoArgsConstructor;
|
|
import java.util.List;
|
|
/**
|
* @author LiuHaoNan
|
* @date 2022/11/21
|
*/
|
@NoArgsConstructor
|
@Data
|
public class VideoInfoVO {
|
|
|
|
private String type="VIDEO_SOURCE_SWITCH";
|
|
/**
|
* 下发命令的来源
|
*/
|
private SourceDTO source;
|
|
/**
|
* 模式,HDMI优先
|
*/
|
private Integer videoMode;
|
|
/**
|
*视频源
|
*/
|
private Integer videoSource;
|
|
/**
|
* 是否缩放,true为全屏缩放,false为不缩放
|
*/
|
private Boolean isScale;
|
|
/**
|
* 偏移X
|
*/
|
private Integer offsetX;
|
|
/**
|
* 偏移Y
|
*/
|
private Integer offsetY;
|
|
/**
|
* 任务列表
|
*/
|
private List<ConditionsDTO> conditions;
|
|
@NoArgsConstructor
|
@Data
|
public static class SourceDTO {
|
|
/**
|
* 1:nova自己的平台,0:第三方平台
|
*/
|
private Integer type;
|
|
/**
|
* 0:未知,1:移动终端发来的(如手机),2:表示传统电脑,3:表示平板,4:表示web端发来的,5:终端本身
|
*/
|
private Integer platform;
|
}
|
|
@NoArgsConstructor
|
@Data
|
public static class ConditionsDTO {
|
|
private String cron;
|
|
/**
|
* 视频源,SOURCE_INSIDE:内部,0;SOURCE_HDMI:HDMI,1
|
*/
|
private Integer source;
|
|
/**
|
* 该条定时任务是否生效
|
*/
|
private Boolean enable;
|
}
|
}
|