|
@@ -13,10 +13,7 @@ import com.xy.config.DeviceThreadPoolConfig;
|
|
|
import com.xy.constants.SpiResponseConst;
|
|
|
import com.xy.device.EnumDeviceOnlineStatus;
|
|
|
import com.xy.dto.*;
|
|
|
-import com.xy.dto.spi.DeviceAlarmNotifyDTO;
|
|
|
-import com.xy.dto.spi.DeviceAttributesNotifyDTO;
|
|
|
-import com.xy.dto.spi.DeviceSetAttributesNotifyDTO;
|
|
|
-import com.xy.dto.spi.DeviceStatusChangeNotifyDTO;
|
|
|
+import com.xy.dto.spi.*;
|
|
|
import com.xy.entity.DeviceInfo;
|
|
|
import com.xy.entity.DeviceStatus;
|
|
|
import com.xy.service.*;
|
|
@@ -226,6 +223,12 @@ public class AliPayOpenDeviceFatoryImpl implements DeviceFactory, SpiDeviceServi
|
|
|
return SpiResponseConst.SUCCESS;
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("设备异常通知SPI")
|
|
|
+ @Override
|
|
|
+ public String deviceExceptionNotify(DeviceExceptionNotifyDTO deviceExceptionNotifyDTO) {
|
|
|
+ return SpiResponseConst.SUCCESS;
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
@ApiOperation("设备状态变更通知SPI")
|
|
|
public String deviceStatusChangeNotify(DeviceStatusChangeNotifyDTO deviceStatusChangeNotifyDTO) {
|