Constructor and Description |
---|
DecodedSignal(String protocolName,
int device,
int OBC) |
DecodedSignal(String protocolName,
int device,
int subDevice,
int OBC) |
DecodedSignal(String protocolName,
int device,
int subDevice,
int OBC,
int[] hex,
String miscMessage,
String errorMessage) |
Modifier and Type | Method and Description |
---|---|
HashMap<String,Long> |
getParameters()
Return the parameters in the IrpMaster way.
|
String |
getProtocol()
Returns the protocol name.
|
boolean |
isOk(String protocolName,
Protocol protocol,
HashMap<String,Long> vars) |
static String |
toPrintString(DecodeIR.DecodedSignal[] decodes)
Makes a nice string from the decodes.
|
static String |
toPrintString(DecodeIR.DecodedSignal[] decodes,
boolean censor)
Makes a nice string from the decodes.
|
String |
toString() |
Element |
xmlElement(Document doc)
Generates an element, belonging to the Document in the argument, containing the decode in readable form.
|
public DecodedSignal(String protocolName, int device, int subDevice, int OBC, int[] hex, String miscMessage, String errorMessage)
public DecodedSignal(String protocolName, int device, int subDevice, int OBC)
public DecodedSignal(String protocolName, int device, int OBC)
public HashMap<String,Long> getParameters()
public String getProtocol()
public static String toPrintString(DecodeIR.DecodedSignal[] decodes, boolean censor)
decodes
- censor
- true if the decodes after the first should be "censored out".public static String toPrintString(DecodeIR.DecodedSignal[] decodes)
decodes
- Copyright © 2016. All rights reserved.