Compare commits
1 Commits
07753f3984
...
developmen
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3046304421 |
16
HalCheck/HalControle.Designer.cs
generated
16
HalCheck/HalControle.Designer.cs
generated
@@ -127,6 +127,7 @@ namespace HalCheck
|
|||||||
this.lbSensors = new System.Windows.Forms.ListBox();
|
this.lbSensors = new System.Windows.Forms.ListBox();
|
||||||
this.panelPlot = new System.Windows.Forms.Panel();
|
this.panelPlot = new System.Windows.Forms.Panel();
|
||||||
this.tpHal = new System.Windows.Forms.TabPage();
|
this.tpHal = new System.Windows.Forms.TabPage();
|
||||||
|
this.lblLastCheckTimeStamp = new System.Windows.Forms.Label();
|
||||||
this.pnlESDwarning = new System.Windows.Forms.Panel();
|
this.pnlESDwarning = new System.Windows.Forms.Panel();
|
||||||
this.pcESDwarning = new System.Windows.Forms.PictureBox();
|
this.pcESDwarning = new System.Windows.Forms.PictureBox();
|
||||||
this.pcHal = new System.Windows.Forms.PictureBox();
|
this.pcHal = new System.Windows.Forms.PictureBox();
|
||||||
@@ -584,7 +585,7 @@ namespace HalCheck
|
|||||||
this.tabControl.Controls.Add(this.tpGeneralDataCheck);
|
this.tabControl.Controls.Add(this.tpGeneralDataCheck);
|
||||||
this.tabControl.Controls.Add(this.tpDataView);
|
this.tabControl.Controls.Add(this.tpDataView);
|
||||||
this.tabControl.Controls.Add(this.tpHal);
|
this.tabControl.Controls.Add(this.tpHal);
|
||||||
this.tabControl.Location = new System.Drawing.Point(9, 10);
|
this.tabControl.Location = new System.Drawing.Point(11, 11);
|
||||||
this.tabControl.Margin = new System.Windows.Forms.Padding(2);
|
this.tabControl.Margin = new System.Windows.Forms.Padding(2);
|
||||||
this.tabControl.Name = "tabControl";
|
this.tabControl.Name = "tabControl";
|
||||||
this.tabControl.SelectedIndex = 0;
|
this.tabControl.SelectedIndex = 0;
|
||||||
@@ -1200,12 +1201,22 @@ namespace HalCheck
|
|||||||
this.label3.TabIndex = 33;
|
this.label3.TabIndex = 33;
|
||||||
this.label3.Text = "Nieuw aangesloten kamers op CMS2 verwijderen uit txt bestand: Z:\\projects\\2020\\P2" +
|
this.label3.Text = "Nieuw aangesloten kamers op CMS2 verwijderen uit txt bestand: Z:\\projects\\2020\\P2" +
|
||||||
"01339\\sub1\\4. Software\\1. Feanor\\excluded_chambers.txt";
|
"01339\\sub1\\4. Software\\1. Feanor\\excluded_chambers.txt";
|
||||||
|
//
|
||||||
|
// lblLastCheckTimeStamp
|
||||||
|
//
|
||||||
|
this.lblLastCheckTimeStamp.AutoSize = true;
|
||||||
|
this.lblLastCheckTimeStamp.Location = new System.Drawing.Point(1420, 1058);
|
||||||
|
this.lblLastCheckTimeStamp.Name = "lblLastCheckTimeStamp";
|
||||||
|
this.lblLastCheckTimeStamp.Size = new System.Drawing.Size(115, 13);
|
||||||
|
this.lblLastCheckTimeStamp.TabIndex = 3;
|
||||||
|
this.lblLastCheckTimeStamp.Text = "Last Update timestamp";
|
||||||
//
|
//
|
||||||
// HalControle
|
// HalControle
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(1699, 1125);
|
this.ClientSize = new System.Drawing.Size(1559, 1056);
|
||||||
|
this.Controls.Add(this.lblLastCheckTimeStamp);
|
||||||
this.Controls.Add(this.label3);
|
this.Controls.Add(this.label3);
|
||||||
this.Controls.Add(this.tabControl);
|
this.Controls.Add(this.tabControl);
|
||||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
@@ -1335,5 +1346,6 @@ namespace HalCheck
|
|||||||
private System.Windows.Forms.PictureBox pcESDwarning;
|
private System.Windows.Forms.PictureBox pcESDwarning;
|
||||||
private System.Windows.Forms.Panel pnlESDwarning;
|
private System.Windows.Forms.Panel pnlESDwarning;
|
||||||
private System.Windows.Forms.Label label3;
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.Label lblLastCheckTimeStamp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1885,6 +1885,10 @@ namespace HalCheck
|
|||||||
List<int> sensorIds = rthSensors.Select(s => s.Id).ToList();
|
List<int> sensorIds = rthSensors.Select(s => s.Id).ToList();
|
||||||
List<(double temperature, double humidity)> sensorData = GetTemperaturesAndHumidity(sensorIds);
|
List<(double temperature, double humidity)> sensorData = GetTemperaturesAndHumidity(sensorIds);
|
||||||
|
|
||||||
|
lblLastCheckTimeStamp.BringToFront();
|
||||||
|
lblLastCheckTimeStamp.Visible = true;
|
||||||
|
lblLastCheckTimeStamp.Text = "Last checked: " + DateTime.Now.ToString("HH:mm:ss");
|
||||||
|
|
||||||
for (int i = 0; i < sensorData.Count; i++)
|
for (int i = 0; i < sensorData.Count; i++)
|
||||||
{
|
{
|
||||||
rthSensors[i].Temperature = sensorData[i].temperature;
|
rthSensors[i].Temperature = sensorData[i].temperature;
|
||||||
|
|||||||
@@ -157,7 +157,7 @@
|
|||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>58</value>
|
<value>25</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
<metadata name="dataGridViewTextBoxColumn1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
<value>True</value>
|
<value>True</value>
|
||||||
|
|||||||
Reference in New Issue
Block a user