parking-html/Parking_spaces/Controllers/EngineeringController.cs

96 lines
2.2 KiB
C#
Raw Normal View History

2024-02-01 11:37:15 +08:00
using Microsoft.AspNetCore.Mvc;
using System.Text.RegularExpressions;
using Emgu.CV;
using Emgu.CV.CvEnum;
using Emgu.CV.Structure;
namespace Parking_spaces.Controllers
{
public class EngineeringController : Controller
{
private VideoCapture _capture;
public IActionResult Engineering_total_table()
{
return View();
}
public IActionResult Engineering_Index()
{
return View();
}
2024-02-04 11:58:46 +08:00
public IActionResult Engineering_Index_()
{
return View();
}
2024-02-20 16:29:25 +08:00
public IActionResult Engineering_Interview()
{
return View();
}
2024-02-01 11:37:15 +08:00
public IActionResult Engineering_CAM()
{
return View();
}
public IActionResult Engineering_LED()
{
return View();
}
public IActionResult Engineering_LED_detail(string id)
{
ViewBag.parking_spaces_name = id;
return View();
}
public IActionResult Engineering_CAM_detail(string id)
{
ViewBag.parking_spaces_name = "";
ViewBag.ip = "";
ViewBag.port = "";
string[] str_list = Regex.Split(id, ":");
if (str_list.Length >= 2)
{
ViewBag.parking_spaces_name = str_list[0];
ViewBag.ip = str_list[1];
ViewBag.port = str_list[2];
}
else
{
ViewBag.ip = str_list[0];
}
//ViewBag.parking_spaces_name = id;
return View();
}
public IActionResult Engineering_Violation()
{
return View();
}
public IActionResult Engineering_RTSP()
{
return View();
}
2024-02-01 11:37:15 +08:00
public IActionResult Single_violation_detail(string id)
{
ViewBag.parking_spaces_name = id;
return View();
}
public IActionResult Bootstrap_test(string id)
{
return View();
}
2024-02-03 21:33:29 +08:00
public IActionResult Map_RTSP(string id)
{
return View();
}
2024-02-05 12:08:31 +08:00
public IActionResult Yuntech_in_car()
{
return View();
}
2024-02-01 11:37:15 +08:00
}
}