diff --git a/Parking_spaces/Controllers/EngineeringController.cs b/Parking_spaces/Controllers/EngineeringController.cs index 7929b4c..29c69d6 100644 --- a/Parking_spaces/Controllers/EngineeringController.cs +++ b/Parking_spaces/Controllers/EngineeringController.cs @@ -81,6 +81,11 @@ namespace Parking_spaces.Controllers return View(); } + public IActionResult Yuntech_in_car() + { + return View(); + } + } } diff --git a/Parking_spaces/Views/Engineering/Engineering_Index.cshtml b/Parking_spaces/Views/Engineering/Engineering_Index.cshtml index e31a837..a3fc8cf 100644 --- a/Parking_spaces/Views/Engineering/Engineering_Index.cshtml +++ b/Parking_spaces/Views/Engineering/Engineering_Index.cshtml @@ -108,7 +108,7 @@ -
+
@@ -154,7 +154,7 @@
-
+
@@ -234,6 +234,7 @@ // 取得 canvas 元素 var ctx = document.getElementById('in_car_Bar') + // 使用 Chart.js 繪製長條圖 var myBarChart = new Chart(ctx, { type: 'bar', @@ -257,6 +258,9 @@ } } }); + + + } @@ -274,6 +278,8 @@ // 取得 canvas 元素 var ctx = document.getElementById('violation_car_Bar') + + // 使用 Chart.js 繪製長條圖 var myBarChart = new Chart(ctx, { type: 'bar', diff --git a/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml b/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml new file mode 100644 index 0000000..4b6c4c6 --- /dev/null +++ b/Parking_spaces/Views/Engineering/Yuntech_in_car.cshtml @@ -0,0 +1,258 @@ + +@{ + ViewData["Title"] = "Yuntech_in_car"; + Layout = "~/Views/Shared/_Layout_Engineering.cshtml"; +} + +

進入車輛

+ + +
+ + + + + + + + + + + + + + + + +
+ 區域 + + 車牌號碼 + + 時間 +
+
+ + +
+ + + + +

+ + + + + + + + + + + + + + +
+ 區域 + + 車牌號碼 + + 進入圖片 + + 時間 +
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + diff --git a/Parking_spaces/Views/Shared/_Layout_Engineering.cshtml b/Parking_spaces/Views/Shared/_Layout_Engineering.cshtml index 7133c69..58f00f7 100644 --- a/Parking_spaces/Views/Shared/_Layout_Engineering.cshtml +++ b/Parking_spaces/Views/Shared/_Layout_Engineering.cshtml @@ -78,6 +78,7 @@ 查看WEBCAM 字幕機顯示 違規區域 + 進入車輛 即時影像