Package nl.basjes.sunspec.device
Object SunspecDevice
-
- All Implemented Interfaces:
public class SunspecDevice
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSunspecDevice.TypeMapping
-
Field Summary
Fields Modifier and Type Field Description private final Longy2kEpochOffsetpublic final static SunspecDeviceINSTANCE
-
Method Summary
Modifier and Type Method Description final static SchemaDevicegenerate(ModbusDevice modbusDevice, String description, Boolean skipUnknownModels)Determine the Sunspec Schema for the provided device final LonggetY2kEpochOffset()-
-
Method Detail
-
generate
final static SchemaDevice generate(ModbusDevice modbusDevice, String description, Boolean skipUnknownModels)
Determine the Sunspec Schema for the provided device
- Parameters:
modbusDevice- The ModbusDevice for which the Schema is needed- Returns:
The SunSpec schema device for this specific device.
-
getY2kEpochOffset
final Long getY2kEpochOffset()
-
-
-
-