This commit is contained in:
2025-12-06 17:06:17 +08:00
parent 9dd458ae8b
commit 63a768bd80
4 changed files with 164 additions and 78 deletions

View File

@@ -61,9 +61,9 @@ namespace FATrace.OEMApp
txtRUInBagCode = new TextBox();
label5 = new Label();
tabPage2 = new TabPage();
btnStopHistoryPlay = new Button();
dataGridView1 = new DataGridView();
materialCard1 = new ReaLTaiizor.Controls.MaterialCard();
btnStopHistoryPlay = new Button();
label4 = new Label();
txtSearchCode = new TextBox();
btnHistoryVideoSearch = new Button();
@@ -72,13 +72,13 @@ namespace FATrace.OEMApp
label2 = new Label();
label1 = new Label();
PdtHistorySearchStart = new ReaLTaiizor.Controls.PoisonDateTime();
btnPlayHistoryVideo = new Button();
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);
statusStrip1.SuspendLayout();
materialTabControl1.SuspendLayout();
tabPage1.SuspendLayout();
@@ -197,10 +197,11 @@ namespace FATrace.OEMApp
//
// 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, 32);
txtCsvSaveState.Size = new Size(493, 24);
txtCsvSaveState.TabIndex = 15;
//
// label12
@@ -330,6 +331,7 @@ namespace FATrace.OEMApp
//
txtRURawCode.Location = new Point(154, 177);
txtRURawCode.Name = "txtRURawCode";
txtRURawCode.ReadOnly = true;
txtRURawCode.Size = new Size(387, 32);
txtRURawCode.TabIndex = 9;
//
@@ -339,12 +341,12 @@ namespace FATrace.OEMApp
gridRULog.AllowUserToDeleteRows = false;
gridRULog.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
gridRULog.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
gridRULog.Location = new Point(585, 7);
gridRULog.Location = new Point(576, 7);
gridRULog.Name = "gridRULog";
gridRULog.ReadOnly = true;
gridRULog.RowHeadersVisible = false;
gridRULog.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
gridRULog.Size = new Size(1281, 338);
gridRULog.Size = new Size(1290, 338);
gridRULog.TabIndex = 8;
//
// btnRawStopLoadVideo
@@ -381,6 +383,7 @@ namespace FATrace.OEMApp
//
txtRURawName.Location = new Point(154, 123);
txtRURawName.Name = "txtRURawName";
txtRURawName.ReadOnly = true;
txtRURawName.Size = new Size(387, 32);
txtRURawName.TabIndex = 3;
//
@@ -398,6 +401,7 @@ namespace FATrace.OEMApp
//
txtRUInBagCode.Location = new Point(154, 65);
txtRUInBagCode.Name = "txtRUInBagCode";
txtRUInBagCode.ReadOnly = true;
txtRUInBagCode.Size = new Size(387, 32);
txtRUInBagCode.TabIndex = 1;
//
@@ -414,10 +418,8 @@ namespace FATrace.OEMApp
//
// tabPage2
//
tabPage2.Controls.Add(btnStopHistoryPlay);
tabPage2.Controls.Add(dataGridView1);
tabPage2.Controls.Add(materialCard1);
tabPage2.Controls.Add(btnPlayHistoryVideo);
tabPage2.Controls.Add(videoView1);
tabPage2.Font = new Font("Microsoft YaHei UI", 14.25F, FontStyle.Bold, GraphicsUnit.Point, 134);
tabPage2.ImageKey = "Load.png";
@@ -429,27 +431,19 @@ namespace FATrace.OEMApp
tabPage2.Text = "录像历史数据";
tabPage2.UseVisualStyleBackColor = true;
//
// btnStopHistoryPlay
//
btnStopHistoryPlay.Location = new Point(628, 14);
btnStopHistoryPlay.Name = "btnStopHistoryPlay";
btnStopHistoryPlay.Size = new Size(116, 45);
btnStopHistoryPlay.TabIndex = 12;
btnStopHistoryPlay.Text = "停止播放";
btnStopHistoryPlay.UseVisualStyleBackColor = true;
btnStopHistoryPlay.Click += btnStopHistoryPlay_Click;
//
// dataGridView1
//
dataGridView1.ColumnHeadersHeightSizeMode = DataGridViewColumnHeadersHeightSizeMode.AutoSize;
dataGridView1.Location = new Point(17, 328);
dataGridView1.Location = new Point(17, 235);
dataGridView1.Name = "dataGridView1";
dataGridView1.Size = new Size(483, 584);
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);
@@ -465,9 +459,20 @@ namespace FATrace.OEMApp
materialCard1.MouseState = ReaLTaiizor.Helper.MaterialDrawHelper.MaterialMouseState.HOVER;
materialCard1.Name = "materialCard1";
materialCard1.Padding = new Padding(14);
materialCard1.Size = new Size(483, 287);
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;
@@ -488,7 +493,7 @@ namespace FATrace.OEMApp
// btnHistoryVideoSearch
//
btnHistoryVideoSearch.ForeColor = Color.DimGray;
btnHistoryVideoSearch.Location = new Point(125, 214);
btnHistoryVideoSearch.Location = new Point(295, 121);
btnHistoryVideoSearch.Name = "btnHistoryVideoSearch";
btnHistoryVideoSearch.Size = new Size(210, 56);
btnHistoryVideoSearch.TabIndex = 5;
@@ -500,7 +505,7 @@ namespace FATrace.OEMApp
//
label3.AutoSize = true;
label3.ForeColor = Color.Gray;
label3.Location = new Point(288, 117);
label3.Location = new Point(647, 24);
label3.Name = "label3";
label3.Size = new Size(88, 26);
label3.TabIndex = 4;
@@ -509,7 +514,7 @@ namespace FATrace.OEMApp
// PdtHistorySearchEnd
//
PdtHistorySearchEnd.FontSize = ReaLTaiizor.Extension.Poison.PoisonDateTimeSize.Medium;
PdtHistorySearchEnd.Location = new Point(268, 155);
PdtHistorySearchEnd.Location = new Point(627, 62);
PdtHistorySearchEnd.MinimumSize = new Size(0, 29);
PdtHistorySearchEnd.Name = "PdtHistorySearchEnd";
PdtHistorySearchEnd.Size = new Size(131, 32);
@@ -519,7 +524,7 @@ namespace FATrace.OEMApp
//
label2.AutoSize = true;
label2.ForeColor = Color.Gray;
label2.Location = new Point(75, 116);
label2.Location = new Point(501, 24);
label2.Name = "label2";
label2.Size = new Size(88, 26);
label2.TabIndex = 2;
@@ -539,29 +544,19 @@ namespace FATrace.OEMApp
// PdtHistorySearchStart
//
PdtHistorySearchStart.FontSize = ReaLTaiizor.Extension.Poison.PoisonDateTimeSize.Medium;
PdtHistorySearchStart.Location = new Point(55, 154);
PdtHistorySearchStart.Location = new Point(481, 62);
PdtHistorySearchStart.MinimumSize = new Size(0, 29);
PdtHistorySearchStart.Name = "PdtHistorySearchStart";
PdtHistorySearchStart.Size = new Size(131, 32);
PdtHistorySearchStart.TabIndex = 0;
//
// btnPlayHistoryVideo
//
btnPlayHistoryVideo.Location = new Point(506, 14);
btnPlayHistoryVideo.Name = "btnPlayHistoryVideo";
btnPlayHistoryVideo.Size = new Size(116, 45);
btnPlayHistoryVideo.TabIndex = 8;
btnPlayHistoryVideo.Text = "button1";
btnPlayHistoryVideo.UseVisualStyleBackColor = true;
btnPlayHistoryVideo.Click += btnPlayHistoryVideo_Click;
//
// videoView1
//
videoView1.BackColor = Color.Black;
videoView1.Location = new Point(506, 65);
videoView1.Location = new Point(858, 24);
videoView1.MediaPlayer = null;
videoView1.Name = "videoView1";
videoView1.Size = new Size(1394, 847);
videoView1.Size = new Size(1042, 888);
videoView1.TabIndex = 7;
videoView1.Text = "videoView1";
//
@@ -629,6 +624,13 @@ namespace FATrace.OEMApp
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");
//
// MainApp
//
AutoScaleDimensions = new SizeF(8F, 17F);
@@ -681,7 +683,6 @@ namespace FATrace.OEMApp
private ProgressBar DownloadProgressBar;
private ReaLTaiizor.Controls.MetroProgressBar metroProgressBar1;
private LibVLCSharp.WinForms.VideoView videoView1;
private Button btnPlayHistoryVideo;
private ReaLTaiizor.Controls.MaterialCard materialCard1;
private ReaLTaiizor.Controls.PoisonDateTime PdtHistorySearchStart;
private Label label1;
@@ -719,5 +720,6 @@ namespace FATrace.OEMApp
private Label label9;
private Label label12;
private TextBox txtCsvSaveState;
private ImageList imageList2;
}
}