92 lines
2.1 KiB
C#
92 lines
2.1 KiB
C#
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();
|
|
}
|
|
public IActionResult Engineering_Index_()
|
|
{
|
|
return View();
|
|
}
|
|
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();
|
|
}
|
|
public IActionResult Single_violation_detail(string id)
|
|
{
|
|
ViewBag.parking_spaces_name = id;
|
|
return View();
|
|
}
|
|
public IActionResult Bootstrap_test(string id)
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult Map_RTSP(string id)
|
|
{
|
|
return View();
|
|
}
|
|
|
|
public IActionResult Yuntech_in_car()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
|
|
}
|
|
}
|