package com.usky.cdi.service;

import com.usky.cdi.domain.CdiDefenseProject;
import com.usky.common.mybatis.core.CrudService;


/**
 * <p>
 * 人防_工程表（人防工程基础信息及MQTT连接配置） 服务类
 * </p>
 *
 * @author fu
 * @since 2026-02-02
 */
public interface CdiDefenseProjectService extends CrudService<CdiDefenseProject> {

    boolean tryConnectAndPublish(String broker, String user, String pass, String ping, String clientId);

    CdiDefenseProject listByTenantId(Integer tenantId);
}
