1 将所有的时间范围的上限改为当天的23时59分59秒
2 在实时数据展示界面增加CTD的盐度字段
This commit is contained in:
parent
602eda76ff
commit
db1b93ee41
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -481,7 +481,7 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
private void btnRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
RefreshData();
|
||||
CalculateData("");
|
||||
CalculateData();
|
||||
|
||||
EveryDayLog.WriteADCP("ADCP进行刷新数据操作!");
|
||||
}
|
||||
@ -570,7 +570,7 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
dtpStopTime.Value = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
|
||||
RefreshData();
|
||||
CalculateData("");
|
||||
CalculateData();
|
||||
|
||||
EveryDayLog.WriteADCP("ADCP进行重置数据操作!");
|
||||
}
|
||||
@ -609,7 +609,7 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
//lblTip.Visible = false;
|
||||
}
|
||||
|
||||
private void CalculateData(string fac)
|
||||
private void CalculateData()
|
||||
{
|
||||
if (dgvDataDisplay.Rows.Count <= 0)
|
||||
return;
|
||||
@ -900,7 +900,7 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
{
|
||||
RefreshData();
|
||||
|
||||
CalculateData("");
|
||||
CalculateData();
|
||||
|
||||
ToolTip toolTip = new ToolTip();
|
||||
toolTip.SetToolTip(lblTips, "鼠标滚轮缩放\nCtrl+左键拖动\n右键恢复默认大小");
|
||||
|
||||
@ -68,9 +68,9 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
private void CamAndVidCurrentDataForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
dtpStartTime.MinDate = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MinDate = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
|
||||
g_timerGetCamData.Enabled = true;
|
||||
g_timerGetCamData.Interval = 20000;
|
||||
@ -543,8 +543,8 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
|
||||
private void timerUpgradeTime_Tick(object sender, EventArgs e)
|
||||
{
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
}
|
||||
|
||||
private void txtCycle_KeyPress(object sender, KeyPressEventArgs e)
|
||||
|
||||
@ -56,9 +56,9 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
g_timerEnvironmentData.Elapsed += new System.Timers.ElapsedEventHandler(methodEnvironmentData);
|
||||
|
||||
dtpStartTime.MinDate = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MinDate = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
}
|
||||
|
||||
private void CavityDataForm_Shown(object sender, EventArgs e)
|
||||
@ -379,8 +379,8 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
|
||||
private void timerUpgradeTime_Tick(object sender, EventArgs e)
|
||||
{
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
}
|
||||
|
||||
private void txtCycleEnviron_KeyPress(object sender, KeyPressEventArgs e)
|
||||
|
||||
@ -220,9 +220,9 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
private void GDFLPortStateForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
dtpStartTime.MinDate = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MinDate = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
|
||||
timerUpgradeTime.Interval = 60 * 60 * 1000;
|
||||
timerUpgradeTime.Enabled = true;
|
||||
@ -542,8 +542,8 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
|
||||
private void timerUpgradeTime_Tick(object sender, EventArgs e)
|
||||
{
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -4378,6 +4378,23 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
EveryDayLog.WriteErrorOther("CloseTimerError:" + ex.ToString());
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
photoelectricSeparationDataForm.PhotoelectricSeparationDataForm_FormClosing(null, null);
|
||||
pictureTakeForm.PictureTakeForm_FormClosing(null, null);
|
||||
aDCPDataForm.ADCPDataForm_FormClosing(null, null);
|
||||
cO2DataForm.CO2DataForm_FormClosing(null, null);
|
||||
cTDDataForm.CTDDataForm_FormClosing(null, null);
|
||||
mulitiDataForm.MulitiDataForm_FormClosing(null, null);
|
||||
otherSettingForm.OtherSettingForm_FormClosing(null, null);
|
||||
relayControlForm.RelayControlForm_FormClosing(null, null);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine("CloseOtherFormError:" + ex.ToString());
|
||||
EveryDayLog.WriteErrorOther("CloseOtherFormError:" + ex.ToString());
|
||||
}
|
||||
|
||||
EveryDayLog.WriteOther("开始存储各个设备工作状态!");
|
||||
int cycleTime = 0;
|
||||
string sql;
|
||||
@ -4443,23 +4460,6 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
EveryDayLog.WriteErrorCamAndVid("录制视频出错:" + ex.Message);
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
photoelectricSeparationDataForm.PhotoelectricSeparationDataForm_FormClosing(null, null);
|
||||
pictureTakeForm.PictureTakeForm_FormClosing(null, null);
|
||||
aDCPDataForm.ADCPDataForm_FormClosing(null, null);
|
||||
cO2DataForm.CO2DataForm_FormClosing(null, null);
|
||||
cTDDataForm.CTDDataForm_FormClosing(null, null);
|
||||
mulitiDataForm.MulitiDataForm_FormClosing(null, null);
|
||||
otherSettingForm.OtherSettingForm_FormClosing(null, null);
|
||||
relayControlForm.RelayControlForm_FormClosing(null, null);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine("CloseOtherFormError:" + ex.ToString());
|
||||
EveryDayLog.WriteErrorOther("CloseOtherFormError:" + ex.ToString());
|
||||
}
|
||||
|
||||
EveryDayLog.WriteDZ("上位机软件关闭!");
|
||||
}
|
||||
#endregion
|
||||
|
||||
@ -324,9 +324,9 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
lblTitle.Text = lblTitle.Text.ToString();
|
||||
|
||||
dtpStartTime.MinDate = new DateTime(2022, 12, 14, 00, 00, 00);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MinDate = new DateTime(2022, 12, 14, 00, 00, 00);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
|
||||
dtpStartTime.Value = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStopTime.Value = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
@ -362,8 +362,8 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
|
||||
private void timerUpgradeTime_Tick(object sender, EventArgs e)
|
||||
{
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -574,9 +574,9 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
lblTitle.Text = lblTitle.Text.ToString();
|
||||
|
||||
dtpStartTime.MinDate = new DateTime(2022, 12, 14, 00, 00, 00);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MinDate = new DateTime(2022, 12, 14, 00, 00, 00);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
|
||||
dtpStartTime.Value = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStopTime.Value = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
@ -593,8 +593,8 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
|
||||
private void timerUpgradeTime_Tick(object sender, EventArgs e)
|
||||
{
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
}
|
||||
|
||||
private void txtCycle_KeyPress(object sender, KeyPressEventArgs e)
|
||||
|
||||
@ -2247,9 +2247,9 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
public void PhotoelectricSeparationDataForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
dtpStartTime.MinDate = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MinDate = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
|
||||
//检测设备的使能状态
|
||||
Thread thIsDeviceWork = new Thread(IsDeviceWork);
|
||||
@ -2360,8 +2360,8 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
|
||||
private void timerUpgradeTime_Tick(object sender, EventArgs e)
|
||||
{
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -36,9 +36,9 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
listPicturePath.Clear();
|
||||
|
||||
dtpStartTime.MinDate = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MinDate = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
|
||||
//ShowPicture();
|
||||
|
||||
@ -398,8 +398,8 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
|
||||
private void timerUpgradeTime_Tick(object sender, EventArgs e)
|
||||
{
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -115,6 +115,9 @@
|
||||
this.lblPotency = new System.Windows.Forms.Label();
|
||||
this.label25 = new System.Windows.Forms.Label();
|
||||
this.timerUpdate = new System.Windows.Forms.Timer(this.components);
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.lblSality = new System.Windows.Forms.Label();
|
||||
this.label36 = new System.Windows.Forms.Label();
|
||||
this.panel.SuspendLayout();
|
||||
this.groupBox1.SuspendLayout();
|
||||
this.groupBox2.SuspendLayout();
|
||||
@ -372,10 +375,11 @@
|
||||
//
|
||||
// groupBox2
|
||||
//
|
||||
this.groupBox2.Controls.Add(this.lblTimeCTD);
|
||||
this.groupBox2.Controls.Add(this.label19);
|
||||
this.groupBox2.Controls.Add(this.label13);
|
||||
this.groupBox2.Controls.Add(this.label5);
|
||||
this.groupBox2.Controls.Add(this.lblSality);
|
||||
this.groupBox2.Controls.Add(this.label14);
|
||||
this.groupBox2.Controls.Add(this.label36);
|
||||
this.groupBox2.Controls.Add(this.label15);
|
||||
this.groupBox2.Controls.Add(this.lblPressure1);
|
||||
this.groupBox2.Controls.Add(this.lblWaterTemperature);
|
||||
@ -395,8 +399,9 @@
|
||||
// lblTimeCTD
|
||||
//
|
||||
this.lblTimeCTD.AutoSize = true;
|
||||
this.lblTimeCTD.Font = new System.Drawing.Font("方正楷体简体", 20.25F);
|
||||
this.lblTimeCTD.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.lblTimeCTD.Location = new System.Drawing.Point(651, 115);
|
||||
this.lblTimeCTD.Location = new System.Drawing.Point(253, 792);
|
||||
this.lblTimeCTD.Name = "lblTimeCTD";
|
||||
this.lblTimeCTD.Size = new System.Drawing.Size(73, 29);
|
||||
this.lblTimeCTD.TabIndex = 64;
|
||||
@ -416,11 +421,11 @@
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Font = new System.Drawing.Font("方正楷体简体", 21.75F);
|
||||
this.label5.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.label5.Location = new System.Drawing.Point(478, 115);
|
||||
this.label5.Location = new System.Drawing.Point(93, 792);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(138, 32);
|
||||
this.label5.TabIndex = 63;
|
||||
this.label5.Text = "④ 时间:";
|
||||
this.label5.Text = "⑤ 时间:";
|
||||
//
|
||||
// label14
|
||||
//
|
||||
@ -1018,7 +1023,7 @@
|
||||
this.groupBox4.Controls.Add(this.label25);
|
||||
this.groupBox4.Font = new System.Drawing.Font("方正楷体简体", 20.25F);
|
||||
this.groupBox4.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.groupBox4.Location = new System.Drawing.Point(51, 689);
|
||||
this.groupBox4.Location = new System.Drawing.Point(51, 605);
|
||||
this.groupBox4.Name = "groupBox4";
|
||||
this.groupBox4.Size = new System.Drawing.Size(496, 157);
|
||||
this.groupBox4.TabIndex = 39;
|
||||
@ -1079,14 +1084,47 @@
|
||||
//
|
||||
this.timerUpdate.Tick += new System.EventHandler(this.timerUpdate_Tick);
|
||||
//
|
||||
// label19
|
||||
//
|
||||
this.label19.AutoSize = true;
|
||||
this.label19.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.label19.Location = new System.Drawing.Point(763, 115);
|
||||
this.label19.Name = "label19";
|
||||
this.label19.Size = new System.Drawing.Size(47, 29);
|
||||
this.label19.TabIndex = 78;
|
||||
this.label19.Text = "ppt";
|
||||
//
|
||||
// lblSality
|
||||
//
|
||||
this.lblSality.AutoSize = true;
|
||||
this.lblSality.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.lblSality.Location = new System.Drawing.Point(651, 115);
|
||||
this.lblSality.Name = "lblSality";
|
||||
this.lblSality.Size = new System.Drawing.Size(73, 29);
|
||||
this.lblSality.TabIndex = 77;
|
||||
this.lblSality.Text = "XXX";
|
||||
//
|
||||
// label36
|
||||
//
|
||||
this.label36.AutoSize = true;
|
||||
this.label36.Font = new System.Drawing.Font("方正楷体简体", 21.75F);
|
||||
this.label36.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
|
||||
this.label36.Location = new System.Drawing.Point(478, 115);
|
||||
this.label36.Name = "label36";
|
||||
this.label36.Size = new System.Drawing.Size(138, 32);
|
||||
this.label36.TabIndex = 76;
|
||||
this.label36.Text = "④ 盐度:";
|
||||
//
|
||||
// RealTimeDataForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(16F, 31F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(236)))), ((int)(((byte)(233)))));
|
||||
this.ClientSize = new System.Drawing.Size(1560, 868);
|
||||
this.Controls.Add(this.lblTimeCTD);
|
||||
this.Controls.Add(this.groupBox4);
|
||||
this.Controls.Add(this.groupBox3);
|
||||
this.Controls.Add(this.label5);
|
||||
this.Controls.Add(this.groupBox2);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.panel);
|
||||
@ -1108,6 +1146,7 @@
|
||||
this.groupBox4.ResumeLayout(false);
|
||||
this.groupBox4.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
@ -1199,5 +1238,8 @@
|
||||
private System.Windows.Forms.Label label31;
|
||||
private System.Windows.Forms.Timer timerUpdate;
|
||||
private System.Windows.Forms.Label label2;
|
||||
private System.Windows.Forms.Label label19;
|
||||
private System.Windows.Forms.Label lblSality;
|
||||
private System.Windows.Forms.Label label36;
|
||||
}
|
||||
}
|
||||
@ -115,6 +115,7 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
lblWaterTemperature.Text = dataReader[3].ToString();
|
||||
lblConductivityCTD.Text = dataReader[4].ToString();
|
||||
lblPressure1.Text = dataReader[5].ToString();
|
||||
lblSality.Text = dataReader[6].ToString();
|
||||
}
|
||||
|
||||
dataReader.Close();
|
||||
|
||||
@ -255,9 +255,9 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
listVideoPath.Clear();
|
||||
|
||||
dtpStartTime.MinDate = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MinDate = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
|
||||
picLeft.Parent = picShow;
|
||||
picRight.Parent = picShow;
|
||||
@ -1151,8 +1151,8 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
|
||||
private void timerUpgradeTime_Tick(object sender, EventArgs e)
|
||||
{
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -102,9 +102,9 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
//lblTitle.Text = strTitle.ToString();
|
||||
|
||||
dtpStartTime.MinDate = new DateTime(2022, 12, 14, 00, 00, 00);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MinDate = new DateTime(2022, 12, 14, 00, 00, 00);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
|
||||
dtpStartTime.Value = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
dtpStopTime.Value = new DateTime(2023, 1, 1, 00, 00, 00);
|
||||
@ -589,8 +589,8 @@ namespace ZTTMS_Manage_yibayiyi_20230320
|
||||
|
||||
private void timerUpgradeTime_Tick(object sender, EventArgs e)
|
||||
{
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second);
|
||||
dtpStartTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
dtpStopTime.MaxDate = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, 23, 59, 59);
|
||||
}
|
||||
|
||||
private void txtCycle_KeyPress(object sender, KeyPressEventArgs e)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user