| | |
| | | import java.io.IOException; |
| | | import java.util.*; |
| | | |
| | | |
| | | /** |
| | | * 熙讯设备 |
| | | */ |
| | | @Service |
| | | @EnableCaching |
| | | public class PoleLightemitService extends BaseServiceImpl<PoleLightemitEntityMapper, PoleLightemitEntity> { |
| | |
| | | } |
| | | */ |
| | | |
| | | /* public void ledOnlineCheck(List<PoleLightemitEntity> list) { |
| | | |
| | | |
| | | |
| | | public List<PoleLightemitEntity> ledOnlineCheck(List<PoleLightemitEntity> list) { |
| | | List<PoleLightemitEntity> onLineList=new ArrayList<>(); |
| | | for(PoleLightemitEntity poleLightemitEntity : list){ |
| | | poleLightemitEntity.setIsOpen(lightemitUtils.getIsScreenOpen(poleLightemitEntity.getLightemitControlCode()).contains("true")); |
| | | if(poleLightemitEntity.getIsOpen()){ |
| | | onLineList.add(poleLightemitEntity); |
| | | } |
| | | }*/ |
| | | } |
| | | return onLineList; |
| | | } |
| | | |
| | | |
| | | public void savePoleLightemit(PoleLightemitEntity poleLightemit) { |