package com.yuchen.saas.park.service.event.property;

import com.yuchen.saas.park.api.vo.fault.DeviceProperty;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 接收设备属性数据事件
 */
@Getter
public class ReceivePropertyDataEvent extends ApplicationEvent {
    private final DeviceProperty deviceProperty;

    public ReceivePropertyDataEvent(DeviceProperty deviceProperty) {
        super(new Object());
        this.deviceProperty = deviceProperty;
    }

}