com.eurotech.demo.power.system.protocol
Class HidProtocol
java.lang.Object
com.eurotech.demo.power.system.protocol.HidProtocol
public class HidProtocol
- extends Object
Constructor Summary |
HidProtocol(com.codeminders.hidapi.HIDDevice dev)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HidProtocol
public HidProtocol(com.codeminders.hidapi.HIDDevice dev)
initialize
public void initialize()
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
startMonitoringNetwork
public void startMonitoringNetwork()
throws IOException
- Throws:
IOException
stopMonitoringNetwork
public void stopMonitoringNetwork()
throws IOException
- Throws:
IOException
readCompressorStatus
public CompressorStatus readCompressorStatus(int compressorId)
throws IOException
- Throws:
IOException
readCompressorErrorHistory
public CompressorError[] readCompressorErrorHistory(int compressorId)
throws IOException
- Throws:
IOException
Copyright © 2013. All Rights Reserved.