public static class WriteRequest.Builder
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
WriteRequest |
build() |
|
WriteRequest.Builder |
clearDeviceRestartIndication() |
Clears the outstations DEVICE_RESTART internal indication bit.
|
WriteRequest.Builder |
clearNeedTimeIndication() |
Clears the outstations NEED_TIME internal indication bit.
|
WriteRequest.Builder |
writeIndexless(DataPoint point) |
|
WriteRequest.Builder |
writeIndexPrefixed(DataPoint... points) |
|
WriteRequest.Builder |
writeIndexPrefixed(java.util.List<DataPoint> points) |
Writes the given data points using qualifiers 0x17 or 0x28 (index prefix).
|
WriteRequest.Builder |
writeRanges(DataPoint... dataPoints) |
|
WriteRequest.Builder |
writeRanges(java.util.List<DataPoint> points) |
|
WriteRequest.Builder |
writeTime(java.time.Instant instant) |
Sets the time and date of the outstation.
|
public WriteRequest.Builder writeIndexPrefixed(java.util.List<DataPoint> points)
points
- the data points to writepublic WriteRequest.Builder writeIndexPrefixed(DataPoint... points)
public WriteRequest.Builder writeRanges(java.util.List<DataPoint> points)
public WriteRequest.Builder writeRanges(DataPoint... dataPoints)
public WriteRequest.Builder writeIndexless(DataPoint point)
public WriteRequest.Builder writeTime(java.time.Instant instant)
instant
- the time and datepublic WriteRequest.Builder clearDeviceRestartIndication()
public WriteRequest.Builder clearNeedTimeIndication()
public WriteRequest build()