All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.lunasaw.gb28181.common.entity.control.DeviceControlDragOut Maven / Gradle / Ivy

The newest version!
package io.github.lunasaw.gb28181.common.entity.control;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 
 * 
 * DeviceControl
 * 331004
 * 1231
 * 
 * dragZoom.getLength()
 * dragZoom.getWidth()
 * ragZoom.getMidPointX()
 *  dragZoom.getMidPointY()
 * ragZoom.getLengthX()
 *  dragZoom.getLengthY()
 * 
 * 
 *
 * @author luna
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@XmlRootElement(name = "Control")
@XmlAccessorType(XmlAccessType.FIELD)
public class DeviceControlDragOut extends DeviceControlBase {


    /**
     * 缩小
     */
    @XmlElement(name = "DragZoomOut")
    private DragZoom dragZoomOut;

    public DeviceControlDragOut(String cmdType, String sn, String deviceId) {
        super(cmdType, sn, deviceId);
        this.setControlType("DragZoomOut");
    }

    public static void main(String[] args) {
        DeviceControlDragOut deviceControlDrag = new DeviceControlDragOut();

        deviceControlDrag.setDragZoomOut(new DragZoom("1", "2", "3", "4", "5", "6"));

        System.out.println(deviceControlDrag);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy