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

io.github.lunasaw.gb28181.common.entity.notify.DeviceKeepLiveNotify Maven / Gradle / Ivy

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

import javax.xml.bind.annotation.*;

import io.github.lunasaw.gb28181.common.entity.base.DeviceBase;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * 
 * 
 * Keepalive
 * 340917
 * parentPlatform.getDeviceGBId()
 * OK
 * 
 * @author luna
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@XmlRootElement(name = "Notify")
@XmlAccessorType(XmlAccessType.FIELD)
public class DeviceKeepLiveNotify extends DeviceBase {


    @XmlElement(name = "Status")
    public String status;


    public DeviceKeepLiveNotify(String cmdType, String sn, String deviceId) {
        super(cmdType, sn, deviceId);
    }

    public static void main(String[] args) {
        DeviceKeepLiveNotify deviceKeepLiveNotify = new DeviceKeepLiveNotify();
        deviceKeepLiveNotify.setStatus("OK");
        System.out.println(deviceKeepLiveNotify);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy