808 lines
35 KiB
C#
808 lines
35 KiB
C#
namespace FATrace.OEMApp
|
|
{
|
|
partial class MainApp
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
components = new System.ComponentModel.Container();
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainApp));
|
|
statusStrip1 = new StatusStrip();
|
|
tslPlcConnection = new ToolStripStatusLabel();
|
|
tslSqlConnection = new ToolStripStatusLabel();
|
|
tslNasConnection = new ToolStripStatusLabel();
|
|
tslNVRConnection = new ToolStripStatusLabel();
|
|
imageList1 = new ImageList(components);
|
|
materialTabControl1 = new ReaLTaiizor.Controls.MaterialTabControl();
|
|
tabPage1 = new TabPage();
|
|
materialCard4 = new ReaLTaiizor.Controls.MaterialCard();
|
|
txtCsvSaveState = new TextBox();
|
|
label12 = new Label();
|
|
DownloadFileName = new TextBox();
|
|
label10 = new Label();
|
|
label9 = new Label();
|
|
label11 = new Label();
|
|
DownloadProgressBarMain = new ProgressBar();
|
|
materialCard3 = new ReaLTaiizor.Controls.MaterialCard();
|
|
LvLog = new ListView();
|
|
label8 = new Label();
|
|
materialCard2 = new ReaLTaiizor.Controls.MaterialCard();
|
|
label19 = new Label();
|
|
txtRURawCode = new TextBox();
|
|
gridRULog = new DataGridView();
|
|
btnRawStopLoadVideo = new Button();
|
|
btnTestAction = new Button();
|
|
label7 = new Label();
|
|
txtRURawName = new TextBox();
|
|
label6 = new Label();
|
|
txtRUInBagCode = new TextBox();
|
|
label5 = new Label();
|
|
tabPage2 = new TabPage();
|
|
dataGridView1 = new DataGridView();
|
|
materialCard1 = new ReaLTaiizor.Controls.MaterialCard();
|
|
btnStopHistoryPlay = new Button();
|
|
label4 = new Label();
|
|
txtSearchCode = new TextBox();
|
|
btnHistoryVideoSearch = new Button();
|
|
label3 = new Label();
|
|
PdtHistorySearchEnd = new ReaLTaiizor.Controls.PoisonDateTime();
|
|
label2 = new Label();
|
|
label1 = new Label();
|
|
PdtHistorySearchStart = new ReaLTaiizor.Controls.PoisonDateTime();
|
|
videoView1 = new LibVLCSharp.WinForms.VideoView();
|
|
tabPage3 = new TabPage();
|
|
metroProgressBar1 = new ReaLTaiizor.Controls.MetroProgressBar();
|
|
DownloadProgressBar = new ProgressBar();
|
|
btnStopLoadVideo = new Button();
|
|
btnNVRLogin = new Button();
|
|
imageList2 = new ImageList(components);
|
|
navPanel = new Panel();
|
|
btnNavMain = new Button();
|
|
btnNavHistory = new Button();
|
|
btnNavSettings = new Button();
|
|
statusStrip1.SuspendLayout();
|
|
materialTabControl1.SuspendLayout();
|
|
tabPage1.SuspendLayout();
|
|
materialCard4.SuspendLayout();
|
|
materialCard3.SuspendLayout();
|
|
materialCard2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)gridRULog).BeginInit();
|
|
tabPage2.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).BeginInit();
|
|
materialCard1.SuspendLayout();
|
|
((System.ComponentModel.ISupportInitialize)videoView1).BeginInit();
|
|
tabPage3.SuspendLayout();
|
|
navPanel.SuspendLayout();
|
|
SuspendLayout();
|
|
//
|
|
// statusStrip1
|
|
//
|
|
statusStrip1.Items.AddRange(new ToolStripItem[] { tslPlcConnection, tslSqlConnection, tslNasConnection, tslNVRConnection });
|
|
statusStrip1.Location = new Point(3, 1005);
|
|
statusStrip1.Name = "statusStrip1";
|
|
statusStrip1.Size = new Size(1914, 22);
|
|
statusStrip1.TabIndex = 1;
|
|
statusStrip1.Text = "statusStrip1";
|
|
//
|
|
// tslPlcConnection
|
|
//
|
|
tslPlcConnection.Name = "tslPlcConnection";
|
|
tslPlcConnection.Size = new Size(474, 17);
|
|
tslPlcConnection.Spring = true;
|
|
tslPlcConnection.Text = "Plc连接状态";
|
|
//
|
|
// tslSqlConnection
|
|
//
|
|
tslSqlConnection.Name = "tslSqlConnection";
|
|
tslSqlConnection.Size = new Size(474, 17);
|
|
tslSqlConnection.Spring = true;
|
|
tslSqlConnection.Text = "服务连接状态";
|
|
//
|
|
// tslNasConnection
|
|
//
|
|
tslNasConnection.Name = "tslNasConnection";
|
|
tslNasConnection.Size = new Size(474, 17);
|
|
tslNasConnection.Spring = true;
|
|
tslNasConnection.Text = "NAS连接状态";
|
|
//
|
|
// tslNVRConnection
|
|
//
|
|
tslNVRConnection.Name = "tslNVRConnection";
|
|
tslNVRConnection.Size = new Size(474, 17);
|
|
tslNVRConnection.Spring = true;
|
|
tslNVRConnection.Text = "NVR连接状态";
|
|
//
|
|
// imageList1
|
|
//
|
|
imageList1.ColorDepth = ColorDepth.Depth32Bit;
|
|
imageList1.ImageStream = (ImageListStreamer)resources.GetObject("imageList1.ImageStream");
|
|
imageList1.TransparentColor = Color.Transparent;
|
|
imageList1.Images.SetKeyName(0, "Log.png");
|
|
imageList1.Images.SetKeyName(1, "Load.png");
|
|
imageList1.Images.SetKeyName(2, "set3.png");
|
|
imageList1.Images.SetKeyName(3, "set2.png");
|
|
imageList1.Images.SetKeyName(4, "set1.png");
|
|
imageList1.Images.SetKeyName(5, "Main.png");
|
|
imageList1.Images.SetKeyName(6, "Quit.png");
|
|
imageList1.Images.SetKeyName(7, "red_alert_128px_569416_easyicon.net.png");
|
|
//
|
|
// materialTabControl1
|
|
//
|
|
materialTabControl1.Appearance = TabAppearance.FlatButtons;
|
|
materialTabControl1.Controls.Add(tabPage1);
|
|
materialTabControl1.Controls.Add(tabPage2);
|
|
materialTabControl1.Controls.Add(tabPage3);
|
|
materialTabControl1.Depth = 0;
|
|
materialTabControl1.Dock = DockStyle.Fill;
|
|
materialTabControl1.ImageList = imageList1;
|
|
materialTabControl1.ItemSize = new Size(0, 1);
|
|
materialTabControl1.Location = new Point(3, 64);
|
|
materialTabControl1.MouseState = ReaLTaiizor.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
|
|
materialTabControl1.Multiline = true;
|
|
materialTabControl1.Name = "materialTabControl1";
|
|
materialTabControl1.SelectedIndex = 0;
|
|
materialTabControl1.Size = new Size(1914, 963);
|
|
materialTabControl1.SizeMode = TabSizeMode.Fixed;
|
|
materialTabControl1.TabIndex = 0;
|
|
//
|
|
// tabPage1
|
|
//
|
|
tabPage1.Controls.Add(materialCard4);
|
|
tabPage1.Controls.Add(materialCard3);
|
|
tabPage1.Controls.Add(materialCard2);
|
|
tabPage1.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
tabPage1.ImageKey = "set2.png";
|
|
tabPage1.Location = new Point(4, 5);
|
|
tabPage1.Name = "tabPage1";
|
|
tabPage1.Padding = new Padding(3);
|
|
tabPage1.Size = new Size(1906, 954);
|
|
tabPage1.TabIndex = 0;
|
|
tabPage1.Text = "主界面";
|
|
tabPage1.UseVisualStyleBackColor = true;
|
|
//
|
|
// materialCard4
|
|
//
|
|
materialCard4.BackColor = Color.FromArgb(255, 255, 255);
|
|
materialCard4.Controls.Add(txtCsvSaveState);
|
|
materialCard4.Controls.Add(label12);
|
|
materialCard4.Controls.Add(DownloadFileName);
|
|
materialCard4.Controls.Add(label10);
|
|
materialCard4.Controls.Add(label9);
|
|
materialCard4.Controls.Add(label11);
|
|
materialCard4.Controls.Add(DownloadProgressBarMain);
|
|
materialCard4.Depth = 0;
|
|
materialCard4.ForeColor = Color.FromArgb(222, 0, 0, 0);
|
|
materialCard4.Location = new Point(196, 373);
|
|
materialCard4.Margin = new Padding(14);
|
|
materialCard4.MouseState = ReaLTaiizor.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
|
|
materialCard4.Name = "materialCard4";
|
|
materialCard4.Padding = new Padding(14);
|
|
materialCard4.Size = new Size(579, 535);
|
|
materialCard4.TabIndex = 5;
|
|
//
|
|
// txtCsvSaveState
|
|
//
|
|
txtCsvSaveState.Font = new Font("Microsoft YaHei UI", 10F, FontStyle.Bold);
|
|
txtCsvSaveState.Location = new Point(27, 264);
|
|
txtCsvSaveState.Name = "txtCsvSaveState";
|
|
txtCsvSaveState.ReadOnly = true;
|
|
txtCsvSaveState.Size = new Size(493, 24);
|
|
txtCsvSaveState.TabIndex = 15;
|
|
//
|
|
// label12
|
|
//
|
|
label12.AutoSize = true;
|
|
label12.ForeColor = Color.DimGray;
|
|
label12.Location = new Point(26, 229);
|
|
label12.Name = "label12";
|
|
label12.Size = new Size(164, 26);
|
|
label12.TabIndex = 14;
|
|
label12.Text = "CSV文件生成状态";
|
|
//
|
|
// DownloadFileName
|
|
//
|
|
DownloadFileName.Location = new Point(27, 96);
|
|
DownloadFileName.Name = "DownloadFileName";
|
|
DownloadFileName.ReadOnly = true;
|
|
DownloadFileName.Size = new Size(493, 32);
|
|
DownloadFileName.TabIndex = 11;
|
|
//
|
|
// label10
|
|
//
|
|
label10.AutoSize = true;
|
|
label10.ForeColor = Color.DimGray;
|
|
label10.Location = new Point(27, 58);
|
|
label10.Name = "label10";
|
|
label10.Size = new Size(126, 26);
|
|
label10.TabIndex = 12;
|
|
label10.Text = "视频文件名称";
|
|
//
|
|
// label9
|
|
//
|
|
label9.AutoSize = true;
|
|
label9.ForeColor = Color.DimGray;
|
|
label9.Location = new Point(27, 144);
|
|
label9.Name = "label9";
|
|
label9.Size = new Size(88, 26);
|
|
label9.TabIndex = 11;
|
|
label9.Text = "下载进度";
|
|
//
|
|
// label11
|
|
//
|
|
label11.AutoSize = true;
|
|
label11.Font = new Font("Microsoft YaHei UI", 16F, FontStyle.Bold);
|
|
label11.ForeColor = Color.FromArgb(64, 64, 64);
|
|
label11.Location = new Point(10, 9);
|
|
label11.Name = "label11";
|
|
label11.Size = new Size(145, 30);
|
|
label11.TabIndex = 0;
|
|
label11.Text = "视频下载状态";
|
|
//
|
|
// DownloadProgressBarMain
|
|
//
|
|
DownloadProgressBarMain.Location = new Point(27, 178);
|
|
DownloadProgressBarMain.Name = "DownloadProgressBarMain";
|
|
DownloadProgressBarMain.Size = new Size(493, 32);
|
|
DownloadProgressBarMain.TabIndex = 6;
|
|
//
|
|
// materialCard3
|
|
//
|
|
materialCard3.BackColor = Color.FromArgb(255, 255, 255);
|
|
materialCard3.Controls.Add(LvLog);
|
|
materialCard3.Controls.Add(label8);
|
|
materialCard3.Depth = 0;
|
|
materialCard3.ForeColor = Color.FromArgb(222, 0, 0, 0);
|
|
materialCard3.Location = new Point(788, 373);
|
|
materialCard3.Margin = new Padding(14);
|
|
materialCard3.MouseState = ReaLTaiizor.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
|
|
materialCard3.Name = "materialCard3";
|
|
materialCard3.Padding = new Padding(14);
|
|
materialCard3.Size = new Size(1109, 535);
|
|
materialCard3.TabIndex = 1;
|
|
//
|
|
// LvLog
|
|
//
|
|
LvLog.Location = new Point(17, 58);
|
|
LvLog.Name = "LvLog";
|
|
LvLog.Size = new Size(1075, 460);
|
|
LvLog.TabIndex = 6;
|
|
LvLog.UseCompatibleStateImageBehavior = false;
|
|
//
|
|
// label8
|
|
//
|
|
label8.AutoSize = true;
|
|
label8.Font = new Font("Microsoft YaHei UI", 15.75F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label8.ForeColor = Color.FromArgb(64, 64, 64);
|
|
label8.Location = new Point(17, 14);
|
|
label8.Name = "label8";
|
|
label8.Size = new Size(138, 28);
|
|
label8.TabIndex = 5;
|
|
label8.Text = "系统运行日志";
|
|
//
|
|
// materialCard2
|
|
//
|
|
materialCard2.BackColor = Color.FromArgb(255, 255, 255);
|
|
materialCard2.Controls.Add(label19);
|
|
materialCard2.Controls.Add(txtRURawCode);
|
|
materialCard2.Controls.Add(gridRULog);
|
|
materialCard2.Controls.Add(btnRawStopLoadVideo);
|
|
materialCard2.Controls.Add(btnTestAction);
|
|
materialCard2.Controls.Add(label7);
|
|
materialCard2.Controls.Add(txtRURawName);
|
|
materialCard2.Controls.Add(label6);
|
|
materialCard2.Controls.Add(txtRUInBagCode);
|
|
materialCard2.Controls.Add(label5);
|
|
materialCard2.Depth = 0;
|
|
materialCard2.ForeColor = Color.FromArgb(222, 0, 0, 0);
|
|
materialCard2.Location = new Point(196, 9);
|
|
materialCard2.Margin = new Padding(14);
|
|
materialCard2.MouseState = ReaLTaiizor.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
|
|
materialCard2.Name = "materialCard2";
|
|
materialCard2.Padding = new Padding(14);
|
|
materialCard2.Size = new Size(1701, 348);
|
|
materialCard2.TabIndex = 0;
|
|
//
|
|
// label19
|
|
//
|
|
label19.AutoSize = true;
|
|
label19.ForeColor = Color.DimGray;
|
|
label19.Location = new Point(29, 180);
|
|
label19.Name = "label19";
|
|
label19.Size = new Size(88, 26);
|
|
label19.TabIndex = 10;
|
|
label19.Text = "原料条码";
|
|
//
|
|
// txtRURawCode
|
|
//
|
|
txtRURawCode.Location = new Point(142, 177);
|
|
txtRURawCode.Name = "txtRURawCode";
|
|
txtRURawCode.ReadOnly = true;
|
|
txtRURawCode.Size = new Size(387, 32);
|
|
txtRURawCode.TabIndex = 9;
|
|
//
|
|
// gridRULog
|
|
//
|
|
gridRULog.AllowUserToAddRows = false;
|
|
gridRULog.AllowUserToDeleteRows = false;
|
|
gridRULog.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
|
gridRULog.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
gridRULog.Location = new Point(592, 9);
|
|
gridRULog.Name = "gridRULog";
|
|
gridRULog.ReadOnly = true;
|
|
gridRULog.RowHeadersVisible = false;
|
|
gridRULog.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
|
|
gridRULog.Size = new Size(1092, 330);
|
|
gridRULog.TabIndex = 8;
|
|
//
|
|
// btnRawStopLoadVideo
|
|
//
|
|
btnRawStopLoadVideo.Location = new Point(285, 271);
|
|
btnRawStopLoadVideo.Name = "btnRawStopLoadVideo";
|
|
btnRawStopLoadVideo.Size = new Size(142, 44);
|
|
btnRawStopLoadVideo.TabIndex = 7;
|
|
btnRawStopLoadVideo.Text = "停止下载";
|
|
btnRawStopLoadVideo.UseVisualStyleBackColor = true;
|
|
btnRawStopLoadVideo.Click += btnRawStopLoadVideo_Click;
|
|
//
|
|
// btnTestAction
|
|
//
|
|
btnTestAction.Location = new Point(137, 271);
|
|
btnTestAction.Name = "btnTestAction";
|
|
btnTestAction.Size = new Size(142, 44);
|
|
btnTestAction.TabIndex = 5;
|
|
btnTestAction.Text = "结束操作";
|
|
btnTestAction.UseVisualStyleBackColor = true;
|
|
btnTestAction.Click += btnTestAction_Click;
|
|
//
|
|
// label7
|
|
//
|
|
label7.AutoSize = true;
|
|
label7.ForeColor = Color.DimGray;
|
|
label7.Location = new Point(29, 126);
|
|
label7.Name = "label7";
|
|
label7.Size = new Size(88, 26);
|
|
label7.TabIndex = 4;
|
|
label7.Text = "原料名称";
|
|
//
|
|
// txtRURawName
|
|
//
|
|
txtRURawName.Location = new Point(142, 123);
|
|
txtRURawName.Name = "txtRURawName";
|
|
txtRURawName.ReadOnly = true;
|
|
txtRURawName.Size = new Size(387, 32);
|
|
txtRURawName.TabIndex = 3;
|
|
//
|
|
// label6
|
|
//
|
|
label6.AutoSize = true;
|
|
label6.ForeColor = Color.DimGray;
|
|
label6.Location = new Point(29, 68);
|
|
label6.Name = "label6";
|
|
label6.Size = new Size(107, 26);
|
|
label6.TabIndex = 2;
|
|
label6.Text = "内袋二维码";
|
|
//
|
|
// txtRUInBagCode
|
|
//
|
|
txtRUInBagCode.Location = new Point(142, 65);
|
|
txtRUInBagCode.Name = "txtRUInBagCode";
|
|
txtRUInBagCode.ReadOnly = true;
|
|
txtRUInBagCode.Size = new Size(387, 32);
|
|
txtRUInBagCode.TabIndex = 1;
|
|
//
|
|
// label5
|
|
//
|
|
label5.AutoSize = true;
|
|
label5.Font = new Font("Microsoft YaHei UI", 15.75F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label5.ForeColor = Color.FromArgb(64, 64, 64);
|
|
label5.Location = new Point(10, 9);
|
|
label5.Name = "label5";
|
|
label5.Size = new Size(180, 28);
|
|
label5.TabIndex = 0;
|
|
label5.Text = "当前原料使用信息";
|
|
//
|
|
// tabPage2
|
|
//
|
|
tabPage2.Controls.Add(dataGridView1);
|
|
tabPage2.Controls.Add(materialCard1);
|
|
tabPage2.Controls.Add(videoView1);
|
|
tabPage2.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
tabPage2.ImageKey = "Load.png";
|
|
tabPage2.Location = new Point(4, 5);
|
|
tabPage2.Name = "tabPage2";
|
|
tabPage2.Padding = new Padding(3);
|
|
tabPage2.Size = new Size(1906, 954);
|
|
tabPage2.TabIndex = 1;
|
|
tabPage2.Text = "录像历史数据";
|
|
tabPage2.UseVisualStyleBackColor = true;
|
|
//
|
|
// dataGridView1
|
|
//
|
|
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
|
dataGridView1.Location = new Point(197, 235);
|
|
dataGridView1.Name = "dataGridView1";
|
|
dataGridView1.ReadOnly = true;
|
|
dataGridView1.Size = new Size(835, 677);
|
|
dataGridView1.TabIndex = 11;
|
|
//
|
|
// materialCard1
|
|
//
|
|
materialCard1.BackColor = Color.FromArgb(255, 255, 255);
|
|
materialCard1.Controls.Add(btnStopHistoryPlay);
|
|
materialCard1.Controls.Add(label4);
|
|
materialCard1.Controls.Add(txtSearchCode);
|
|
materialCard1.Controls.Add(btnHistoryVideoSearch);
|
|
materialCard1.Controls.Add(label3);
|
|
materialCard1.Controls.Add(PdtHistorySearchEnd);
|
|
materialCard1.Controls.Add(label2);
|
|
materialCard1.Controls.Add(label1);
|
|
materialCard1.Controls.Add(PdtHistorySearchStart);
|
|
materialCard1.Depth = 0;
|
|
materialCard1.ForeColor = Color.FromArgb(222, 0, 0, 0);
|
|
materialCard1.Location = new Point(197, 24);
|
|
materialCard1.Margin = new Padding(14);
|
|
materialCard1.MouseState = ReaLTaiizor.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
|
|
materialCard1.Name = "materialCard1";
|
|
materialCard1.Padding = new Padding(14);
|
|
materialCard1.Size = new Size(836, 194);
|
|
materialCard1.TabIndex = 10;
|
|
//
|
|
// btnStopHistoryPlay
|
|
//
|
|
btnStopHistoryPlay.Location = new Point(642, 132);
|
|
btnStopHistoryPlay.Name = "btnStopHistoryPlay";
|
|
btnStopHistoryPlay.Size = new Size(116, 45);
|
|
btnStopHistoryPlay.TabIndex = 12;
|
|
btnStopHistoryPlay.Text = "停止播放";
|
|
btnStopHistoryPlay.UseVisualStyleBackColor = true;
|
|
btnStopHistoryPlay.Visible = false;
|
|
btnStopHistoryPlay.Click += btnStopHistoryPlay_Click;
|
|
//
|
|
// label4
|
|
//
|
|
label4.AutoSize = true;
|
|
label4.ForeColor = Color.Gray;
|
|
label4.Location = new Point(196, 34);
|
|
label4.Name = "label4";
|
|
label4.Size = new Size(88, 26);
|
|
label4.TabIndex = 7;
|
|
label4.Text = "条码信息";
|
|
//
|
|
// txtSearchCode
|
|
//
|
|
txtSearchCode.Location = new Point(17, 63);
|
|
txtSearchCode.Name = "txtSearchCode";
|
|
txtSearchCode.Size = new Size(449, 32);
|
|
txtSearchCode.TabIndex = 6;
|
|
//
|
|
// btnHistoryVideoSearch
|
|
//
|
|
btnHistoryVideoSearch.ForeColor = Color.DimGray;
|
|
btnHistoryVideoSearch.Location = new Point(295, 121);
|
|
btnHistoryVideoSearch.Name = "btnHistoryVideoSearch";
|
|
btnHistoryVideoSearch.Size = new Size(210, 56);
|
|
btnHistoryVideoSearch.TabIndex = 5;
|
|
btnHistoryVideoSearch.Text = "历史记录视频搜索";
|
|
btnHistoryVideoSearch.UseVisualStyleBackColor = true;
|
|
btnHistoryVideoSearch.Click += btnHistoryVideoSearch_Click;
|
|
//
|
|
// label3
|
|
//
|
|
label3.AutoSize = true;
|
|
label3.ForeColor = Color.Gray;
|
|
label3.Location = new Point(647, 24);
|
|
label3.Name = "label3";
|
|
label3.Size = new Size(88, 26);
|
|
label3.TabIndex = 4;
|
|
label3.Text = "结束时间";
|
|
//
|
|
// PdtHistorySearchEnd
|
|
//
|
|
PdtHistorySearchEnd.FontSize = ReaLTaiizor.Extension.Poison.PoisonDateTimeSize.Medium;
|
|
PdtHistorySearchEnd.Location = new Point(627, 62);
|
|
PdtHistorySearchEnd.MinimumSize = new Size(0, 29);
|
|
PdtHistorySearchEnd.Name = "PdtHistorySearchEnd";
|
|
PdtHistorySearchEnd.Size = new Size(131, 32);
|
|
PdtHistorySearchEnd.TabIndex = 3;
|
|
//
|
|
// label2
|
|
//
|
|
label2.AutoSize = true;
|
|
label2.ForeColor = Color.Gray;
|
|
label2.Location = new Point(501, 24);
|
|
label2.Name = "label2";
|
|
label2.Size = new Size(88, 26);
|
|
label2.TabIndex = 2;
|
|
label2.Text = "开始时间";
|
|
//
|
|
// label1
|
|
//
|
|
label1.AutoSize = true;
|
|
label1.Font = new Font("Microsoft YaHei UI", 15.75F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
label1.ForeColor = Color.Gray;
|
|
label1.Location = new Point(6, 7);
|
|
label1.Name = "label1";
|
|
label1.Size = new Size(96, 28);
|
|
label1.TabIndex = 1;
|
|
label1.Text = "搜索条件";
|
|
//
|
|
// PdtHistorySearchStart
|
|
//
|
|
PdtHistorySearchStart.FontSize = ReaLTaiizor.Extension.Poison.PoisonDateTimeSize.Medium;
|
|
PdtHistorySearchStart.Location = new Point(481, 62);
|
|
PdtHistorySearchStart.MinimumSize = new Size(0, 29);
|
|
PdtHistorySearchStart.Name = "PdtHistorySearchStart";
|
|
PdtHistorySearchStart.Size = new Size(131, 32);
|
|
PdtHistorySearchStart.TabIndex = 0;
|
|
//
|
|
// videoView1
|
|
//
|
|
videoView1.BackColor = Color.Black;
|
|
videoView1.Location = new Point(1043, 24);
|
|
videoView1.MediaPlayer = null;
|
|
videoView1.Name = "videoView1";
|
|
videoView1.Size = new Size(857, 888);
|
|
videoView1.TabIndex = 7;
|
|
videoView1.Text = "videoView1";
|
|
//
|
|
// tabPage3
|
|
//
|
|
tabPage3.Controls.Add(metroProgressBar1);
|
|
tabPage3.Controls.Add(DownloadProgressBar);
|
|
tabPage3.Controls.Add(btnStopLoadVideo);
|
|
tabPage3.Controls.Add(btnNVRLogin);
|
|
tabPage3.ImageKey = "set3.png";
|
|
tabPage3.Location = new Point(4, 5);
|
|
tabPage3.Name = "tabPage3";
|
|
tabPage3.Size = new Size(1906, 954);
|
|
tabPage3.TabIndex = 2;
|
|
tabPage3.Text = "相机设置";
|
|
tabPage3.UseVisualStyleBackColor = true;
|
|
//
|
|
// metroProgressBar1
|
|
//
|
|
metroProgressBar1.BackgroundColor = Color.FromArgb(238, 238, 238);
|
|
metroProgressBar1.BorderColor = Color.FromArgb(238, 238, 238);
|
|
metroProgressBar1.DisabledBackColor = Color.FromArgb(238, 238, 238);
|
|
metroProgressBar1.DisabledBorderColor = Color.FromArgb(238, 238, 238);
|
|
metroProgressBar1.DisabledProgressColor = Color.FromArgb(120, 65, 177, 225);
|
|
metroProgressBar1.IsDerivedStyle = true;
|
|
metroProgressBar1.Location = new Point(252, 181);
|
|
metroProgressBar1.Maximum = 100;
|
|
metroProgressBar1.Minimum = 0;
|
|
metroProgressBar1.Name = "metroProgressBar1";
|
|
metroProgressBar1.Orientation = ReaLTaiizor.Enum.Metro.ProgressOrientation.Horizontal;
|
|
metroProgressBar1.ProgressColor = Color.FromArgb(65, 177, 225);
|
|
metroProgressBar1.Size = new Size(125, 23);
|
|
metroProgressBar1.Style = ReaLTaiizor.Enum.Metro.Style.Light;
|
|
metroProgressBar1.StyleManager = null;
|
|
metroProgressBar1.TabIndex = 4;
|
|
metroProgressBar1.Text = "metroProgressBar1";
|
|
metroProgressBar1.ThemeAuthor = "Taiizor";
|
|
metroProgressBar1.ThemeName = "MetroLight";
|
|
metroProgressBar1.Value = 0;
|
|
//
|
|
// DownloadProgressBar
|
|
//
|
|
DownloadProgressBar.Location = new Point(382, 112);
|
|
DownloadProgressBar.Name = "DownloadProgressBar";
|
|
DownloadProgressBar.Size = new Size(130, 23);
|
|
DownloadProgressBar.TabIndex = 3;
|
|
//
|
|
// btnStopLoadVideo
|
|
//
|
|
btnStopLoadVideo.Location = new Point(544, 42);
|
|
btnStopLoadVideo.Name = "btnStopLoadVideo";
|
|
btnStopLoadVideo.Size = new Size(130, 58);
|
|
btnStopLoadVideo.TabIndex = 2;
|
|
btnStopLoadVideo.Text = "停止下载视频";
|
|
btnStopLoadVideo.UseVisualStyleBackColor = true;
|
|
btnStopLoadVideo.Click += btnStopLoadVideo_Click;
|
|
//
|
|
// btnNVRLogin
|
|
//
|
|
btnNVRLogin.Location = new Point(219, 42);
|
|
btnNVRLogin.Name = "btnNVRLogin";
|
|
btnNVRLogin.Size = new Size(130, 58);
|
|
btnNVRLogin.TabIndex = 0;
|
|
btnNVRLogin.Text = "相机登录";
|
|
btnNVRLogin.UseVisualStyleBackColor = true;
|
|
btnNVRLogin.Click += btnNVRLogin_Click;
|
|
//
|
|
// imageList2
|
|
//
|
|
imageList2.ColorDepth = ColorDepth.Depth32Bit;
|
|
imageList2.ImageStream = (ImageListStreamer)resources.GetObject("imageList2.ImageStream");
|
|
imageList2.TransparentColor = Color.Transparent;
|
|
imageList2.Images.SetKeyName(0, "About.png");
|
|
//
|
|
// navPanel
|
|
//
|
|
navPanel.BackColor = Color.FromArgb(250, 250, 250);
|
|
navPanel.Controls.Add(btnNavMain);
|
|
navPanel.Controls.Add(btnNavHistory);
|
|
navPanel.Controls.Add(btnNavSettings);
|
|
navPanel.Dock = DockStyle.Left;
|
|
navPanel.Location = new Point(3, 64);
|
|
navPanel.Name = "navPanel";
|
|
navPanel.Size = new Size(183, 941);
|
|
navPanel.TabIndex = 2;
|
|
//
|
|
// btnNavMain
|
|
//
|
|
btnNavMain.BackColor = Color.FromArgb(63, 81, 181);
|
|
btnNavMain.FlatAppearance.BorderSize = 0;
|
|
btnNavMain.FlatStyle = FlatStyle.Flat;
|
|
btnNavMain.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold);
|
|
btnNavMain.ForeColor = Color.White;
|
|
btnNavMain.ImageAlign = ContentAlignment.MiddleLeft;
|
|
btnNavMain.Location = new Point(0, 3);
|
|
btnNavMain.Name = "btnNavMain";
|
|
btnNavMain.Padding = new Padding(10, 0, 0, 0);
|
|
btnNavMain.Size = new Size(183, 60);
|
|
btnNavMain.TabIndex = 0;
|
|
btnNavMain.Text = " 主界面";
|
|
btnNavMain.TextAlign = ContentAlignment.MiddleLeft;
|
|
btnNavMain.TextImageRelation = TextImageRelation.ImageBeforeText;
|
|
btnNavMain.UseVisualStyleBackColor = false;
|
|
btnNavMain.Click += BtnNavMain_Click;
|
|
//
|
|
// btnNavHistory
|
|
//
|
|
btnNavHistory.BackColor = Color.FromArgb(240, 240, 240);
|
|
btnNavHistory.FlatAppearance.BorderSize = 0;
|
|
btnNavHistory.FlatStyle = FlatStyle.Flat;
|
|
btnNavHistory.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold);
|
|
btnNavHistory.ForeColor = Color.FromArgb(64, 64, 64);
|
|
btnNavHistory.ImageAlign = ContentAlignment.MiddleLeft;
|
|
btnNavHistory.Location = new Point(0, 65);
|
|
btnNavHistory.Name = "btnNavHistory";
|
|
btnNavHistory.Padding = new Padding(10, 0, 0, 0);
|
|
btnNavHistory.Size = new Size(183, 60);
|
|
btnNavHistory.TabIndex = 1;
|
|
btnNavHistory.Text = " 历史记录";
|
|
btnNavHistory.TextAlign = ContentAlignment.MiddleLeft;
|
|
btnNavHistory.TextImageRelation = TextImageRelation.ImageBeforeText;
|
|
btnNavHistory.UseVisualStyleBackColor = false;
|
|
btnNavHistory.Click += BtnNavHistory_Click;
|
|
//
|
|
// btnNavSettings
|
|
//
|
|
btnNavSettings.BackColor = Color.FromArgb(240, 240, 240);
|
|
btnNavSettings.FlatAppearance.BorderSize = 0;
|
|
btnNavSettings.FlatStyle = FlatStyle.Flat;
|
|
btnNavSettings.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Bold);
|
|
btnNavSettings.ForeColor = Color.FromArgb(64, 64, 64);
|
|
btnNavSettings.ImageAlign = ContentAlignment.MiddleLeft;
|
|
btnNavSettings.Location = new Point(0, 127);
|
|
btnNavSettings.Name = "btnNavSettings";
|
|
btnNavSettings.Padding = new Padding(10, 0, 0, 0);
|
|
btnNavSettings.Size = new Size(183, 60);
|
|
btnNavSettings.TabIndex = 2;
|
|
btnNavSettings.Text = " 相机设置";
|
|
btnNavSettings.TextAlign = ContentAlignment.MiddleLeft;
|
|
btnNavSettings.TextImageRelation = TextImageRelation.ImageBeforeText;
|
|
btnNavSettings.UseVisualStyleBackColor = false;
|
|
btnNavSettings.Visible = false;
|
|
btnNavSettings.Click += BtnNavSettings_Click;
|
|
//
|
|
// MainApp
|
|
//
|
|
AutoScaleDimensions = new SizeF(8F, 17F);
|
|
AutoScaleMode = AutoScaleMode.Font;
|
|
ClientSize = new Size(1920, 1030);
|
|
Controls.Add(navPanel);
|
|
Controls.Add(statusStrip1);
|
|
Controls.Add(materialTabControl1);
|
|
Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Bold, GraphicsUnit.Point, 134);
|
|
Icon = (Icon)resources.GetObject("$this.Icon");
|
|
Name = "MainApp";
|
|
StartPosition = FormStartPosition.CenterScreen;
|
|
Text = "添加剂追溯系统";
|
|
WindowState = FormWindowState.Maximized;
|
|
Load += MainApp_Load;
|
|
statusStrip1.ResumeLayout(false);
|
|
statusStrip1.PerformLayout();
|
|
materialTabControl1.ResumeLayout(false);
|
|
tabPage1.ResumeLayout(false);
|
|
materialCard4.ResumeLayout(false);
|
|
materialCard4.PerformLayout();
|
|
materialCard3.ResumeLayout(false);
|
|
materialCard3.PerformLayout();
|
|
materialCard2.ResumeLayout(false);
|
|
materialCard2.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)gridRULog).EndInit();
|
|
tabPage2.ResumeLayout(false);
|
|
((System.ComponentModel.ISupportInitialize)dataGridView1).EndInit();
|
|
materialCard1.ResumeLayout(false);
|
|
materialCard1.PerformLayout();
|
|
((System.ComponentModel.ISupportInitialize)videoView1).EndInit();
|
|
tabPage3.ResumeLayout(false);
|
|
navPanel.ResumeLayout(false);
|
|
ResumeLayout(false);
|
|
PerformLayout();
|
|
}
|
|
|
|
#endregion
|
|
|
|
private StatusStrip statusStrip1;
|
|
|
|
private ImageList imageList1;
|
|
|
|
|
|
private ReaLTaiizor.Controls.MaterialTabControl materialTabControl1;
|
|
private TabPage tabPage1;
|
|
private TabPage tabPage2;
|
|
private TabPage tabPage3;
|
|
private Button btnNVRLogin;
|
|
private Button btnStopLoadVideo;
|
|
private ProgressBar DownloadProgressBar;
|
|
private ReaLTaiizor.Controls.MetroProgressBar metroProgressBar1;
|
|
private LibVLCSharp.WinForms.VideoView videoView1;
|
|
private ReaLTaiizor.Controls.MaterialCard materialCard1;
|
|
private ReaLTaiizor.Controls.PoisonDateTime PdtHistorySearchStart;
|
|
private Label label1;
|
|
private Button btnHistoryVideoSearch;
|
|
private Label label3;
|
|
private ReaLTaiizor.Controls.PoisonDateTime PdtHistorySearchEnd;
|
|
private Label label2;
|
|
private Label label4;
|
|
private TextBox txtSearchCode;
|
|
private DataGridView dataGridView1;
|
|
private Button btnStopHistoryPlay;
|
|
private ReaLTaiizor.Controls.MaterialCard materialCard2;
|
|
private Label label5;
|
|
private Label label6;
|
|
private TextBox txtRUInBagCode;
|
|
private Label label7;
|
|
private TextBox txtRURawName;
|
|
private ReaLTaiizor.Controls.MaterialCard materialCard3;
|
|
private Label label8;
|
|
private ReaLTaiizor.Controls.MaterialCard materialCard4;
|
|
private Label label11;
|
|
private Button btnTestAction;
|
|
private ProgressBar DownloadProgressBarMain;
|
|
private Button btnRawStopLoadVideo;
|
|
private DataGridView gridRULog;
|
|
private ListView LvLog;
|
|
private ToolStripStatusLabel tslPlcConnection;
|
|
private ToolStripStatusLabel tslSqlConnection;
|
|
private ToolStripStatusLabel tslNasConnection;
|
|
private ToolStripStatusLabel tslNVRConnection;
|
|
private Label label19;
|
|
private TextBox txtRURawCode;
|
|
private TextBox DownloadFileName;
|
|
private Label label10;
|
|
private Label label9;
|
|
private Label label12;
|
|
private TextBox txtCsvSaveState;
|
|
private ImageList imageList2;
|
|
private Panel navPanel;
|
|
private Button btnNavMain;
|
|
private Button btnNavHistory;
|
|
private Button btnNavSettings;
|
|
}
|
|
} |