GetValue() public abstract method

public abstract GetValue ( ) : dynamic
return dynamic
        private static void SetValue(FeatureData data, ReadingData reading)
        {
            dynamic value = reading.GetValue();

            if (value is double)
            {
                data.DoubleValue = value;
            }
            else if (value is int)
            {
                data.IntValue = value;
            }
            else if (value != null)
            {
                data.Value = value.ToString();
            }
        }
		internal override void Aggregate(ReadingData other)
		{
			Values.Add((double)other.GetValue());
		}
 internal override void Aggregate(ReadingData other)
 {
     Value = Math.Max(Value, (double)other.GetValue());
 }
		public override void Aggregate(ReadingData other)
		{
			Value = Math.Min(Value, (double)other.GetValue());
		}
Beispiel #5
0
 internal override void Aggregate(ReadingData other)
 {
     Values.Add((double)other.GetValue());
 }
		internal override void Aggregate(ReadingData other)
		{
			Value = Math.Max(Value, (double)other.GetValue());
		}