package com.zy.acs.charge;
|
|
import com.github.xingshuangs.iot.protocol.modbus.service.ModbusTcp;
|
import com.zy.acs.charge.model.ChargerStatus;
|
|
/**
|
* 所有充电桩都实现这个接口
|
*/
|
public interface ChargeCoreService {
|
|
|
boolean startCharging(ModbusTcp modbusTcp) ;
|
|
boolean stopCharging(ModbusTcp modbusTcp) ;
|
|
ChargerStatus getStatus(ModbusTcp modbusTcp) ;
|
|
|
|
boolean clearFault(ModbusTcp modbusTcp) ;
|
|
boolean finishRetract(ModbusTcp modbusTcp) ;
|
|
|
boolean restoreStandby(ModbusTcp modbusTcp) ;
|
|
}
|