AIParkingApplication/AIParkingApplication/AIParkingApplicationForm.cs
2020-06-24 16:26:09 +07:00

26 lines
1002 B
C#

using System.Windows.Forms;
namespace AIParkingApplication
{
public partial class AIParkingApplicationForm : Form
{
//@"C:\CongRa_1.mp4"; @"C:\HS_test.mp4"; @"rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov"
public AIParkingApplicationForm()
{
InitializeComponent();
C3DeviceController c3Device = new C3DeviceController("192.168.1.200");
LaneIn laneIn = new LaneIn(1, @"C:\HS_test.mp4", @"C:\HS_test.mp4", c3Device, true, false, true);
//LaneIn laneOut = new LaneIn();
Controls.Add(laneIn);
laneIn.Start();
//laneOut.Location = new System.Drawing.Point(550, 0);
//Controls.Add(laneOut);
//LaneIn laneIn1 = new LaneIn(@"C:\HS_test.mp4", @"C:\HS_test.mp4", c3Device, true, false, false);
//laneIn1.Location = new System.Drawing.Point(550, 0);
//Controls.Add(laneIn1);
//laneIn1.Start();
}
}
}