...
Attribute | Type | Multiplicity | Description |
---|---|---|---|
Geometry | Shape | 1 | The geometry defining the location |
Timestamp | DateTime | 1 | The timestamp of the location. |
GetMeterValue(meter: Meter) | RepresentationValue | ? | |
SetMeterValue(meter: Meter, RepresentationValue: value) | |||
GetAppliedLatency(meter: Meter) |
Section [Not Implemented]
- Depth 0 always represents the full swath and contains DDIs and their values at that level (e.g. Elevation, Weather Information, Fuel Consumption)
- Depths 1+ represent a segmented version of the full swath
Attribute | Type | Multiplicity | Description |
---|---|---|---|
Id | CompoundIdentifier | 1 | UniqueIdentifier |
OperationDataId | Integer | 1 | A reference to the OperationData this section applies to |
Depth | Integer | 1 | Indicates which depth the section was recorded for |
Order | Integer | 1 | An incrementing value indicating the order of the sections from left to right |
SectionWidth | NumericRepresentationValue | 1 | The width of the section |
TotalDistanceTravelled | NumericRepresentationValue | 0..1 | Total distance travelled for the operation when section status was on |
TotalElapsedTime | NumericRepresentationValue | 0..1 | Total elapsed time for the operation when the section status was on |
Meters | Meter | 0..n |
Meter (analogous to a process data variable in ISO) [Not Implemented]
Attribute | Type | Multiplicity | Description |
---|---|---|---|
Id | CompoundIdentifier | 1 | UniqueIdentifier |
SectionId | Integer | 1 | A reference to the Section where this meter was recorded |
Representation | Representation | 1 | The object for what DDI is defined |
Values | Double | 1..n | The values recorded. Aligned by index with the sections
|
AppliedLatency | NumericRepresentationValue | 1 | The latency reported by the controller |
ReportedLatency | NumericRepresentationValue | 1 | The latency reported by the implement |
NumericMeter (Subclass of Meter) [Not Implemented]
Attribute | Type | Multiplicity | Description |
---|---|---|---|
UnitOfMeasure | UnitOfMeasure | 1 | The unit this meter was recorded in |
EnumeratedMeter (Subclass of Meter) [Not Implemented]
Attribute | Type | Multiplicity | Description |
---|---|---|---|
ValueCodes | Integer | 1..* | Integers that correspond to the Code of an enumeration member. The specific enumeration is implicit in the Representation identified in the parent class. |
...
Attribute | Type | Multiplicity | Description |
---|---|---|---|
Id | CompoundIdentifier | 1 | The id of the calibration factor |
MeterId | Integer | 1 | The meter to apply the calibration factor to |
TimeScopeIds | Integer | 0...n | The time the calibration occurred. 20150903: R. Andres Ferreyra (Unlicensed) replaced datetime class with TimeScope, for consistency with other mandates. |
Value | NumericRepresentationValue | 1 | The value of the calibration. 20150903: R. Andres Ferreyra (Unlicensed) replaced Double type with NumericRepresentationValue, for consistency with other mandates. |
DataLogTrigger
Attribute | Type | Multiplicity | Description |
---|---|---|---|
Id | CompoundIdentifier | 1 | |
DataLogMethod | LoggingMethodEnum | 1 | |
DataLogDistanceInterval | NumericRepresentationValue | 0..1 | |
DataLogTimeInterval | NumericRepresentationValue | 0..1 | |
DataLogThresholdMinimum | NumericRepresentationValue | 0..1 | |
DataLogThresholdMaximum | NumericRepresentationValue | 0..1 | |
DataLogThresholdChange | NumericRepresentationValue | 0..1 | |
ContextItems | ContextItem | 0..* | |
LoggingLevel | LoggingLevelEnum | 1 | |
Representation | Representation | 1 | |
DeviceElementId | Integer | 0..1 |
DataLogTrigger
Attribute | Type | Multiplicity | Description |
---|---|---|---|
ValueCodes | Integer | 0..* |
Destination
Attribute | Type | Multiplicity | Description |
---|---|---|---|
Id | CompoundIdentifier | 1 | |
Description | String | 1 | |
Location | Location | 0..1 | |
FacilityId | Integer | 0..1 |
MeteredValue
Attribute | Type | Multiplicity | Description |
---|---|---|---|
Value | RepresentationValue | 1 | |
MeterId | Integer | 0..1 | |
DeviceConfigurationId | Integer | 0..1 |
StampedMeteredValue
Attribute | Type | Multiplicity | Description |
---|---|---|---|
Values | MeteredValues | 1..* | |
Stamp | TimeScope | 0..1 |
NumericWorkingData
Attribute | Type | Multiplicity | Description |
---|---|---|---|
UnitOfMeasure | UnitOfMeasure | 0..1 | |
Values | Double | 0..* | |
Id | CompoundIdentifier | 1 | |
DeviceElementUseId | Integer | 1 | |
Representation | Representation | 1 | |
AppliedLatency | NumericRepresentationValue | 1 | |
ReportedLatency | NumericRepresentationValue | 1 |
WorkingData
Attribute | Type | Multiplicity | Description |
---|---|---|---|
Id | CompoundIdentifier | 1 | |
DeviceElementUseId | Integer | 1 | |
Representation | Representation | 1 | |
AppliedLatency | NumericRepresentationValue | 1 | |
ReportedLatency | NumericRepresentationValue | 1 |
LoggingLevelEnum
Enumeration Literal | Description |
---|---|
MachineType | |
SpecificMachine | |
ImplementType | |
SpecificImplement | |
SpecificSection | |
SpecificMeter | |
Unspecified |
LoggingMethodEnum
Enumeration Literal | Description |
---|---|
TimeInterval | |
DistanceInterval | |
ThresholdLimits | |
OnChange | |
Total |
Note:
Code Block | ||
---|---|---|
| ||
foreach (spatialRecord in operationData.GetSpatialRecords()) { var shape = spatialRecord.GetShape(); var time = spatialRecord.GetTimeElapsed(); for(depth=0; depth< operationData.GetMaxDepth();depth++) { foreach(section in operation.GetSections(depth) { var width = section.Width; foreach(meter in section.GetMeters()) { if(meter is NumericMeter) { var value = spatialRecord.GetMeterValue(meter); // Yo, note that there are different representations for meters... var appliedLatency = spatialRecord.GetAppliedLatency(meter); } else if(meter is EnumeratedMeter) { var value = spatialRecord.GetMeterValue(meter); } } } } } |
...