|
|
|
|
|
|
public string SensorName; |
|
|
|
public string CompressionType; |
|
|
|
public int BuiltInSensorType; |
|
|
|
public int ObservationType; |
|
|
|
public EventObservationDimensionInfo[] DimensionInfos; |
|
|
|
|
|
|
|
public static EventObservationSpec FromSensor(ISensor sensor) |
|
|
|
|
|
|
SensorName = sensor.GetName(), |
|
|
|
CompressionType = sensor.GetCompressionSpec().SensorCompressionType.ToString(), |
|
|
|
BuiltInSensorType = (int)builtInSensorType, |
|
|
|
ObservationType = (int)obsSpec.ObservationType, |
|
|
|
DimensionInfos = dimInfos, |
|
|
|
}; |
|
|
|
} |
|
|
|