|
@ -33,6 +33,6 @@ public class InputDetectDriver { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Boolean priGetIOState(InputIOMId ioid) throws HardwareException { |
|
|
private Boolean priGetIOState(InputIOMId ioid) throws HardwareException { |
|
|
return canBus.callcmd(ioid.mid, CmdId.write_out_io, ioid.ioIndex).getContentI32(0) != 0; |
|
|
|
|
|
|
|
|
return canBus.callcmd(ioid.mid, CmdId.read_in_io, ioid.ioIndex).getContentI32(0) != 0; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |