Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

AttributeTypeMultiplicityDescription
IdCompoundIdentifier1The id of the calibration factor
MeterIdInteger1The meter to apply the calibration factor to
TimeScopeIdsInteger0...nThe time the calibration occurred. 20150903: R. Andres Ferreyra (Unlicensed) replaced datetime class with TimeScope, for consistency with other mandates.
ValueNumericRepresentationValue1The value of the calibration. 20150903:  R. Andres Ferreyra (Unlicensed) replaced Double type with NumericRepresentationValue, for consistency with other mandates.

DataLogTrigger

AttributeTypeMultiplicityDescription
IdCompoundIdentifier1
DataLogMethodLoggingMethodEnum1
DataLogDistanceIntervalNumericRepresentationValue0..1
DataLogTimeIntervalNumericRepresentationValue0..1
DataLogThresholdMinimumNumericRepresentationValue0..1
DataLogThresholdMaximumNumericRepresentationValue0..1
DataLogThresholdChangeNumericRepresentationValue0..1
ContextItemsContextItem0..*
LoggingLevelLoggingLevelEnum1
RepresentationRepresentation1
DeviceElementIdInteger0..1

DataLogTrigger

AttributeTypeMultiplicityDescription
ValueCodesInteger0..*

MeteredValue

AttributeTypeMultiplicityDescription
ValueRepresentationValue1
MeterIdInteger0..1
DeviceConfigurationIdInteger0..1

StampedMeteredValue

AttributeTypeMultiplicityDescription
ValuesMeteredValues1..*
StampTimeScope0..1

NumericWorkingData

AttributeTypeMultiplicityDescription
UnitOfMeasureUnitOfMeasure0..1
ValuesDouble0..*
IdCompoundIdentifier1
DeviceElementUseIdInteger1
RepresentationRepresentation1
AppliedLatencyNumericRepresentationValue1
ReportedLatencyNumericRepresentationValue1

WorkingData

AttributeTypeMultiplicityDescription
IdCompoundIdentifier1
DeviceElementUseIdInteger1
RepresentationRepresentation1
AppliedLatencyNumericRepresentationValue1
ReportedLatencyNumericRepresentationValue1

LoggingLevelEnum

Enumeration LiteralDescription
MachineType
SpecificMachine
ImplementType
SpecificImplement
SpecificSection
SpecificMeter
Unspecified

LoggingMethodEnum

Enumeration LiteralDescription
TimeInterval
DistanceInterval
ThresholdLimits
OnChange
Total

Note:


Code Block
languagec#
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);
				}
			}
		}	
	}
}

...