Scene.java 1.61 KB
package com.viontech.fanxing.task.model;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.UUID;

/**
 * .
 *
 * @author 谢明辉
 * @date 2021/9/28
 */

@Getter
@Setter
@Accessors(chain = true)
public class Scene {
    private Integer algo_type;
    /** 标定,后端不需要关心 */
    private Calibration calibration;
    /** 配置信息 */
    private Config config;
    private String position_name;
    private String position_num;
    private String scene_unid;
    private String vchan_refid;
    private Integer runtime = -1;
    private PlayUrls play_urls;


    public static class Calibration {
        private String calibration;

        public String getCalibration() {
            return calibration;
        }

        public Calibration setCalibration(String calibration) {
            this.calibration = calibration;
            return this;
        }
    }

    public static class Config {
        private String xml;

        public String getXml() {
            return xml;
        }

        public Config setXml(String xml) {
            this.xml = xml;
            return this;
        }
    }

    public static class PlayUrls {
        private String rtsp;
        private String http;

        public String getHttp() {
            return http;
        }

        public PlayUrls setHttp(String http) {
            this.http = http;
            return this;
        }

        public String getRtsp() {
            return rtsp;
        }

        public PlayUrls setRtsp(String rtsp) {
            this.rtsp = rtsp;
            return this;
        }
    }

}