SmallRefactor
This commit is contained in:
parent
2cd9fa1ef3
commit
7512bafc43
|
@ -167,7 +167,7 @@ namespace AIParkingApplication
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
#region Check card validation API
|
||||
public class CardModel
|
||||
{
|
||||
[JsonProperty("card")]
|
||||
|
@ -218,7 +218,10 @@ namespace AIParkingApplication
|
|||
[JsonProperty("name")]
|
||||
public string CustomerName { get; set; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region Save Log API
|
||||
public class SaveLogRespone
|
||||
{
|
||||
[JsonProperty("status")]
|
||||
|
@ -266,7 +269,10 @@ namespace AIParkingApplication
|
|||
[JsonProperty("frameImage")]
|
||||
public string FrameImage { get; set; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region Get Config API
|
||||
public class LoginModel
|
||||
{
|
||||
[JsonProperty("username")]
|
||||
|
@ -276,39 +282,6 @@ namespace AIParkingApplication
|
|||
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
|
||||
{
|
||||
[JsonProperty("status")]
|
||||
|
@ -371,6 +344,7 @@ namespace AIParkingApplication
|
|||
|
||||
}
|
||||
|
||||
#region API Path
|
||||
public class APIPathModel
|
||||
{
|
||||
[JsonProperty("apiStatistics")]
|
||||
|
@ -401,6 +375,7 @@ namespace AIParkingApplication
|
|||
[JsonProperty("path")]
|
||||
public string Path { get; set; }
|
||||
}
|
||||
#endregion
|
||||
|
||||
public class CameraData
|
||||
{
|
||||
|
@ -503,13 +478,14 @@ namespace AIParkingApplication
|
|||
public int Logs { get; set; }
|
||||
}
|
||||
|
||||
#region LaneConfig
|
||||
public class LaneConfig
|
||||
{
|
||||
[JsonProperty("laneConfig")]
|
||||
public LanePosision Posision { get; set; }
|
||||
public LaneConfigPosision Posision { get; set; }
|
||||
}
|
||||
|
||||
public class LanePosision
|
||||
public class LaneConfigPosision
|
||||
{
|
||||
[JsonProperty("left")]
|
||||
public LaneConfigParam LeftLane { get; set; }
|
||||
|
@ -529,5 +505,7 @@ namespace AIParkingApplication
|
|||
[JsonProperty("longPlate")]
|
||||
public bool IsLongPlate { get; set; }
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user