package com.xinda.sip.service;

import com.xinda.common.core.thingsModel.ThingsModelSimpleItem;
import com.xinda.sip.domain.SipDevice;
import com.xinda.sip.domain.SipDeviceChannel;
import com.xinda.sip.model.RecordList;
import com.xinda.sip.server.msg.Alarm;

import java.util.List;

public interface IMqttService {
    void publishInfo(SipDevice device);
    void publishStatus(SipDevice device, int deviceStatus);
    void publishEvent(Alarm alarm);
    void publishProperty(Long productId, String deviceNum, List<ThingsModelSimpleItem> thingsList, int delay);
    void publishChannelsProperty(String DeviceSipId, List<SipDeviceChannel> channels);
    void publishRecordsProperty(String DeviceSipId, RecordList recordList);
}
