1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  | package com.doumee.service.business; 
 |    
 |  import com.doumee.dao.business.model.Locks; 
 |  import com.doumee.dao.business.model.MqttLog; 
 |    
 |  /** 
 |   * 与硬件对接服务 
 |   * @author 江蹄蹄 
 |   * @date 2023/10/09 18:06 
 |   */ 
 |  public interface DeviceService { 
 |    
 |    
 |      /** 
 |       * 下发开车开锁指令 
 |       * @return String 
 |       */ 
 |      MqttLog openLock(Locks locks); 
 |    
 |      MqttLog getLockInfo(Locks locks); 
 |    
 |      void testPush(String topic, String json); 
 |  } 
 |  
  |