SmallRefactor
This commit is contained in:
parent
2cd9fa1ef3
commit
7512bafc43
|
@ -167,7 +167,7 @@ namespace AIParkingApplication
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#region Check card validation API
|
||||||
public class CardModel
|
public class CardModel
|
||||||
{
|
{
|
||||||
[JsonProperty("card")]
|
[JsonProperty("card")]
|
||||||
|
@ -218,7 +218,10 @@ namespace AIParkingApplication
|
||||||
[JsonProperty("name")]
|
[JsonProperty("name")]
|
||||||
public string CustomerName { get; set; }
|
public string CustomerName { get; set; }
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
#region Save Log API
|
||||||
public class SaveLogRespone
|
public class SaveLogRespone
|
||||||
{
|
{
|
||||||
[JsonProperty("status")]
|
[JsonProperty("status")]
|
||||||
|
@ -266,7 +269,10 @@ namespace AIParkingApplication
|
||||||
[JsonProperty("frameImage")]
|
[JsonProperty("frameImage")]
|
||||||
public string FrameImage { get; set; }
|
public string FrameImage { get; set; }
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
#region Get Config API
|
||||||
public class LoginModel
|
public class LoginModel
|
||||||
{
|
{
|
||||||
[JsonProperty("username")]
|
[JsonProperty("username")]
|
||||||
|
@ -276,39 +282,6 @@ namespace AIParkingApplication
|
||||||
public string Password { get; set; }
|
public string Password { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class PlateLogModel
|
|
||||||
{
|
|
||||||
[JsonProperty("card")]
|
|
||||||
public string CardID { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("plate")]
|
|
||||||
public string PlateString { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("type")]
|
|
||||||
public string LaneType { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("mod")]
|
|
||||||
public string PlateMode { get; set; } //0 or 1
|
|
||||||
|
|
||||||
[JsonProperty("camera")]
|
|
||||||
public string CameraID { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("time")]
|
|
||||||
public string Time { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("plateImage")]
|
|
||||||
public string PlateImageBase64 { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("plateResultImage")]
|
|
||||||
public string PlateResultImageBase64 { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("plateFrameImage")]
|
|
||||||
public string PlateFrameImageBase64 { get; set; }
|
|
||||||
|
|
||||||
[JsonProperty("frameImage")]
|
|
||||||
public string FrameImageBase64 { get; set; }
|
|
||||||
}
|
|
||||||
|
|
||||||
public class LoginDataModel
|
public class LoginDataModel
|
||||||
{
|
{
|
||||||
[JsonProperty("status")]
|
[JsonProperty("status")]
|
||||||
|
@ -371,6 +344,7 @@ namespace AIParkingApplication
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#region API Path
|
||||||
public class APIPathModel
|
public class APIPathModel
|
||||||
{
|
{
|
||||||
[JsonProperty("apiStatistics")]
|
[JsonProperty("apiStatistics")]
|
||||||
|
@ -401,6 +375,7 @@ namespace AIParkingApplication
|
||||||
[JsonProperty("path")]
|
[JsonProperty("path")]
|
||||||
public string Path { get; set; }
|
public string Path { get; set; }
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
public class CameraData
|
public class CameraData
|
||||||
{
|
{
|
||||||
|
@ -503,13 +478,14 @@ namespace AIParkingApplication
|
||||||
public int Logs { get; set; }
|
public int Logs { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#region LaneConfig
|
||||||
public class LaneConfig
|
public class LaneConfig
|
||||||
{
|
{
|
||||||
[JsonProperty("laneConfig")]
|
[JsonProperty("laneConfig")]
|
||||||
public LanePosision Posision { get; set; }
|
public LaneConfigPosision Posision { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class LanePosision
|
public class LaneConfigPosision
|
||||||
{
|
{
|
||||||
[JsonProperty("left")]
|
[JsonProperty("left")]
|
||||||
public LaneConfigParam LeftLane { get; set; }
|
public LaneConfigParam LeftLane { get; set; }
|
||||||
|
@ -529,5 +505,7 @@ namespace AIParkingApplication
|
||||||
[JsonProperty("longPlate")]
|
[JsonProperty("longPlate")]
|
||||||
public bool IsLongPlate { get; set; }
|
public bool IsLongPlate { get; set; }
|
||||||
}
|
}
|
||||||
|
#endregion
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user