MtApi5: added default value to properites of MqlParam for correct json serialization

This commit is contained in:
Viacheslav Demydiuk
2025-01-09 17:06:36 +02:00
parent ba1754d59b
commit 6b3d54b9d5
+3 -3
View File
@@ -3,8 +3,8 @@
public class MqlParam public class MqlParam
{ {
public ENUM_DATATYPE DataType { get; set; } public ENUM_DATATYPE DataType { get; set; }
public long? IntegerValue { get; set; } public long IntegerValue { get; set; } = 0;
public double? DoubleValue { get; set; } public double DoubleValue { get; set; } = 0.0;
public string? StringValue { get; set; } public string StringValue { get; set; } = String.Empty;
} }
} }