io.github.lunasaw.gb28181.common.entity.control.DeviceControlGuard 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;
/**
* @author luna
*/
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@XmlRootElement(name = "Control")
@XmlAccessorType(XmlAccessType.FIELD)
public class DeviceControlGuard extends DeviceControlBase {
@XmlElement(name = "GuardCmd")
public String guardCmd;
public DeviceControlGuard(String cmdType, String sn, String deviceId) {
super(cmdType, sn, deviceId);
this.setControlType("GuardCmd");
}
}