SmallRefactor: {SaveLogParams} -> {SaveLogModel}
This commit is contained in:
@@ -131,7 +131,7 @@ namespace AIParkingApplication
|
|||||||
string FrameImageBase64 = Convert.ToBase64String(FrameImage.ToBytes());
|
string FrameImageBase64 = Convert.ToBase64String(FrameImage.ToBytes());
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var request = new SaveLogParams
|
var request = new SaveLogModel
|
||||||
{
|
{
|
||||||
Direction = (direction == VehicleDirection.In) ? "in" : "out",
|
Direction = (direction == VehicleDirection.In) ? "in" : "out",
|
||||||
LogID = logID,
|
LogID = logID,
|
||||||
@@ -231,7 +231,7 @@ namespace AIParkingApplication
|
|||||||
public string Cost { get; set; }
|
public string Cost { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class SaveLogParams
|
public class SaveLogModel
|
||||||
{
|
{
|
||||||
[JsonProperty("card")]
|
[JsonProperty("card")]
|
||||||
public string CardID { get; set; }
|
public string CardID { get; set; }
|
||||||
|
|||||||
Reference in New Issue
Block a user