ApiController - Rename Stream_url -> StreamUrl

This commit is contained in:
DucDangAnh 2020-07-06 16:28:53 +07:00
parent 2e44442289
commit 051ab35337
2 changed files with 3 additions and 3 deletions

View File

@ -25,12 +25,12 @@ namespace AIParkingApplication
Controls.Add(sidebar);
c3Device = new C3DeviceController("192.168.1.200");
laneIn = new LaneIn(1, this.configOnWeb.CameraData1.Stream_url, this.configOnWeb.CameraData2.Stream_url, c3Device, this.apiController, true, false, true);
laneIn = new LaneIn(1, this.configOnWeb.CameraData1.StreamUrl, this.configOnWeb.CameraData2.StreamUrl, c3Device, this.apiController, true, false, true);
laneIn.BorderStyle = BorderStyle.FixedSingle;
laneIn.Location = new System.Drawing.Point(sidebar.Location.X + sidebar.Width + 20, 0);
Controls.Add(laneIn);
laneOut = new LaneOut(2, this.configOnWeb.CameraData3.Stream_url, this.configOnWeb.CameraData4.Stream_url, c3Device, this.apiController, true, false, true);
laneOut = new LaneOut(2, this.configOnWeb.CameraData3.StreamUrl, this.configOnWeb.CameraData4.StreamUrl, c3Device, this.apiController, true, false, true);
laneOut.BorderStyle = BorderStyle.FixedSingle;
laneOut.Location = new System.Drawing.Point(laneIn.Location.X + laneIn.Width + 20, 0);
Controls.Add(laneOut);

View File

@ -359,7 +359,7 @@ namespace AIParkingApplication
public string Type { get; set; }
[JsonProperty("stream_url")]
public string Stream_url { get; set; }
public string StreamUrl { get; set; }
[JsonProperty("minWidth")]
public double MinWidth { get; set; }