Теперь все данные nullable
This commit is contained in:
@@ -5,31 +5,31 @@ using System.Text.Json.Serialization;
|
||||
public class JsonData
|
||||
{
|
||||
[JsonPropertyName("concentrationIndex")]
|
||||
public double ConcentrationIndex { get; set; }
|
||||
public double? ConcentrationIndex { get; set; }
|
||||
[JsonPropertyName("relaxationIndex")]
|
||||
public double RelaxationIndex { get; set; }
|
||||
public double? RelaxationIndex { get; set; }
|
||||
[JsonPropertyName("cognitiveControl")]
|
||||
public double CognitiveControl { get; set; }
|
||||
public double? CognitiveControl { get; set; }
|
||||
[JsonPropertyName("cognitiveLoad")]
|
||||
public double CognitiveLoad { get; set; }
|
||||
public double? CognitiveLoad { get; set; }
|
||||
[JsonPropertyName("alpha")]
|
||||
public double Alpha { get; set; }
|
||||
public double? Alpha { get; set; }
|
||||
[JsonPropertyName("beta")]
|
||||
public double Beta { get; set; }
|
||||
public double? Beta { get; set; }
|
||||
[JsonPropertyName("theta")]
|
||||
public double Theta { get; set; }
|
||||
public double? Theta { get; set; }
|
||||
[JsonPropertyName("smr")]
|
||||
public double Smr { get; set; }
|
||||
public double? Smr { get; set; }
|
||||
[JsonPropertyName("muWave")]
|
||||
public double MuWave { get; set; }
|
||||
public double? MuWave { get; set; }
|
||||
[JsonPropertyName("artifact")]
|
||||
public bool Artifact { get; set; }
|
||||
public bool? Artifact { get; set; }
|
||||
[JsonPropertyName("signalQuality")]
|
||||
public double SignalQuality { get; set; }
|
||||
public double? SignalQuality { get; set; }
|
||||
[JsonPropertyName("packageIndex")]
|
||||
public long PackageIndex { get; set; }
|
||||
[JsonPropertyName("timeOfDataGenerate")]
|
||||
public DateTime TimeOfDataGenerate { get; set; }
|
||||
public DateTime? TimeOfDataGenerate { get; set; }
|
||||
|
||||
public JsonData() { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user