Commit 566cc53d authored by leon.huang's avatar leon.huang

修改第一个页面的刷新频率

parent 1c5ffdc1
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
this.label1 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox();
this.timer1 = new System.Windows.Forms.Timer(this.components); this.timer1 = new System.Windows.Forms.Timer(this.components);
this.comboBox1 = new System.Windows.Forms.ComboBox(); //this.comboBox1 = new System.Windows.Forms.ComboBox();
this.groupBox1.SuspendLayout(); this.groupBox1.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
...@@ -139,12 +139,12 @@ ...@@ -139,12 +139,12 @@
// //
// comboBox1 // comboBox1
// //
this.comboBox1.FormattingEnabled = true; //this.comboBox1.FormattingEnabled = true;
this.comboBox1.Location = new System.Drawing.Point(6, 20); //this.comboBox1.Location = new System.Drawing.Point(6, 20);
this.comboBox1.Name = "comboBox1"; //this.comboBox1.Name = "comboBox1";
this.comboBox1.Size = new System.Drawing.Size(116, 24); //this.comboBox1.Size = new System.Drawing.Size(116, 24);
this.comboBox1.TabIndex = 15; //this.comboBox1.TabIndex = 15;
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.ComboBox1_SelectedIndexChanged); //this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.ComboBox1_SelectedIndexChanged);
// //
// textBox6 // textBox6
// //
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
// timer1 // timer1
// //
this.timer1.Enabled = true; this.timer1.Enabled = true;
this.timer1.Interval = 60000; this.timer1.Interval = 6000;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick); this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
// //
// comboBox1 // comboBox1
......
...@@ -177,7 +177,7 @@ namespace GcDevicePc.CK_UI ...@@ -177,7 +177,7 @@ namespace GcDevicePc.CK_UI
} }
else else
{ {
label2.Visible = false;; label2.Visible = false;
textBox1.Visible = false; textBox1.Visible = false;
} }
if (CKVocAnalyzer.GlobalCKV.vocparamlist.FindIndex(lv => lv.Name == "THC") > -1 ) if (CKVocAnalyzer.GlobalCKV.vocparamlist.FindIndex(lv => lv.Name == "THC") > -1 )
...@@ -931,7 +931,6 @@ namespace GcDevicePc.CK_UI ...@@ -931,7 +931,6 @@ namespace GcDevicePc.CK_UI
List<CKVocAnalyzer.CompoundExpression> cpde = CKVocAnalyzer.GlobalCKV.cpdExpressions.Where(s => s.Name == sql.ReturnData[i].name&& s.OUnit == unti).ToList(); List<CKVocAnalyzer.CompoundExpression> cpde = CKVocAnalyzer.GlobalCKV.cpdExpressions.Where(s => s.Name == sql.ReturnData[i].name&& s.OUnit == unti).ToList();
double times = (double)new XDate(Convert.ToDateTime(sql.ReturnData[i].Time)); double times = (double)new XDate(Convert.ToDateTime(sql.ReturnData[i].Time));
int indexTWO = CKVocAnalyzer.GlobalCKV.adjustTwo.FindIndex(s => s.name == sql.ReturnData[i].name); int indexTWO = CKVocAnalyzer.GlobalCKV.adjustTwo.FindIndex(s => s.name == sql.ReturnData[i].name);
double v = 0; double v = 0;
v = sql.ReturnData[i].value; v = sql.ReturnData[i].value;
if (indexTWO > -1) if (indexTWO > -1)
......
[SYSINFO]
ECOUNT=3
COEF=1
[ENTITY0]
ETXT=0,THC,0,0,0,0,255,0,0,10000,1,0,0
[ENTITY1]
ETXT=0,CH4,1.1,1.12,0,0,255,0,0,10000,1,0,0
[ENTITY2]
ETXT=0,NMHC,0,0,0,0,255,0,0,10000,1,0,0
[ENTITY3]
ETXT=0,THC,0,0,0,0,255,0,0,10000,1,0,0
[ENTITY4]
ETXT=0,CH4,1.1,1.12,0,0,255,0,0,10000,1,0,0
[ENTITY5]
ETXT=0,¶þ¼×±½,2.37,2.66,0,0,255,0,0,100000,1,0,0
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
<PARAMETER> <PARAMETER>
<DEBUG>True</DEBUG> <DEBUG>True</DEBUG>
<fid>True</fid> <fid>True</fid>
<file1>C:\Users\a\Desktop\色谱仪\新建文件夹\Vocs_opt\VocsSetup\GC_Config\GC_Set\运行表\VOC</file1> <file1>C:\Users\a\Desktop\色谱仪\新建文件夹\Vocs_opt\VocsSetup\GC_Config\GC_Set\运行表\色谱001</file1>
<file2>C:\Users\a\Desktop\色谱仪\新建文件夹\Vocs_opt\VocsSetup\GC_Config\GC_Set\运行表\VOC</file2> <file2>C:\Users\a\Desktop\色谱仪\新建文件夹\Vocs_opt\VocsSetup\GC_Config\GC_Set\运行表\色谱001</file2>
<file3>C:\Users\a\Desktop\色谱仪\新建文件夹\Vocs_opt\VocsSetup\GC_Config\GC_Set\运行表\VOC</file3> <file3>C:\Users\a\Desktop\色谱仪\新建文件夹\Vocs_opt\VocsSetup\GC_Config\GC_Set\运行表\色谱001</file3>
<adjust1>2</adjust1> <adjust1>2</adjust1>
<adjust2>1</adjust2> <adjust2>1</adjust2>
<adjust3>0</adjust3> <adjust3>0</adjust3>
...@@ -29,20 +29,12 @@ ...@@ -29,20 +29,12 @@
<vlue>0</vlue> <vlue>0</vlue>
</NMHCcfgSave> </NMHCcfgSave>
<AutoMessage> <AutoMessage>
<name>苯</name> <name>THC</name>
<vlue>0</vlue>
</AutoMessage>
<AutoMessage>
<name>甲苯</name>
<vlue>0</vlue> <vlue>0</vlue>
</AutoMessage> </AutoMessage>
<AutoMessage> <AutoMessage>
<name>CH4</name> <name>CH4</name>
<vlue>0</vlue> <vlue>0</vlue>
</AutoMessage> </AutoMessage>
<AutoMessage>
<name>二甲苯</name>
<vlue>0</vlue>
</AutoMessage>
</Cfg> </Cfg>
</GCCPC> </GCCPC>
\ No newline at end of file
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
ECOUNT=3 ECOUNT=3
COEF=1 COEF=1
[ENTITY0] [ENTITY0]
ETXT=0,THC,0,0,0,0,255,0,0,10000,1,0,0 ETXT=0,THC,0.1,0.2,0,0,255,0,0,10000,1,0,0
[ENTITY1] [ENTITY1]
ETXT=0,CH4,1.1,1.12,0,0,255,0,0,10000,1,0,0
[ENTITY2]
ETXT=0,NMHC,0,0,0,0,255,0,0,10000,1,0,0 ETXT=0,NMHC,0,0,0,0,255,0,0,10000,1,0,0
[ENTITY2]
ETXT=0,CH4,0.22,0.3,0,0,255,0,0,10000,1,0,0
[ENTITY3] [ENTITY3]
ETXT=0,THC,0,0,0,0,255,0,0,10000,1,0,0 ETXT=0,THC,0,0,0,0,255,0,0,10000,1,0,0
[ENTITY4] [ENTITY4]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment