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 <Error class: unknown class>collectPointNamesThatAreReferenced(SunSpecModel model)Find all point names that are referenced elsewhere. final List<String>collectPointNamesThatAreReferenced(Group group)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.
-
collectPointNamesThatAreReferenced
final <Error class: unknown class> collectPointNamesThatAreReferenced(SunSpecModel model)
Find all point names that are referenced elsewhere. These are scaling factors and count references.
-
collectPointNamesThatAreReferenced
final List<String> collectPointNamesThatAreReferenced(Group group)
-
getY2kEpochOffset
final Long getY2kEpochOffset()
-
-
-
-