org.diyefi.openlogviewer.decoder
Class FreeEMSBin

java.lang.Object
  extended by org.diyefi.openlogviewer.decoder.FreeEMSBin
All Implemented Interfaces:
Runnable

public class FreeEMSBin
extends Object
implements Runnable

This function takes a binary log file, plucks FreeEMS packets out of it, filters for standard packets and parses them into fields with appropriate scaling.


Constructor Summary
FreeEMSBin(File f)
          FreeEmsBin Constructor: File object of your Binary log
FreeEMSBin(String path)
          FreeEmsBin Constructor: String path to your binary log
 
Method Summary
 void run()
          DecodeLog will use the current logFile parse through it and when required pass the job
to the required method of this class such as decodePacket or checksum.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FreeEMSBin

public FreeEMSBin(String path)
FreeEmsBin Constructor: String path to your binary log

Parameters:
String - path

FreeEMSBin

public FreeEMSBin(File f)
FreeEmsBin Constructor: File object of your Binary log

Parameters:
File - f
Method Detail

run

public void run()
DecodeLog will use the current logFile parse through it and when required pass the job
to the required method of this class such as decodePacket or checksum.

Specified by:
run in interface Runnable

toString

public String toString()
Overrides:
toString in class Object
Returns:
Misc data about this log
to be implemented in full later


Copyright © 2011 DIYEFI.org. All Rights Reserved.