io.github.lunasaw.gb28181.common.entity.response.DeviceStatus Maven / Gradle / Ivy
The newest version!
package io.github.lunasaw.gb28181.common.entity.response;
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 io.github.lunasaw.gb28181.common.entity.base.DeviceBase;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
/**
*
*
* DeviceStatus
* sn
* channelId
* OK
* ONLINE
* OK
*
*
* @author luna
*/
@Getter
@Setter
@NoArgsConstructor
@XmlRootElement(name = "Response")
@XmlAccessorType(XmlAccessType.FIELD)
public class DeviceStatus extends DeviceBase {
/**
* OK
*/
@XmlElement(name = "Result")
private String Result = "OK";
/**
* "ONLINE":"OFFLINE"
*/
@XmlElement(name = "Online")
private String Online = "ONLINE";
/**
* OK
*/
@XmlElement(name = "Status")
private String status = "OK";
public DeviceStatus(String cmdType, String sn, String deviceId) {
super(cmdType, sn, deviceId);
}
}