Package org.openwebnet4j.message
Class ThermoregulationDiagnostic
- java.lang.Object
 - 
- org.openwebnet4j.message.OpenMessage
 - 
- org.openwebnet4j.message.BaseOpenMessage
 - 
- org.openwebnet4j.message.ThermoregulationDiagnostic
 
 
 
 
- 
public class ThermoregulationDiagnostic extends BaseOpenMessage
OpenWebNet Thermoregulation Diagnostic messages (WHO=1004) used to discover Thermo devices on BUS- Author:
 - M. Valla - Initial contribution
 
 
- 
- 
Field Summary
- 
Fields inherited from class org.openwebnet4j.message.BaseOpenMessage
FORMAT_DIMENSION_REQUEST, FORMAT_DIMENSION_WRITING_1P_1V, FORMAT_DIMENSION_WRITING_1V, FORMAT_DIMENSION_WRITING_2V, FORMAT_REQUEST, FORMAT_STATUS, MAX_FRAME_LENGTH, where, whereStr, who 
- 
Fields inherited from class org.openwebnet4j.message.OpenMessage
FRAME_ACK, FRAME_ACK_NACK_BUSY_START, FRAME_BUSY_NACK, FRAME_END, FRAME_NACK, FRAME_START, FRAME_START_DIM, frameValue 
 - 
 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedThermoregulationDiagnostic(String value) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenDeviceTypedetectDeviceType()Tries to return aOpenDeviceTypebased on frame valueprotected DimdimFromValue(int i)protected voidparseWhere()Parse WHERE and assigns it toBaseOpenMessage.whereattributestatic ThermoregulationDiagnosticrequestDiagnostic(String where)OpenWebNet message to request diagnostic DIM 7 (undocumented)*#1004*WHERE*7##.protected WhatwhatFromValue(int i)- 
Methods inherited from class org.openwebnet4j.message.BaseOpenMessage
addValues, getCommandParams, getDim, getDimParams, getDimValues, getWhat, getWhere, getWho, isCommand, isCommandTranslation, isDimWriting, parse, toStringVerbose 
- 
Methods inherited from class org.openwebnet4j.message.OpenMessage
equals, getFrameValue, isACK, isBUSY_NACK, isNACK, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
ThermoregulationDiagnostic
protected ThermoregulationDiagnostic(String value)
 
 - 
 
- 
Method Detail
- 
requestDiagnostic
public static ThermoregulationDiagnostic requestDiagnostic(String where)
OpenWebNet message to request diagnostic DIM 7 (undocumented)*#1004*WHERE*7##.- Parameters:
 where- WHERE string- Returns:
 - message
 
 
- 
parseWhere
protected void parseWhere() throws FrameExceptionDescription copied from class:BaseOpenMessageParse WHERE and assigns it toBaseOpenMessage.whereattribute- Specified by:
 parseWherein classBaseOpenMessage- Throws:
 FrameException- in case of error in frame
 
- 
dimFromValue
protected Dim dimFromValue(int i)
- Specified by:
 dimFromValuein classBaseOpenMessage
 
- 
whatFromValue
protected What whatFromValue(int i)
- Specified by:
 whatFromValuein classBaseOpenMessage
 
- 
detectDeviceType
public OpenDeviceType detectDeviceType()
Description copied from class:BaseOpenMessageTries to return aOpenDeviceTypebased on frame value- Specified by:
 detectDeviceTypein classBaseOpenMessage- Returns:
 - recognized device type or null if not device can be recognized
 
 
 - 
 
 -