...
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..* |
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); } } } } } |
...