| | |
| | | package com.iailab.module.data.point.service; |
| | | |
| | | import com.iailab.framework.common.service.BaseService; |
| | | import com.iailab.module.data.influxdb.pojo.InfluxPointValuePOJO; |
| | | import com.iailab.module.data.point.entity.DaPointCollectStatusEntity; |
| | | import org.springframework.scheduling.annotation.Async; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author PanZhibao |
| | |
| | | */ |
| | | public interface DaPointCollectStatusService extends BaseService<DaPointCollectStatusEntity> { |
| | | |
| | | void add(String pointNo); |
| | | |
| | | @Async |
| | | void recordStatus(String pointId, String collectValue, Date collectTime); |
| | | void recordStatus(String pointNo, String collectValue, Date collectTime); |
| | | |
| | | @Async |
| | | void recordStatusList(List<InfluxPointValuePOJO> pointValues, Date collectTime); |
| | | |
| | | } |