Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
SampleStatistic.cs
1using System;
3
5{
9 [TypeName(TypeNameSerialization.None)]
10 [CollectionName("SampleStatistics")]
11 [Index("Id", "Start")]
12 [Index("Start", "Id")]
13 public class SampleStatistic
14 {
15 private string objectId = null;
16 private string id = null;
17 private DateTime start = DateTime.MinValue;
18 private DateTime stop = DateTime.MinValue;
19 private long count = 0;
20 private double? mean = null;
21 private double? variance = null;
22 private double? stdDev = null;
23 private double? min = null;
24 private double? max = null;
25
30 {
31 }
32
36 [ObjectId]
37 public string ObjectId
38 {
39 get => this.objectId;
40 set => this.objectId = value;
41 }
42
46 public string Id
47 {
48 get => this.id;
49 set => this.id = value;
50 }
51
55 public DateTime Start
56 {
57 get => this.start;
58 set => this.start = value;
59 }
60
64 [DefaultValueDateTimeMinValue]
65 public DateTime Stop
66 {
67 get => this.stop;
68 set => this.stop = value;
69 }
70
74 [DefaultValue(0L)]
75 public long Count
76 {
77 get => this.count;
78 set => this.count = value;
79 }
80
84 [DefaultValueNull]
85 public double? Mean
86 {
87 get => this.mean;
88 set => this.mean = value;
89 }
90
94 [DefaultValueNull]
95 public double? Variance
96 {
97 get => this.variance;
98 set => this.variance = value;
99 }
100
104 [DefaultValueNull]
105 public double? StdDev
106 {
107 get => this.stdDev;
108 set => this.stdDev = value;
109 }
110
114 [DefaultValueNull]
115 public double? Min
116 {
117 get => this.min;
118 set => this.min = value;
119 }
120
124 [DefaultValueNull]
125 public double? Max
126 {
127 get => this.max;
128 set => this.max = value;
129 }
130 }
131}
Represents collected statistical information from a small portion of time.
double? StdDev
Standard deviation of values
SampleStatistic()
Represents collected statistical information from a small portion of time.
TypeNameSerialization
How the type name should be serialized.