Add json facilities for DataStream websocket api
This commit is contained in:
1 parent
123f12ab88
commit
827189cdb4
7 files changed
+440
-92
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace BCG {
|
||||
/// <summary>
|
||||
@@ -56,9 +57,16 @@ namespace BCG {
|
||||
private Type myColType;
|
||||
private object myColValue;
|
||||
|
||||
[JsonPropertyName("colNo")]
|
||||
public int colNo { get { return myColNo; } }
|
||||
|
||||
[JsonPropertyName("colName")]
|
||||
public string colName { get { return myColName; } }
|
||||
|
||||
[JsonPropertyName("colType")]
|
||||
public Type colType { get { return myColType; } }
|
||||
|
||||
[JsonIgnore]
|
||||
public object colValue {get{return myColValue;}}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user