-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
プロパティ化 IgnoreDataMember付与 シリアライザ変更 #3 fix
- Loading branch information
Showing
19 changed files
with
151 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
using System; | ||
using Newtonsoft.Json; | ||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
namespace KyoshinMonitorLib.ApiResult.AppApi | ||
{ | ||
public class EstShindo | ||
{ | ||
[DataMember(Name = "list")] | ||
[JsonProperty("list")] | ||
public float[] List { get; set; } | ||
[DataMember(Name = "dataTime")] | ||
[JsonProperty("dataTime")] | ||
public DateTime DataTime { get; set; } | ||
[DataMember(Name = "hypoType")] | ||
[JsonProperty("hypoType")] | ||
public string HypoType { get; set; } | ||
[DataMember(Name = "baseData")] | ||
[JsonProperty("baseData")] | ||
public string BaseData { get; set; } | ||
[DataMember(Name = "startMesh")] | ||
[JsonProperty("startMesh")] | ||
public string StartMesh { get; set; } | ||
[DataMember(Name = "startMeshIdx")] | ||
[JsonProperty("startMeshIdx")] | ||
public int StartMeshIdx { get; set; } | ||
[DataMember(Name = "serialNo")] | ||
[JsonProperty("serialNo")] | ||
public string SerialNo { get; set; } | ||
|
||
[DataMember(Name = "security")] | ||
[JsonProperty("security")] | ||
public Security Security { get; set; } | ||
[DataMember(Name = "result")] | ||
[JsonProperty("result")] | ||
public Result Result { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
using System; | ||
using Newtonsoft.Json; | ||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
namespace KyoshinMonitorLib.ApiResult.AppApi | ||
{ | ||
public class MeshList | ||
{ | ||
[DataMember(Name = "items")] | ||
[JsonProperty("items")] | ||
public object[][] Items { get; set; } | ||
[DataMember(Name = "dataTime")] | ||
[JsonProperty("dataTime")] | ||
public DateTime DataTime { get; set; } | ||
[DataMember(Name = "serialNo")] | ||
[JsonProperty("serialNo")] | ||
public string SerialNo { get; set; } | ||
|
||
[DataMember(Name = "result")] | ||
[JsonProperty("result")] | ||
public Result Result { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,33 @@ | ||
using System; | ||
using Newtonsoft.Json; | ||
using System; | ||
using System.Runtime.Serialization; | ||
|
||
namespace KyoshinMonitorLib.ApiResult.AppApi | ||
{ | ||
public class PSWave | ||
{ | ||
[DataMember(Name = "dataTime")] | ||
[JsonProperty("dataTime")] | ||
public DateTime DataTime { get; set; } | ||
[DataMember(Name = "hypoType")] | ||
[JsonProperty("hypoType")] | ||
public string HypoType { get; set; } | ||
[DataMember(Name = "items")] | ||
[JsonProperty("items")] | ||
public PSWaveItem[] Items { get; set; } | ||
|
||
[DataMember(Name = "result")] | ||
[JsonProperty("result")] | ||
public Result Result { get; set; } | ||
[DataMember(Name = "security")] | ||
[JsonProperty("security")] | ||
public Security Security { get; set; } | ||
} | ||
|
||
public class PSWaveItem | ||
{ | ||
[DataMember(Name = "latitude")] | ||
[JsonProperty("latitude")] | ||
public string Latitude { get; set; } | ||
[DataMember(Name = "longitude")] | ||
[JsonProperty("longitude")] | ||
public string Longitude { get; set; } | ||
[DataMember(Name = "p_radius")] | ||
[JsonProperty("p_radius")] | ||
public string PWaveRadius { get; set; } | ||
[DataMember(Name = "s_radius")] | ||
[JsonProperty("s_radius")] | ||
public string SWaveRadius { get; set; } | ||
} | ||
} |
Oops, something went wrong.