com.eurotech.demo.power.system.protocol
Class HidProtocol

java.lang.Object
  extended by com.eurotech.demo.power.system.protocol.HidProtocol

public class HidProtocol
extends Object


Constructor Summary
HidProtocol(com.codeminders.hidapi.HIDDevice dev)
           
 
Method Summary
 void close()
           
 void initialize()
           
 CompressorError[] readCompressorErrorHistory(int compressorId)
           
 CompressorStatus readCompressorStatus(int compressorId)
           
 void startMonitoringNetwork()
           
 void stopMonitoringNetwork()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HidProtocol

public HidProtocol(com.codeminders.hidapi.HIDDevice dev)
Method Detail

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.