Browse Source

fix:注释用不到的代码

master
白凤吉 3 months ago
parent
commit
a43ef2f62e
  1. 8
      src/main/java/com/iflytop/gd/hardware/comm/can/A8kCanBusService.java

8
src/main/java/com/iflytop/gd/hardware/comm/can/A8kCanBusService.java

@ -93,10 +93,10 @@ public class A8kCanBusService {
return connection.callcmd(id, CmdId.module_get_version).getContentI32(0); return connection.callcmd(id, CmdId.module_get_version).getContentI32(0);
} }
public ModuleType moduleReadType(MId id) throws HardwareException {
var packet = connection.callcmd(id, CmdId.module_get_type);
return ModuleType.of(packet.getContentI32(0));
}
// public ModuleType moduleReadType(MId id) throws HardwareException {
// var packet = connection.callcmd(id, CmdId.module_get_type);
// return ModuleType.of(packet.getContentI32(0));
// }
// public byte[] a8kIdcardReaderReadRaw() throws HardwareException { // public byte[] a8kIdcardReaderReadRaw() throws HardwareException {
// int i = 0; // int i = 0;

Loading…
Cancel
Save