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