提交 f198ebff authored 作者: yangbinjay's avatar yangbinjay

读取故障记录

上级 af9fbdfd
...@@ -55,11 +55,11 @@ ...@@ -55,11 +55,11 @@
<Controls> <Controls>
<Control name="Home_Status" text="运行状态"/> <Control name="Home_Status" text="运行状态"/>
<Control name="uiLabel1" text="记录数"/> <Control name="uiLabel1" text="记录数"/>
<Control name="uiLabel4" text="电压(V)"/> <Control name="uiLabel4" text="循环数量:"/>
<Control name="uiLabel3" text="温度(℃)"/> <Control name="uiLabel3" text="风机模式:"/>
<Control name="uiLabel5" text="湿度(%)"/> <Control name="uiLabel5" text=""/>
<Control name="tabPage1" text="实时数据"/> <Control name="tabPage1" text="实时数据"/>
<Control name="tabPage2" text="历史曲线"/> <Control name="tabPage2" text="实时曲线"/>
<Control name="uiButton17" text="全工位"/> <Control name="uiButton17" text="全工位"/>
<Control name="uiButton1" text="电压"/> <Control name="uiButton1" text="电压"/>
<Control name="uiButton2" text="温度"/> <Control name="uiButton2" text="温度"/>
...@@ -84,10 +84,13 @@ ...@@ -84,10 +84,13 @@
<DataGridViewCell name="G1Column8" HeaderText="批次名称"/> <DataGridViewCell name="G1Column8" HeaderText="批次名称"/>
<DataGridViewCell name="G1Column9" HeaderText="创建时间"/> <DataGridViewCell name="G1Column9" HeaderText="创建时间"/>
<DataGridViewCell name="G1Column10" HeaderText="上限"/> <DataGridViewCell name="G1Column10" HeaderText="上限"/>
<DataGridViewCell name="G2Column11" HeaderText="工位"/> <DataGridViewCell name="G2Column11" HeaderText="类型"/>
<DataGridViewCell name="G2Column13" HeaderText="工位"/> <DataGridViewCell name="G2Column13" HeaderText="类型"/>
<DataGridViewCell name="G2Column15" HeaderText="工位"/> <DataGridViewCell name="G2Column15" HeaderText="类型"/>
<DataGridViewCell name="G2Column17" HeaderText="工位"/> <DataGridViewCell name="G2Column17" HeaderText="类型"/>
<DataGridViewCell name="G1Column15" HeaderText="循环数"/>
<DataGridViewCell name="G1Column16" HeaderText="加热"/>
<DataGridViewCell name="G1Column17" HeaderText="冷却"/>
</DataGridViewCells> </DataGridViewCells>
</Form> </Form>
<Form> <Form>
...@@ -152,9 +155,9 @@ ...@@ -152,9 +155,9 @@
<Control name="uiLabel4" text="小数长度:"/> <Control name="uiLabel4" text="小数长度:"/>
<Control name="uiLabel5" text="电压设置:"/> <Control name="uiLabel5" text="电压设置:"/>
<Control name="uiLabel6" text="设备编号:"/> <Control name="uiLabel6" text="设备编号:"/>
<Control name="uiLabel7" text="烘箱Id:"/>
<Control name="uiSymbolButton2" text="灯光控制"/> <Control name="uiSymbolButton2" text="灯光控制"/>
<Control name="uiSymbolButton1" text="对应关系"/> <Control name="uiSymbolButton1" text="对应关系"/>
<Control name="uiSymbolButton4" text="通道类型"/>
<Control name="uiSymbolButton3" text="保存设置"/> <Control name="uiSymbolButton3" text="保存设置"/>
<Control name="Com_DevTypeId" text="0"/> <Control name="Com_DevTypeId" text="0"/>
<Control name="Com_PowerId" text="0"/> <Control name="Com_PowerId" text="0"/>
...@@ -223,6 +226,7 @@ ...@@ -223,6 +226,7 @@
<Control name="CommunicationSetting" text="通讯口设置"/> <Control name="CommunicationSetting" text="通讯口设置"/>
<Control name="uiGroupBox1" text="通讯设置:"/> <Control name="uiGroupBox1" text="通讯设置:"/>
<Control name="uiGroupBox2" text="记录保存间隔时间(分钟):"/> <Control name="uiGroupBox2" text="记录保存间隔时间(分钟):"/>
<Control name="uiSymbolButton4" text="通道类型"/>
<Control name="uiLabel1" text="驱动检测板:"/> <Control name="uiLabel1" text="驱动检测板:"/>
<Control name="uiLabel2" text="试验电源:"/> <Control name="uiLabel2" text="试验电源:"/>
<Control name="uiLabel3" text="高温试验箱:"/> <Control name="uiLabel3" text="高温试验箱:"/>
...@@ -313,6 +317,37 @@ ...@@ -313,6 +317,37 @@
<Control name="uiSymbolButton7" text="退出"/> <Control name="uiSymbolButton7" text="退出"/>
<Control name="uiGroupBox2" text="驱动板控制:"/> <Control name="uiGroupBox2" text="驱动板控制:"/>
<Control name="uiSymbolButton10" text="设置"/> <Control name="uiSymbolButton10" text="设置"/>
<Control name="Check_RunMode1" text="温控模式"/>
<Control name="Check_RunMode2" text="时控模式"/>
<Control name="uiLabel11" text="加热电流设置(A):"/>
<Control name="uiLabel12" text="负载数量设置:"/>
<Control name="uiLabel13" text="风机模式设置:"/>
<Control name="uiLabel28" text="总循环数设置:"/>
<Control name="uiLabel29" text="加热/冷却超时(定温):"/>
<Control name="uiLabel44" text="加热超时(S):"/>
<Control name="uiLabel45" text="冷却超时(S):"/>
<Control name="uiLabel51" text="加热/冷却设置(定时):"/>
<Control name="uiLabel42" text="加热时间(S):"/>
<Control name="uiLabel43" text="冷却时间(S):"/>
<Control name="uiLabel33" text="过温保护:"/>
<Control name="uiLabel41" text="过温阈值(℃):"/>
<Control name="uiLabel52" text="壳温超差:"/>
<Control name="uiLabel50" text="阈值(℃):"/>
<Control name="uiLabel30" text="整流桥故障保护:"/>
<Control name="uiLabel34" text="上限(V):"/>
<Control name="uiLabel35" text="下限(V):"/>
<Control name="uiLabel32" text="加热电流故障保护:"/>
<Control name="uiLabel39" text="上限(V):"/>
<Control name="uiLabel38" text="下限(V):"/>
<Control name="uiLabel31" text="相电流超差保护:"/>
<Control name="uiLabel36" text="模块1阈值(A):"/>
<Control name="uiLabel37" text="模块2阈值(A):"/>
<Control name="uiSymbolButton11" text="故障解除"/>
<Control name="uiSymbolButton8" text="校验"/>
</Controls> </Controls>
<UIRadioButtonGroup> <UIRadioButtonGroup>
<Txt_PolarityRG> <Txt_PolarityRG>
...@@ -366,24 +401,35 @@ ...@@ -366,24 +401,35 @@
<Control name="uiLabel24" text="Gb电压方向"/> <Control name="uiLabel24" text="Gb电压方向"/>
<Control name="Com_Text_Type" text="0"/> <Control name="Com_Text_Type" text="0"/>
<Control name="Com_SupplyRGPW" text="0"/> <Control name="Com_SupplyRGPW" text="0"/>
<Control name="uiLabel10" text="上电电压(上桥):"/>
<Control name="uiLabel11" text="下电电压(上桥):"/> <Control name="Check_RunMode1" text="温控模式"/>
<Control name="uiLabel17" text="上电电压(下桥):"/> <Control name="Check_RunMode2" text="时控模式"/>
<Control name="uiLabel18" text="下电电压(下桥):"/> <Control name="uiLabel27" text="加热电流设置(A):"/>
<Control name="uiCheckBox1" text="电源自动控制:"/> <Control name="uiLabel26" text="负载数量设置:"/>
<Control name="uiCheckBox2" text="烘箱自动控制:"/> <Control name="uiLabel25" text="风机模式设置:"/>
<Control name="uiLabel5" text="下电温度:"/> <Control name="uiLabel28" text="总循环数设置:"/>
<Control name="uiLabel13" text="自动升温:"/> <Control name="uiLabel29" text="加热/冷却超时(定温):"/>
<Control name="uiLabel14" text="自动升湿:"/> <Control name="uiLabel44" text="加热超时(S):"/>
<Control name="uiLabel15" text="自动降温:"/> <Control name="uiLabel45" text="冷却超时(S):"/>
<Control name="uiLabel16" text="自动降湿:"/> <Control name="uiLabel51" text="加热/冷却设置(定时):"/>
<Control name="uiLabel19" text="阶段(V/S):"/>
<Control name="uiLabel20" text="温度等待时间(M):"/> <Control name="uiLabel42" text="加热时间(S):"/>
<Control name="uiLabel12" text="湿度等待时间(M):"/> <Control name="uiLabel43" text="冷却时间(S):"/>
<Control name="uiSymbolButton1" text="老化板图"/> <Control name="uiLabel33" text="过温保护:"/>
<Control name="uiSymbolButton2" text="器件图"/> <Control name="uiLabel41" text="过温阈值(℃):"/>
<Control name="Check_PowerIf" text="电源自动控制"/> <Control name="uiLabel52" text="壳温超差:"/>
<Control name="Check_OvenIf" text="烘箱自动控制"/> <Control name="uiLabel50" text="阈值(℃):"/>
<Control name="uiLabel30" text="整流桥故障保护:"/>
<Control name="uiLabel34" text="上限(V):"/>
<Control name="uiLabel35" text="下限(V):"/>
<Control name="uiLabel32" text="加热电流故障保护:"/>
<Control name="uiLabel39" text="上限(V):"/>
<Control name="uiLabel38" text="下限(V):"/>
<Control name="uiLabel31" text="相电流超差保护:"/>
<Control name="uiLabel36" text="模块1阈值(A):"/>
<Control name="uiLabel37" text="模块2阈值(A):"/>
</Controls> </Controls>
</Form> </Form>
<Form> <Form>
...@@ -797,8 +843,8 @@ ...@@ -797,8 +843,8 @@
</Controls> </Controls>
<DataGridViewCells> <DataGridViewCells>
<DataGridViewCell name="Column2" HeaderText="批次"/> <DataGridViewCell name="Column2" HeaderText="批次"/>
<DataGridViewCell name="Column3" HeaderText="工位"/> <DataGridViewCell name="Column3" HeaderText="参数"/>
<DataGridViewCell name="Column4" HeaderText="超限"/> <DataGridViewCell name="Column4" HeaderText="超限"/>
<DataGridViewCell name="Column5" HeaderText="上限"/> <DataGridViewCell name="Column5" HeaderText="上限"/>
<DataGridViewCell name="Column6" HeaderText="下限"/> <DataGridViewCell name="Column6" HeaderText="下限"/>
<DataGridViewCell name="Column7" HeaderText="状态"/> <DataGridViewCell name="Column7" HeaderText="状态"/>
...@@ -812,8 +858,8 @@ ...@@ -812,8 +858,8 @@
<Control name="AlarmEdit" text="报警处理"/> <Control name="AlarmEdit" text="报警处理"/>
<Control name="uiLabel1" text="Id:"/> <Control name="uiLabel1" text="Id:"/>
<Control name="uiLabel2" text="批次:"/> <Control name="uiLabel2" text="批次:"/>
<Control name="uiLabel9" text="工位:"/> <Control name="uiLabel9" text="参数:"/>
<Control name="uiLabel10" text="超限:"/> <Control name="uiLabel10" text="超限:"/>
<Control name="uiLabel3" text="上限:"/> <Control name="uiLabel3" text="上限:"/>
<Control name="uiLabel4" text="下限:"/> <Control name="uiLabel4" text="下限:"/>
<Control name="uiLabel7" text="报警时间:"/> <Control name="uiLabel7" text="报警时间:"/>
......
...@@ -55,9 +55,9 @@ ...@@ -55,9 +55,9 @@
<Controls> <Controls>
<Control name="Home_Status" text="Running State"/> <Control name="Home_Status" text="Running State"/>
<Control name="uiLabel1" text="Record Num"/> <Control name="uiLabel1" text="Record Num"/>
<Control name="uiLabel4" text="VR(V)"/> <Control name="uiLabel4" text=""/>
<Control name="uiLabel3" text="TA(℃)"/> <Control name="uiLabel3" text=""/>
<Control name="uiLabel5" text="RH%"/> <Control name="uiLabel5" text=""/>
<Control name="tabPage1" text="RealData"/> <Control name="tabPage1" text="RealData"/>
<Control name="tabPage2" text="Historical Curve"/> <Control name="tabPage2" text="Historical Curve"/>
<Control name="uiButton17" text="All"/> <Control name="uiButton17" text="All"/>
...@@ -84,6 +84,9 @@ ...@@ -84,6 +84,9 @@
<DataGridViewCell name="G2Column13" HeaderText="No."/> <DataGridViewCell name="G2Column13" HeaderText="No."/>
<DataGridViewCell name="G2Column15" HeaderText="No."/> <DataGridViewCell name="G2Column15" HeaderText="No."/>
<DataGridViewCell name="G2Column17" HeaderText="No."/> <DataGridViewCell name="G2Column17" HeaderText="No."/>
<DataGridViewCell name="G1Column15" HeaderText="Cycle Num"/>
<DataGridViewCell name="G1Column16" HeaderText="Heating"/>
<DataGridViewCell name="G1Column17" HeaderText="Cooling"/>
</DataGridViewCells> </DataGridViewCells>
</Form> </Form>
<Form> <Form>
...@@ -147,9 +150,9 @@ ...@@ -147,9 +150,9 @@
<Control name="uiLabel4" text="Decimal length:"/> <Control name="uiLabel4" text="Decimal length:"/>
<Control name="uiLabel5" text="Voltage setting:"/> <Control name="uiLabel5" text="Voltage setting:"/>
<Control name="uiLabel6" text="Equipment number:"/> <Control name="uiLabel6" text="Equipment number:"/>
<Control name="uiLabel7" text="Oven Id:"/>
<Control name="uiSymbolButton2" text="Light control"/> <Control name="uiSymbolButton2" text="Light control"/>
<Control name="uiSymbolButton1" text="Correspondence"/> <Control name="uiSymbolButton1" text="Correspondence"/>
<Control name="uiSymbolButton4" text="Slot Type"/>
<Control name="uiSymbolButton3" text="Save Settings"/> <Control name="uiSymbolButton3" text="Save Settings"/>
<Control name="Com_DevTypeId" text="0"/> <Control name="Com_DevTypeId" text="0"/>
<Control name="Com_PowerId" text="0"/> <Control name="Com_PowerId" text="0"/>
...@@ -218,6 +221,7 @@ ...@@ -218,6 +221,7 @@
<Control name="CommunicationSetting" text="Communication Port Setting"/> <Control name="CommunicationSetting" text="Communication Port Setting"/>
<Control name="uiGroupBox1" text="Communication Settings:"/> <Control name="uiGroupBox1" text="Communication Settings:"/>
<Control name="uiGroupBox2" text="Record Saving Interval (m):"/> <Control name="uiGroupBox2" text="Record Saving Interval (m):"/>
<Control name="uiSymbolButton4" text="Slot Type"/>
<Control name="uiLabel1" text="Drive Detection BIB:"/> <Control name="uiLabel1" text="Drive Detection BIB:"/>
<Control name="uiLabel2" text="Test PS Supply:"/> <Control name="uiLabel2" text="Test PS Supply:"/>
<Control name="uiLabel3" text="Oven1:"/> <Control name="uiLabel3" text="Oven1:"/>
...@@ -307,6 +311,37 @@ ...@@ -307,6 +311,37 @@
<Control name="uiSymbolButton7" text="Exit"/> <Control name="uiSymbolButton7" text="Exit"/>
<Control name="uiGroupBox2" text="Driver board control:"/> <Control name="uiGroupBox2" text="Driver board control:"/>
<Control name="uiSymbolButton10" text="Set up"/> <Control name="uiSymbolButton10" text="Set up"/>
<Control name="Check_RunMode1" text="Temperature control"/>
<Control name="Check_RunMode2" text="Time control"/>
<Control name="uiLabel11" text="IH:"/>
<Control name="uiLabel12" text="Load Num setting:"/>
<Control name="uiLabel13" text="Fan mode:"/>
<Control name="uiLabel28" text="Run cycle:"/>
<Control name="uiLabel29" text="Temperature control settings:"/>
<Control name="uiLabel44" text="Heating timeout:"/>
<Control name="uiLabel45" text="Cooling timeout:"/>
<Control name="uiLabel51" text="Time control settings:"/>
<Control name="uiLabel42" text="ON Time:"/>
<Control name="uiLabel43" text="OFF Time:"/>
<Control name="uiLabel33" text="OTP:"/>
<Control name="uiLabel41" text="Overheating Threshold:"/>
<Control name="uiLabel52" text="Shell temp:"/>
<Control name="uiLabel50" text="Threshold:"/>
<Control name="uiLabel30" text="Rectifier Bridge Protect:"/>
<Control name="uiLabel34" text="Max:"/>
<Control name="uiLabel35" text="Min:"/>
<Control name="uiLabel32" text="IH protection:"/>
<Control name="uiLabel39" text="Max:"/>
<Control name="uiLabel38" text="Min:"/>
<Control name="uiLabel31" text="Phase current protect:"/>
<Control name="uiLabel36" text="DUT1:"/>
<Control name="uiLabel37" text="DUT2:"/>
<Control name="uiSymbolButton11" text="Fault relief"/>
<Control name="uiSymbolButton8" text="Check"/>
</Controls> </Controls>
<UIRadioButtonGroup> <UIRadioButtonGroup>
<Txt_PolarityRG> <Txt_PolarityRG>
...@@ -360,24 +395,35 @@ ...@@ -360,24 +395,35 @@
<Control name="uiLabel24" text="Gb voltage direction:"/> <Control name="uiLabel24" text="Gb voltage direction:"/>
<Control name="Com_Text_Type" text="0"/> <Control name="Com_Text_Type" text="0"/>
<Control name="Com_SupplyRGPW" text="0"/> <Control name="Com_SupplyRGPW" text="0"/>
<Control name="uiLabel10" text="Power on voltage:"/>
<Control name="uiLabel11" text="Power down voltage:"/> <Control name="Check_RunMode1" text="Temperature control"/>
<Control name="uiLabel17" text="Power on voltage:"/> <Control name="Check_RunMode2" text="Time control"/>
<Control name="uiLabel18" text="Power down voltage:"/> <Control name="uiLabel27" text="IH:"/>
<Control name="uiCheckBox1" text="Power auto control"/> <Control name="uiLabel26" text="Load Num setting:"/>
<Control name="uiCheckBox2" text="Auto control of oven"/> <Control name="uiLabel25" text="Fan mode:"/>
<Control name="uiLabel5" text="Conditional temp:"/> <Control name="uiLabel28" text="Run cycle:"/>
<Control name="uiLabel13" text="Auto heating:"/> <Control name="uiLabel29" text="Temperature control settings:"/>
<Control name="uiLabel14" text="Auto Add humidity:"/> <Control name="uiLabel44" text="Heating timeout:"/>
<Control name="uiLabel15" text="Auto temperature:"/> <Control name="uiLabel45" text="Cooling timeout:"/>
<Control name="uiLabel16" text="Auto Dewetting:"/> <Control name="uiLabel51" text="Time control settings:"/>
<Control name="uiLabel19" text="Stage(V/S):"/>
<Control name="uiLabel20" text="Temp time(M):"/> <Control name="uiLabel42" text="ON Time:"/>
<Control name="uiLabel12" text="Humi time(M):"/> <Control name="uiLabel43" text="OFF Time:"/>
<Control name="uiSymbolButton1" text="BIB"/> <Control name="uiLabel33" text="OTP:"/>
<Control name="uiSymbolButton2" text="Device"/> <Control name="uiLabel41" text="Overheating Threshold:"/>
<Control name="Check_PowerIf" text="Automatic power control"/> <Control name="uiLabel52" text="Shell temp:"/>
<Control name="Check_OvenIf" text="Automatic oven control"/> <Control name="uiLabel50" text="Threshold:"/>
<Control name="uiLabel30" text="Rectifier Bridge Protect:"/>
<Control name="uiLabel34" text="Max:"/>
<Control name="uiLabel35" text="Min:"/>
<Control name="uiLabel32" text="IH protection:"/>
<Control name="uiLabel39" text="Max:"/>
<Control name="uiLabel38" text="Min:"/>
<Control name="uiLabel31" text="Phase current protect:"/>
<Control name="uiLabel36" text="DUT1:"/>
<Control name="uiLabel37" text="DUT2:"/>
</Controls> </Controls>
</Form> </Form>
<Form> <Form>
......
...@@ -787,12 +787,12 @@ ...@@ -787,12 +787,12 @@
<ClassWhere>8</ClassWhere> <ClassWhere>8</ClassWhere>
<ThisWidth>1024</ThisWidth> <ThisWidth>1024</ThisWidth>
<ThisHeight>768</ThisHeight> <ThisHeight>768</ThisHeight>
<uiPanelHeight>70</uiPanelHeight> <uiPanelHeight>10</uiPanelHeight>
<uiDataGridViewHeight>480</uiDataGridViewHeight> <uiDataGridViewHeight>290</uiDataGridViewHeight>
<uiDataGridViewRowHeight>24</uiDataGridViewRowHeight> <uiDataGridViewRowHeight>30</uiDataGridViewRowHeight>
<uiDataGridView2Width1>56</uiDataGridView2Width1> <uiDataGridView2Width1>120</uiDataGridView2Width1>
<uiDataGridView2Width2>70</uiDataGridView2Width2> <uiDataGridView2Width2>122</uiDataGridView2Width2>
<uiDataGridView2Height>22</uiDataGridView2Height> <uiDataGridView2Height>40</uiDataGridView2Height>
<uiDataGridView3Width1>66</uiDataGridView3Width1> <uiDataGridView3Width1>66</uiDataGridView3Width1>
<uiDataGridView3Width2>92</uiDataGridView3Width2> <uiDataGridView3Width2>92</uiDataGridView3Width2>
<uiDataGridView3Height>30</uiDataGridView3Height> <uiDataGridView3Height>30</uiDataGridView3Height>
......
9cc8764aae313b8df422911e746b3b25be7bb4b4dfe353cd0ed26aad88f43327 f9e716ff28ace6bef246c7eccaef05ec04928ff77672086e441c12df7d60d66e
...@@ -61,3 +61,35 @@ E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debu ...@@ -61,3 +61,35 @@ E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debu
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debug\GK-HTRB-C16P.Upgradation.exe E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debug\GK-HTRB-C16P.Upgradation.exe
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debug\GK-HTRB-C16P.Upgradation.pdb E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debug\GK-HTRB-C16P.Upgradation.pdb
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\Newtonsoft.Json.xml E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\Newtonsoft.Json.xml
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\DLL\HTICOLClient.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\x64\SQLite.Interop.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\x86\SQLite.Interop.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\log4net.config
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\DLL\MQTTnet.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\GK-HTRB-C16P.Upgradation.exe.config
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\GK-HTRB-C16P.Upgradation.exe
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\GK-HTRB-C16P.Upgradation.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\GKHTRBC16P.Bll.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\GKHTRBC16P.Model.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\GKHTRBC16P.Toolbox.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\log4net.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\SunnyUI.Common.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\SunnyUI.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\Dapper.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\System.Data.SQLite.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\Newtonsoft.Json.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\HTICOLClient.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\MQTTnet.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\GKHTRBC16P.Bll.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\GKHTRBC16P.Model.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\GKHTRBC16P.Toolbox.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\log4net.xml
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\bin\Upgradation\Newtonsoft.Json.xml
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debug\GK-HTRB-C16P.Upgradation.csproj.AssemblyReference.cache
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debug\GK_HTRB_C16P.Upgradation.FrmUpgradation.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debug\GK_HTRB_C16P.Upgradation.Properties.Resources.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debug\GK-HTRB-C16P.Upgradation.csproj.GenerateResource.cache
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debug\GK-HTRB-C16P.Upgradation.csproj.CoreCompileInputs.cache
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debug\GK-HTRB-.862196FD.Up2Date
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debug\GK-HTRB-C16P.Upgradation.exe
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GK-HTRB-C16P.Upgradation\obj\Debug\GK-HTRB-C16P.Upgradation.pdb
...@@ -22,23 +22,49 @@ namespace GKHTRBC16P.Bll ...@@ -22,23 +22,49 @@ namespace GKHTRBC16P.Bll
'ParmId' integer, 'ParmId' integer,
'CreateTime' varchar(30) NOT NULL, 'CreateTime' varchar(30) NOT NULL,
'RunTime' float(10,2), 'RunTime' float(10,2),
'TemA' float(10,3), 'CycleCurrNum' integer,
'TemB' float(10,3), 'ColdHotStates' varchar(10),
'TemC' Float(10,3), 'ColdHotTime' integer,
'TemD' Float(10,3), 'OvenTing' integer,
'TemE' float(10,3), 'CoolTing' integer,
'HumidityA' float(10,3), 'Vo' float(10,3),
'VR' float(10,3), 'Vo_Warn' varchar(10),
'Vg' float(10,3),", tablename); 'Vo_Record' float(10,3),
'IL' float(10,3),
'IL_Warn' varchar(10),
'IL_Record' float(10,3),
'IA_1' float(10,3),
'I1_Warn' varchar(10),
'IA1_Record' float(10,3),
'IB_1' float(10,3),
'IB1_Record' float(10,3),
'IC_1' float(10,3),
'IC1_Record' float(10,3),
'IA_2' float(10,3),
'I2_Warn' varchar(10),
'IA2_Record' float(10,3),
'IB_2' float(10,3),
'IB2_Record' float(10,3),
'IC_2' float(10,3),
'IC2_Record' float(10,3),
'TC1' float(10,3),
'TC1_Warn' varchar(10),
'TC1_Record' float(10,3),
'TC2' float(10,3),
'TC2_Warn' varchar(10),
'TC2_Record' float(10,3),
'TC3' float(10,3),
'TC3_Warn' varchar(10),
'TC3_Record' float(10,3)", tablename);
//,
// 'TC4' float(10, 3),
// 'TC4_Warn' varchar(10),
// 'TC4_Record' float(10, 3)
string Csql2 = ""; string Csql2 = "";
for (int i = 1; i <= StaionNum; i++) //if (Csql2.Length > 0)
{ // Csql2 = Csql2.Substring(0, Csql2.Length - 1);
Csql2 = Csql2 + string.Format("'IR{0}' float(10,3),",i.ToString()); string Csql3 = string.Format(@");CREATE TABLE 'Summary'( 'Id' integer PRIMARY KEY AUTOINCREMENT,'Invalid' int,'RecordNum' integer,'MaxStatin'varchar,'Transfinite'varchar,'AgvStatin'varchar,'CycleCurrNum'integer);
} Insert into 'Summary' select 1,0,0,'','','',0;");
if (Csql2.Length > 0)
Csql2 = Csql2.Substring(0, Csql2.Length - 1);
string Csql3 = string.Format(@");CREATE TABLE 'Summary'( 'Id' integer PRIMARY KEY AUTOINCREMENT,'Invalid' int,'RecordNum' integer,'MaxStatin'varchar,'Transfinite'varchar,'AgvStatin'varchar);
Insert into 'Summary' select 1,0,0,'','','';");
//CREATE INDEX '{1}' ON '{0}' ('ParmId');", tablename, indexname); //CREATE INDEX '{1}' ON '{0}' ('ParmId');", tablename, indexname);
return Csql1+ Csql2 + Csql3; return Csql1+ Csql2 + Csql3;
......
...@@ -95,6 +95,43 @@ namespace GKHTRBC16P.Bll ...@@ -95,6 +95,43 @@ namespace GKHTRBC16P.Bll
} }
return result; return result;
} }
public int Batch_AlarmPtc(List<int> alarm, int[] currpamdu, Test_Parameter test_Parameter, DateTime time)
{
int result = 0;
if (alarm.Count == 0)
return result;
List<Dev_AlarmLog> AlatmList = new List<Dev_AlarmLog>();
int[] Comdataxu = new int[9] { 122, 125, 123, 124, 126, 130, 131, 127, 128 };
foreach (var arr in alarm)
{
Dev_AlarmLog dev_AlarmLog = new Dev_AlarmLog();
dev_AlarmLog.ParmId = test_Parameter.ParmId;
dev_AlarmLog.StationId = arr;
int xu = Comdataxu[arr];
dev_AlarmLog.StationValue = currpamdu[xu];
dev_AlarmLog.EleLower = test_Parameter.EleLower;
dev_AlarmLog.EleUpper = test_Parameter.EleUpper;
dev_AlarmLog.Status = 0;
dev_AlarmLog.CreateTime = time.ToString("yyyy-MM-dd HH:mm:ss");
AlatmList.Add(dev_AlarmLog);
}
using (IDbConnection cnn = new SQLiteConnection(DapperConntionData.Conectionvoidstring()))
{
cnn.Open();
IDbTransaction transaction = cnn.BeginTransaction();
try
{
result = cnn.Execute("insert into Dev_AlarmLog(ParmId,StationId,StationValue,EleLower,EleUpper,Status,Remark,CreateTime) " +
"values(@ParmId,@StationId,@StationValue,@EleLower,@EleUpper,@Status,@Remark,@CreateTime)", AlatmList, transaction);
transaction.Commit();
}
catch
{
transaction.Rollback();
}
}
return result;
}
public int Update(Dev_AlarmLog dev_AlarmLog) public int Update(Dev_AlarmLog dev_AlarmLog)
{ {
int result = 0; int result = 0;
......
...@@ -41,8 +41,8 @@ namespace GKHTRBC16P.Bll ...@@ -41,8 +41,8 @@ namespace GKHTRBC16P.Bll
int result = 0; int result = 0;
using (IDbConnection cnn = new SQLiteConnection(DapperConntionData.Conectionvoidstring())) using (IDbConnection cnn = new SQLiteConnection(DapperConntionData.Conectionvoidstring()))
{ {
result = cnn.Execute("insert into Dev_Device(MainId,DevName,TestId,AgingNo,AgingTime,EleLower,EleUpper,BackVol,TjUpper,Rqaw,SupplyRGPW,AgeingImage,Devimage,VgsP,VgsN,Vg,PowerIf,OvenIf,Stage,OnVoltage1,OnVoltage2,OffVoltage1,OffVoltage2,WhereTemp,OnTemp,OnHimi,OffTemp,OffHimi,ReachTime,HimiReachTime,Status,UserId,Createtime) " + result = cnn.Execute("insert into Dev_Device(MainId,DevName,TestId,AgingNo,AgingTime,EleLower,EleUpper,BackVol,TjUpper,Rqaw,SupplyRGPW,AgeingImage,Devimage,VgsP,VgsN,Vg,PowerIf,OvenIf,Stage,OnVoltage1,OnVoltage2,OffVoltage1,OffVoltage2,WhereTemp,OnTemp,OnHimi,OffTemp,OffHimi,ReachTime,HimiReachTime,F_RunMode,F_FanMode,F_LoadNum,F_LoadEleCtric,F_CycleCountNum,F_VoltageMalfunction,F_PhaseElectricity,F_LoadElectricity,F_ComponentFauit,F_VoltageUpper,F_VoltageLower,F_CurrentThresholdUp,F_CurrentThresholdLo,F_CurrentThreshlod1,F_CurrentThreshlod2,F_OventemproValue,F_HeatingTime,F_CoolingTime,F_HeatingTimeout,F_CoolintTimeout,F_HeatingThreshold,F_CoolingThreshold,F_TC2Outoftolerance,F_TC3Outoftolerance,F_TC4Outoftolerance,F_TCxThresholdSetting,Status,UserId,Createtime) " +
"values(@MainId,@DevName,@TestId,@AgingNo,@AgingTime,@EleLower,@EleUpper,@BackVol,@TjUpper,@Rqaw,@SupplyRGPW,@AgeingImage,@Devimage,@VgsP,@VgsN,@Vg,@PowerIf,@OvenIf,@Stage,@OnVoltage1,@OnVoltage2,@OffVoltage1,@OffVoltage2,@WhereTemp,@OnTemp,@OnHimi,@OffTemp,@OffHimi,@ReachTime,@HimiReachTime,@Status,@UserId,@Createtime)", dev_Device); "values(@MainId,@DevName,@TestId,@AgingNo,@AgingTime,@EleLower,@EleUpper,@BackVol,@TjUpper,@Rqaw,@SupplyRGPW,@AgeingImage,@Devimage,@VgsP,@VgsN,@Vg,@PowerIf,@OvenIf,@Stage,@OnVoltage1,@OnVoltage2,@OffVoltage1,@OffVoltage2,@WhereTemp,@OnTemp,@OnHimi,@OffTemp,@OffHimi,@ReachTime,@HimiReachTime,@F_RunMode,@F_FanMode,@F_LoadNum,@F_LoadEleCtric,@F_CycleCountNum,@F_VoltageMalfunction,@F_PhaseElectricity,@F_LoadElectricity,@F_ComponentFauit,@F_VoltageUpper,@F_VoltageLower,@F_CurrentThresholdUp,@F_CurrentThresholdLo,@F_CurrentThreshlod1,@F_CurrentThreshlod2,@F_OventemproValue,@F_HeatingTime,@F_CoolingTime,@F_HeatingTimeout,@F_CoolintTimeout,@F_HeatingThreshold,@F_CoolingThreshold,@F_TC2Outoftolerance,@F_TC3Outoftolerance,@F_TC4Outoftolerance,@F_TCxThresholdSetting,@Status,@UserId,@Createtime)", dev_Device);
} }
return result; return result;
} }
...@@ -53,6 +53,8 @@ namespace GKHTRBC16P.Bll ...@@ -53,6 +53,8 @@ namespace GKHTRBC16P.Bll
{ {
result = cnn.Execute("update Dev_Device set MainId = @MainId,DevName=@DevName,TestId =@TestId,AgingNo = @AgingNo,AgingTime = @AgingTime,EleLower=@EleLower,EleUpper=@EleUpper,BackVol=@BackVol,VgsP=@VgsP,VgsN=@VgsN,Vg=@Vg," + result = cnn.Execute("update Dev_Device set MainId = @MainId,DevName=@DevName,TestId =@TestId,AgingNo = @AgingNo,AgingTime = @AgingTime,EleLower=@EleLower,EleUpper=@EleUpper,BackVol=@BackVol,VgsP=@VgsP,VgsN=@VgsN,Vg=@Vg," +
"PowerIf=@PowerIf,OvenIf=@OvenIf,Stage=@Stage,OnVoltage1=@OnVoltage1,OnVoltage2=@OnVoltage2,OffVoltage1=@OffVoltage1,OffVoltage2=@OffVoltage2,WhereTemp=@WhereTemp,OnTemp=@OnTemp,OnHimi=@OnHimi,OffTemp=@OffTemp,OffHimi=@OffHimi,ReachTime=@ReachTime,HimiReachTime=@HimiReachTime," + "PowerIf=@PowerIf,OvenIf=@OvenIf,Stage=@Stage,OnVoltage1=@OnVoltage1,OnVoltage2=@OnVoltage2,OffVoltage1=@OffVoltage1,OffVoltage2=@OffVoltage2,WhereTemp=@WhereTemp,OnTemp=@OnTemp,OnHimi=@OnHimi,OffTemp=@OffTemp,OffHimi=@OffHimi,ReachTime=@ReachTime,HimiReachTime=@HimiReachTime," +
"F_RunMode=@F_RunMode,F_FanMode=@F_FanMode,F_LoadNum=@F_LoadNum,F_LoadEleCtric=@F_LoadEleCtric,F_CycleCountNum=@F_CycleCountNum,F_VoltageMalfunction=@F_VoltageMalfunction,F_PhaseElectricity=@F_PhaseElectricity,F_LoadElectricity=@F_LoadElectricity,F_ComponentFauit=@F_ComponentFauit,F_VoltageUpper=@F_VoltageUpper,F_VoltageLower=@F_VoltageLower,F_CurrentThresholdUp=@F_CurrentThresholdUp," +
"F_CurrentThresholdLo=@F_CurrentThresholdLo,F_CurrentThreshlod1=@F_CurrentThreshlod1,F_CurrentThreshlod2=@F_CurrentThreshlod2,F_OventemproValue=@F_OventemproValue,F_HeatingTime=@F_HeatingTime,F_CoolingTime=@F_CoolingTime,F_HeatingTimeout=@F_HeatingTimeout,F_CoolintTimeout=@F_CoolintTimeout,F_HeatingThreshold=@F_HeatingThreshold,F_CoolingThreshold=@F_CoolingThreshold,F_TC2Outoftolerance=@F_TC2Outoftolerance,F_TC3Outoftolerance=@F_TC3Outoftolerance,F_TC4Outoftolerance=@F_TC4Outoftolerance,F_TCxThresholdSetting=@F_TCxThresholdSetting," +
"TjUpper=@TjUpper,Rqaw=@Rqaw,SupplyRGPW=@SupplyRGPW,AgeingImage=@AgeingImage,Devimage=@Devimage,Status=@Status,UserId=@UserId,Createtime=@Createtime " + "TjUpper=@TjUpper,Rqaw=@Rqaw,SupplyRGPW=@SupplyRGPW,AgeingImage=@AgeingImage,Devimage=@Devimage,Status=@Status,UserId=@UserId,Createtime=@Createtime " +
"where Id=" + dev_Device.Id, dev_Device); "where Id=" + dev_Device.Id, dev_Device);
} }
......
...@@ -19,8 +19,8 @@ namespace GKHTRBC16P.Bll ...@@ -19,8 +19,8 @@ namespace GKHTRBC16P.Bll
int result = 0; int result = 0;
using (IDbConnection cnn = new SQLiteConnection(DapperConntionData.Conectionvoidstring())) using (IDbConnection cnn = new SQLiteConnection(DapperConntionData.Conectionvoidstring()))
{ {
result = cnn.Execute("insert into Test_Parameter(Id,DeviceId,Ishtrb,PowerUnit,BatchName,BatchFileName,LotInfo,BoardInfo,RecordNum,SrefStart,SrefEnd,SingeRefresh,EleLower,EleUpper,TjUpper,Rqaw,SupplyRGPW,PolarityRG,BeginTime,SupTime,SupSeconds,EndTime,TestTime,PowerNo,OvenNo,VgsP,VgsN,Remarks,Status,UserId,CreateTime) values" + result = cnn.Execute("insert into Test_Parameter(Id,DeviceId,Ishtrb,PowerUnit,BatchName,BatchFileName,LotInfo,BoardInfo,RecordNum,SrefStart,SrefEnd,SingeRefresh,EleLower,EleUpper,TjUpper,Rqaw,SupplyRGPW,PolarityRG,BeginTime,SupTime,SupSeconds,EndTime,TestTime,PowerNo,OvenNo,VgsP,VgsN,F_RunMode,F_FanMode,F_LoadNum,F_LoadEleCtric,F_CycleCountNum,F_CycleCurrNum,F_VoltageMalfunction,F_PhaseElectricity,F_LoadElectricity,F_ComponentFauit,F_VoltageUpper,F_VoltageLower,F_CurrentThresholdUp,F_CurrentThresholdLo,F_CurrentThreshlod1,F_CurrentThreshlod2,F_OventemproValue,F_HeatingTime,F_CoolingTime,F_HeatingTimeout,F_CoolintTimeout,F_HeatingThreshold,F_CoolingThreshold,F_TC2Outoftolerance,F_TC3Outoftolerance,F_TC4Outoftolerance,F_TCxThresholdSetting,Remarks,Status,UserId,CreateTime) values" +
"(@Id,@DeviceId,@Ishtrb,@PowerUnit,@BatchName,@BatchFileName,@LotInfo,@BoardInfo,@RecordNum,@SrefStart,@SrefEnd,@SingeRefresh,@EleLower,@EleUpper,@TjUpper,@Rqaw,@SupplyRGPW,@PolarityRG,@BeginTime,@SupTime,@SupSeconds,@EndTime,@TestTime,@PowerNo,@OvenNo,@VgsP,@VgsN,@Remarks,@Status,@UserId,@CreateTime)", test_Parameter); "(@Id,@DeviceId,@Ishtrb,@PowerUnit,@BatchName,@BatchFileName,@LotInfo,@BoardInfo,@RecordNum,@SrefStart,@SrefEnd,@SingeRefresh,@EleLower,@EleUpper,@TjUpper,@Rqaw,@SupplyRGPW,@PolarityRG,@BeginTime,@SupTime,@SupSeconds,@EndTime,@TestTime,@PowerNo,@OvenNo,@VgsP,@VgsN,@F_RunMode,@F_FanMode,@F_LoadNum,@F_LoadEleCtric,@F_CycleCountNum,@F_CycleCurrNum,@F_VoltageMalfunction,@F_PhaseElectricity,@F_LoadElectricity,@F_ComponentFauit,@F_VoltageUpper,@F_VoltageLower,@F_CurrentThresholdUp,@F_CurrentThresholdLo,@F_CurrentThreshlod1,@F_CurrentThreshlod2,@F_OventemproValue,@F_HeatingTime,@F_CoolingTime,@F_HeatingTimeout,@F_CoolintTimeout,@F_HeatingThreshold,@F_CoolingThreshold,@F_TC2Outoftolerance,@F_TC3Outoftolerance,@F_TC4Outoftolerance,@F_TCxThresholdSetting,@Remarks,@Status,@UserId,@CreateTime)", test_Parameter);
} }
return result; return result;
} }
...@@ -32,6 +32,8 @@ namespace GKHTRBC16P.Bll ...@@ -32,6 +32,8 @@ namespace GKHTRBC16P.Bll
result = cnn.Execute("update Test_Parameter set Id = @Id, DeviceId = @DeviceId,Ishtrb =@Ishtrb,PowerUnit=@PowerUnit,BatchName =@BatchName,LotInfo = @LotInfo,BoardInfo = @BoardInfo,SrefStart=@SrefStart,SrefEnd=@SrefEnd," + result = cnn.Execute("update Test_Parameter set Id = @Id, DeviceId = @DeviceId,Ishtrb =@Ishtrb,PowerUnit=@PowerUnit,BatchName =@BatchName,LotInfo = @LotInfo,BoardInfo = @BoardInfo,SrefStart=@SrefStart,SrefEnd=@SrefEnd," +
"SingeRefresh=@SingeRefresh,EleLower=@EleLower,EleUpper=@EleUpper,TjUpper=@TjUpper,Rqaw=@Rqaw,SupplyRGPW=@SupplyRGPW,PolarityRG=@PolarityRG,BeginTime=@BeginTime,SupTime=@SupTime,SupSeconds=@SupSeconds,EndTime=@EndTime," + "SingeRefresh=@SingeRefresh,EleLower=@EleLower,EleUpper=@EleUpper,TjUpper=@TjUpper,Rqaw=@Rqaw,SupplyRGPW=@SupplyRGPW,PolarityRG=@PolarityRG,BeginTime=@BeginTime,SupTime=@SupTime,SupSeconds=@SupSeconds,EndTime=@EndTime," +
"RecordNum=@RecordNum,BatchFileName=@BatchFileName,PowerNo=@PowerNo,OvenNo=@OvenNo,VgsP=@VgsP,VgsN=@VgsN," + "RecordNum=@RecordNum,BatchFileName=@BatchFileName,PowerNo=@PowerNo,OvenNo=@OvenNo,VgsP=@VgsP,VgsN=@VgsN," +
"F_RunMode=@F_RunMode,F_FanMode=@F_FanMode,F_LoadNum=@F_LoadNum,F_LoadEleCtric=@F_LoadEleCtric,F_CycleCountNum=@F_CycleCountNum,F_CycleCurrNum=@F_CycleCurrNum,F_VoltageMalfunction=@F_VoltageMalfunction,F_PhaseElectricity=@F_PhaseElectricity,F_LoadElectricity=@F_LoadElectricity,F_ComponentFauit=@F_ComponentFauit,F_VoltageUpper=@F_VoltageUpper,F_VoltageLower=@F_VoltageLower,F_CurrentThresholdUp=@F_CurrentThresholdUp," +
"F_CurrentThresholdLo=@F_CurrentThresholdLo,F_CurrentThreshlod1=@F_CurrentThreshlod1,F_CurrentThreshlod2=@F_CurrentThreshlod2,F_OventemproValue=@F_OventemproValue,F_HeatingTime=@F_HeatingTime,F_CoolingTime=@F_CoolingTime,F_HeatingTimeout=@F_HeatingTimeout,F_CoolintTimeout=@F_CoolintTimeout,F_HeatingThreshold=@F_HeatingThreshold,F_CoolingThreshold=@F_CoolingThreshold,F_TC2Outoftolerance=@F_TC2Outoftolerance,F_TC3Outoftolerance=@F_TC3Outoftolerance,F_TC4Outoftolerance=@F_TC4Outoftolerance,F_TCxThresholdSetting=@F_TCxThresholdSetting," +
"TestTime=@TestTime,Remarks=@Remarks,Status=@Status,UserId=@UserId,CreateTime=@CreateTime where ParmId=" + test_Parameter.ParmId, test_Parameter); "TestTime=@TestTime,Remarks=@Remarks,Status=@Status,UserId=@UserId,CreateTime=@CreateTime where ParmId=" + test_Parameter.ParmId, test_Parameter);
} }
return result; return result;
......
80d8ada0bd08f8ba8ac3cba332a418d46f12a6306ce3cf9008005623b1b0fcb8 927280dcfa6fced72a274073fd8982ea5f1404675cd7bf0dc22640f395942fbe
...@@ -43,3 +43,26 @@ E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\log4net. ...@@ -43,3 +43,26 @@ E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\log4net.
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\HTICOLClient.dll E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\HTICOLClient.dll
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\MQTTnet.dll E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\MQTTnet.dll
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\log4net.xml E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\log4net.xml
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\DLL\HTICOLClient.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\x64\SQLite.Interop.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\x86\SQLite.Interop.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\DLL\MQTTnet.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\GKHTRBC16P.Bll.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\GKHTRBC16P.Bll.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\Dapper.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\GKHTRBC16P.Model.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\GKHTRBC16P.Toolbox.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\System.Data.SQLite.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\Newtonsoft.Json.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\log4net.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\HTICOLClient.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\MQTTnet.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\GKHTRBC16P.Model.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\GKHTRBC16P.Toolbox.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\Newtonsoft.Json.xml
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\bin\Debug\log4net.xml
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\obj\Debug\GKHTRBC16P.Bll.csproj.AssemblyReference.cache
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\obj\Debug\GKHTRBC16P.Bll.csproj.CoreCompileInputs.cache
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\obj\Debug\GKHTRBC1.DFBB4EF2.Up2Date
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\obj\Debug\GKHTRBC16P.Bll.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Bll\obj\Debug\GKHTRBC16P.Bll.pdb
...@@ -64,6 +64,12 @@ ...@@ -64,6 +64,12 @@
<Compile Include="FCalGk.Designer.cs"> <Compile Include="FCalGk.Designer.cs">
<DependentUpon>FCalGk.cs</DependentUpon> <DependentUpon>FCalGk.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="FrmcailRPtc.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmcailRPtc.Designer.cs">
<DependentUpon>FrmcailRPtc.cs</DependentUpon>
</Compile>
<Compile Include="FrmcailR80v6.cs"> <Compile Include="FrmcailR80v6.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
...@@ -94,6 +100,12 @@ ...@@ -94,6 +100,12 @@
<Compile Include="FrmCalibHighc.designer.cs"> <Compile Include="FrmCalibHighc.designer.cs">
<DependentUpon>FrmCalibHighc.cs</DependentUpon> <DependentUpon>FrmCalibHighc.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="FrmCalPtc.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="FrmCalPtc.Designer.cs">
<DependentUpon>FrmCalPtc.cs</DependentUpon>
</Compile>
<Compile Include="FrmRb40D.cs"> <Compile Include="FrmRb40D.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
...@@ -117,6 +129,9 @@ ...@@ -117,6 +129,9 @@
<EmbeddedResource Include="FCalGk.resx"> <EmbeddedResource Include="FCalGk.resx">
<DependentUpon>FCalGk.cs</DependentUpon> <DependentUpon>FCalGk.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="FrmcailRPtc.resx">
<DependentUpon>FrmcailRPtc.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmcailR80v6.resx"> <EmbeddedResource Include="FrmcailR80v6.resx">
<DependentUpon>FrmcailR80v6.cs</DependentUpon> <DependentUpon>FrmcailR80v6.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
...@@ -132,6 +147,9 @@ ...@@ -132,6 +147,9 @@
<EmbeddedResource Include="FrmCalibHighc.resx"> <EmbeddedResource Include="FrmCalibHighc.resx">
<DependentUpon>FrmCalibHighc.cs</DependentUpon> <DependentUpon>FrmCalibHighc.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="FrmCalPtc.resx">
<DependentUpon>FrmCalPtc.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="FrmRb40D.resx"> <EmbeddedResource Include="FrmRb40D.resx">
<DependentUpon>FrmRb40D.cs</DependentUpon> <DependentUpon>FrmRb40D.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
......
6af45be207b7015bd21f369195a798f3421864b8a8f305eec6cbc4d6cabdf9d7 dca9f566ef56cea916ba12c54ab7ef0e6e3e5aa39fd63caacf6055724d05719c
...@@ -81,3 +81,47 @@ E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debu ...@@ -81,3 +81,47 @@ E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debu
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.exe E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.exe
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.pdb E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.pdb
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\Newtonsoft.Json.xml E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\Newtonsoft.Json.xml
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\DLL\HTICOLClient.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\x64\SQLite.Interop.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\x86\SQLite.Interop.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\DLL\MQTTnet.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\cal1.ico
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\GKHTRBC16P.Calibrationfm.exe.config
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\GKHTRBC16P.Calibrationfm.exe
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\GKHTRBC16P.Calibrationfm.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\GKHTRBC16P.Bll.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\GKHTRBC16P.Model.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\GKHTRBC16P.Protocol.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\GKHTRBC16P.Toolbox.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\SunnyUI.Common.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\SunnyUI.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\Dapper.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\System.Data.SQLite.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\Newtonsoft.Json.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\log4net.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\HTICOLClient.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\MQTTnet.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\GKHTRBC16P.Bll.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\GKHTRBC16P.Model.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\GKHTRBC16P.Protocol.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\GKHTRBC16P.Toolbox.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\Newtonsoft.Json.xml
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\bin\Debug\log4net.xml
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.csproj.AssemblyReference.cache
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.FCalGk.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.FrmcailRPtc.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.FrmcailR80v6.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.FrmCalib.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.FrmCalibgb80.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.FrmCalibH3trb.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.FrmCalibHighc.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.FrmCalPtc.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.FrmRb40D.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.FrmCalibHtgb.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.FrmCalibText.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.Properties.Resources.resources
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.csproj.GenerateResource.cache
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.csproj.CoreCompileInputs.cache
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC1.82067B27.Up2Date
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.exe
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Calibrationfm\obj\Debug\GKHTRBC16P.Calibrationfm.pdb
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
winexe winexe
C# C#
.cs .cs
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.CommTool\obj\Debug\ E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.CommTool\obj\Debug\
GKHTRBC16P.CommTool GKHTRBC16P.CommTool
none none
false false
DEBUG;TRACE DEBUG;TRACE
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.CommTool\App.xaml E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.CommTool\App.xaml
1219584333 1219584333
61324576772 61324576772
......
 
FE:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.CommTool\MainWindow.xaml;; FE:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.CommTool\MainWindow.xaml;;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GKHTRBC16P.Model
{
public class DataChes
{
/// <summary>
/// 加热时间(S)
/// </summary>
public int OvenTing { get; set; }
/// <summary>
/// 冷却时间(S)
/// </summary>
public int CoolTing { get; set; }
public double TC1 { get; set; }
public double TC2 { get; set; }
public double TC3 { get; set; }
//public double TC4 { get; set; }
public double IL { get; set; }
public double PhaseA_1 { get; set; }
public double PhaseB_1 { get; set; }
public double PhaseC_1 { get; set; }
public double PhaseA_2 { get; set; }
public double PhaseB_2 { get; set; }
public double PhaseC_2 { get; set; }
public DateTime CnTime { get; set; }
public double ToDbTime{get;set;}
}
}
...@@ -12,7 +12,9 @@ namespace GKHTRBC16P.Model ...@@ -12,7 +12,9 @@ namespace GKHTRBC16P.Model
public int ParmId { get; set; } public int ParmId { get; set; }
public string BatchName { get; set; } public string BatchName { get; set; }
public int StationId { get; set; } public int StationId { get; set; }
public string StationIds { get; set; }
public double StationValue { get; set; } public double StationValue { get; set; }
public string StationValues { get; set; }
public decimal EleLower { get; set; } public decimal EleLower { get; set; }
public decimal EleUpper { get; set; } public decimal EleUpper { get; set; }
public int EditCount { get; set; } public int EditCount { get; set; }
......
...@@ -42,6 +42,102 @@ namespace GKHTRBC16P.Model ...@@ -42,6 +42,102 @@ namespace GKHTRBC16P.Model
public decimal OffHimi { get; set; } public decimal OffHimi { get; set; }
public int ReachTime { get; set; } public int ReachTime { get; set; }
public int HimiReachTime { get; set; } public int HimiReachTime { get; set; }
/// <summary>
/// 0定温模式1定时模式
/// </summary>
public int F_RunMode { get; set; }
/// <summary>
/// 风机模式设置 0x00: ON关OFF开; 0x01: ON开OFF关; 0x02: 常开; 0x03: 常关 (初始设置:0x00, ON关OFF开)
/// </summary>
public int F_FanMode { get; set; }
/// <summary>
/// 负载数量设置
/// </summary>
public int F_LoadNum { get; set; }
/// <summary>
/// 加热电流设置
/// </summary>
public decimal F_LoadEleCtric { get; set; }
/// <summary>
/// 总循环数设置
/// </summary>
public int F_CycleCountNum { get; set; }
//public int F_CycleCurrNum { get; set; }
/// <summary>
/// 整流桥故障保护
/// </summary>
public int F_VoltageMalfunction { get; set; }
/// <summary>
/// 相电流超差保护
/// </summary>
public int F_PhaseElectricity { get; set; }
/// <summary>
/// 加热电流故障保护
/// </summary>
public int F_LoadElectricity { get; set; }
/// <summary>
/// 过温保护
/// </summary>
public int F_ComponentFauit { get; set; }
/// <summary>
/// 整流桥故障保护 上限
/// </summary>
public decimal F_VoltageUpper { get; set; }
/// <summary>
/// 整流桥故障保护 下限
/// </summary>
public decimal F_VoltageLower { get; set; }
/// <summary>
/// 加热电流故障保护 上限:
/// </summary>
public decimal F_CurrentThresholdUp { get; set; }
/// <summary>
/// 加热电流故障保护 下限:
/// </summary>
public decimal F_CurrentThresholdLo { get; set; }
/// <summary>
/// 模块1阈值
/// </summary>
public decimal F_CurrentThreshlod1 { get; set; }
/// <summary>
/// 模块2阈值
/// </summary>
public decimal F_CurrentThreshlod2 { get; set; }
/// <summary>
/// 过温阈值
/// </summary>
public decimal F_OventemproValue { get; set; }
/// <summary>
/// 加热时间
/// </summary>
public int F_HeatingTime { get; set; }
/// <summary>
/// 冷却时间
/// </summary>
public int F_CoolingTime { get; set; }
/// <summary>
/// 加热超时
/// </summary>
public int F_HeatingTimeout { get; set; }
/// <summary>
/// 冷却超时
/// </summary>
public int F_CoolintTimeout { get; set; }
/// <summary>
/// 加热阈值
/// </summary>
public decimal F_HeatingThreshold { get; set; }
/// <summary>
/// 冷却阈值
/// </summary>
public decimal F_CoolingThreshold { get; set; }
public int F_TC2Outoftolerance { get; set; }
public int F_TC3Outoftolerance { get; set; }
public int F_TC4Outoftolerance { get; set; }
/// <summary>
/// 阈值
/// </summary>
public decimal F_TCxThresholdSetting { get; set; }
public int Status { get; set; } public int Status { get; set; }
public int UserId { get; set; } public int UserId { get; set; }
public string CreateTime { get; set; } public string CreateTime { get; set; }
...@@ -58,6 +154,15 @@ namespace GKHTRBC16P.Model ...@@ -58,6 +154,15 @@ namespace GKHTRBC16P.Model
public int Id4 { get; set; } public int Id4 { get; set; }
public decimal IR4 { get; set; } public decimal IR4 { get; set; }
} }
public class Dev_Device_GridPtc
{
public string Id1 { get; set; }
public string IR1 { get; set; }
public string Id2 { get; set; }
public string IR2 { get; set; }
public string Id3 { get; set; }
public string IR3 { get; set; }
}
public class Dev_Devicest_Grid public class Dev_Devicest_Grid
{ {
public string Id1 { get; set; } public string Id1 { get; set; }
......
...@@ -49,6 +49,7 @@ ...@@ -49,6 +49,7 @@
<Compile Include="Coef_Setkb.cs" /> <Compile Include="Coef_Setkb.cs" />
<Compile Include="Com_Bobox.cs" /> <Compile Include="Com_Bobox.cs" />
<Compile Include="Com_Info.cs" /> <Compile Include="Com_Info.cs" />
<Compile Include="DataChes.cs" />
<Compile Include="DataGridViewCell.cs" /> <Compile Include="DataGridViewCell.cs" />
<Compile Include="Dev_AlarmLog.cs" /> <Compile Include="Dev_AlarmLog.cs" />
<Compile Include="Dev_Bridrqe.cs" /> <Compile Include="Dev_Bridrqe.cs" />
......
...@@ -203,5 +203,161 @@ namespace GKHTRBC16P.Model ...@@ -203,5 +203,161 @@ namespace GKHTRBC16P.Model
}
public class Stationtc_Data
{
public int Id { get; set; }
public int ParmId { get; set; }
public string CreateTime { get; set; }
public double RunTime { get; set; }
/// <summary>
/// 当前循环数
/// </summary>
public int CycleCurrNum { get; set; }
/// <summary>
/// 冷热状态
/// </summary>
public string ColdHotStates { get; set; }
/// <summary>
/// 记数(S)
/// </summary>
public int ColdHotTime { get; set; }
/// <summary>
/// 加热时间(S)
/// </summary>
public int OvenTing { get; set; }
/// <summary>
/// 冷却时间(S)
/// </summary>
public int CoolTing { get; set; }
/// <summary>
/// Vo(V)
/// </summary>
public double Vo { get; set; }
/// <summary>
/// Vo
/// </summary>
public string Vo_Warn { get; set; }
/// <summary>
/// Vo
/// </summary>
public double Vo_Record { get; set; }
/// <summary>
/// IL(A)
/// </summary>
public double IL { get; set; }
/// <summary>
/// IL
/// </summary>
public string IL_Warn { get; set; }
/// <summary>
/// IL
/// </summary>
public double IL_Record { get; set; }
/// <summary>
/// IA_1(A)
/// </summary>
public double IA_1 { get; set; }
/// <summary>
/// I1_Warn(A)
/// </summary>
public string I1_Warn { get; set; }
/// <summary>
/// IA1_Record(A)
/// </summary>
public double IA1_Record { get; set; }
/// <summary>
/// IB_1(A)
/// </summary>
public double IB_1 { get; set; }
/// <summary>
/// IB1_Record(A)
/// </summary>
public double IB1_Record { get; set; }
/// <summary>
/// IC_1(A)
/// </summary>
public double IC_1 { get; set; }
/// <summary>
/// IC1_Record(A)
/// </summary>
public double IC1_Record { get; set; }
/// <summary>
/// IA_2(A)
/// </summary>
public double IA_2 { get; set; }
/// <summary>
/// I2_Warn(A)
/// </summary>
public string I2_Warn { get; set; }
/// <summary>
/// IA2_Record(A)
/// </summary>
public double IA2_Record { get; set; }
/// <summary>
/// IB_2(A)
/// </summary>
public double IB_2 { get; set; }
/// <summary>
/// IB2_Record(A)
/// </summary>
public double IB2_Record { get; set; }
/// <summary>
/// IC_2(A)
/// </summary>
public double IC_2 { get; set; }
/// <summary>
/// IC2_Record(A)
/// </summary>
public double IC2_Record { get; set; }
/// <summary>
/// TC1(℃)
/// </summary>
public double TC1 { get; set; }
/// <summary>
/// TC1_Warn
/// </summary>
public string TC1_Warn { get; set; }
/// <summary>
/// TC1_Record(℃)
/// </summary>
public double TC1_Record { get; set; }
/// <summary>
/// TC2(℃)
/// </summary>
public double TC2 { get; set; }
/// <summary>
/// TC2_Warn
/// </summary>
public string TC2_Warn { get; set; }
/// <summary>
/// TC2_Record(℃)
/// </summary>
public double TC2_Record { get; set; }
/// <summary>
/// TC3(℃)
/// </summary>
public double TC3 { get; set; }
/// <summary>
/// TC3_Warn
/// </summary>
public string TC3_Warn { get; set; }
/// <summary>
/// TC3_Record(℃)
/// </summary>
public double TC3_Record { get; set; }
///// <summary>
///// TC4(℃)
///// </summary>
//public double TC4 { get; set; }
///// <summary>
///// TC4_Warn
///// </summary>
//public string TC4_Warn { get; set; }
///// <summary>
///// TC4_Record(℃)
///// </summary>
//public double TC4_Record { get; set; }
} }
} }
...@@ -15,7 +15,7 @@ namespace GKHTRBC16P.Model ...@@ -15,7 +15,7 @@ namespace GKHTRBC16P.Model
public string Transfinite { get; set; } public string Transfinite { get; set; }
public int Invalid { get; set; } public int Invalid { get; set; }
public string Invalids { get; set; } public string Invalids { get; set; }
public int CycleCurrNum { get; set; }
public double[] MaxStation { get; set; } public double[] MaxStation { get; set; }
public double[] AgvStation { get; set; } public double[] AgvStation { get; set; }
public int[] TransfiniteSum { get; set; } public int[] TransfiniteSum { get; set; }
......
...@@ -88,6 +88,109 @@ namespace GKHTRBC16P.Model ...@@ -88,6 +88,109 @@ namespace GKHTRBC16P.Model
public int[] IsCkeckAlarm { get; set; } public int[] IsCkeckAlarm { get; set; }
public decimal VgsP { get; set; } public decimal VgsP { get; set; }
public decimal VgsN { get; set; } public decimal VgsN { get; set; }
/// <summary>
/// 当前循环数
/// </summary>
public int F_CycleCurrNum { get; set; }
/// <summary>
/// 0定温模式1定时模式
/// </summary>
public int F_RunMode { get; set; }
/// <summary>
/// 风机模式设置 0x00: ON关OFF开; 0x01: ON开OFF关; 0x02: 常开; 0x03: 常关 (初始设置:0x00, ON关OFF开)
/// </summary>
public int F_FanMode { get; set; }
/// <summary>
/// 负载数量设置
/// </summary>
public int F_LoadNum { get; set; }
/// <summary>
/// 加热电流设置
/// </summary>
public decimal F_LoadEleCtric { get; set; }
/// <summary>
/// 总循环数设置
/// </summary>
public int F_CycleCountNum { get; set; }
//public int F_CycleCurrNum { get; set; }
/// <summary>
/// 整流桥故障保护
/// </summary>
public int F_VoltageMalfunction { get; set; }
/// <summary>
/// 相电流超差保护
/// </summary>
public int F_PhaseElectricity { get; set; }
/// <summary>
/// 加热电流故障保护\负载电流输出1故障,是否中止试验
/// </summary>
public int F_LoadElectricity { get; set; }
/// <summary>
/// 过温保护
/// </summary>
public int F_ComponentFauit { get; set; }
/// <summary>
/// 整流桥故障保护 上限
/// </summary>
public decimal F_VoltageUpper { get; set; }
/// <summary>
/// 整流桥故障保护 下限
/// </summary>
public decimal F_VoltageLower { get; set; }
/// <summary>
/// 加热电流故障保护 上限:
/// </summary>
public decimal F_CurrentThresholdUp { get; set; }
/// <summary>
/// 加热电流故障保护 下限:
/// </summary>
public decimal F_CurrentThresholdLo { get; set; }
/// <summary>
/// 模块1阈值
/// </summary>
public decimal F_CurrentThreshlod1 { get; set; }
/// <summary>
/// 模块2阈值
/// </summary>
public decimal F_CurrentThreshlod2 { get; set; }
/// <summary>
/// 过温阈值
/// </summary>
public decimal F_OventemproValue { get; set; }
/// <summary>
/// 加热时间
/// </summary>
public int F_HeatingTime { get; set; }
/// <summary>
/// 冷却时间
/// </summary>
public int F_CoolingTime { get; set; }
/// <summary>
/// 加热超时
/// </summary>
public int F_HeatingTimeout { get; set; }
/// <summary>
/// 冷却超时
/// </summary>
public int F_CoolintTimeout { get; set; }
/// <summary>
/// 加热阈值
/// </summary>
public decimal F_HeatingThreshold { get; set; }
/// <summary>
/// 冷却阈值
/// </summary>
public decimal F_CoolingThreshold { get; set; }
public int F_TC2Outoftolerance { get; set; }
public int F_TC3Outoftolerance { get; set; }
public int F_TC4Outoftolerance { get; set; }
/// <summary>
/// 阈值
/// </summary>
public decimal F_TCxThresholdSetting { get; set; }
//public string MaxStatin { get; set; } //public string MaxStatin { get; set; }
//public string Transfinite { get; set; } //public string Transfinite { get; set; }
//public int[] TransfiniteSum { get; set; } //public int[] TransfiniteSum { get; set; }
......
a6967f7297a1e7a32b3fa89c4ac4beb50dee8820eb4b8df4a8a02b2a2e689723 60dd37e7ed4106ba9d1f4621ca47ed7318ce95d00cb3639e851151eae7e87a98
...@@ -13,3 +13,12 @@ E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Model\obj\Debug\GKHTRB ...@@ -13,3 +13,12 @@ E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Model\obj\Debug\GKHTRB
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Model\bin\Debug\Newtonsoft.Json.dll E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Model\bin\Debug\Newtonsoft.Json.dll
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Model\bin\Debug\Newtonsoft.Json.xml E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Model\bin\Debug\Newtonsoft.Json.xml
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Model\obj\Debug\GKHTRBC1.4C7FFEC7.Up2Date E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Model\obj\Debug\GKHTRBC1.4C7FFEC7.Up2Date
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Model\bin\Debug\GKHTRBC16P.Model.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Model\bin\Debug\GKHTRBC16P.Model.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Model\bin\Debug\Newtonsoft.Json.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Model\bin\Debug\Newtonsoft.Json.xml
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Model\obj\Debug\GKHTRBC16P.Model.csproj.AssemblyReference.cache
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Model\obj\Debug\GKHTRBC16P.Model.csproj.CoreCompileInputs.cache
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Model\obj\Debug\GKHTRBC1.4C7FFEC7.Up2Date
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Model\obj\Debug\GKHTRBC16P.Model.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Model\obj\Debug\GKHTRBC16P.Model.pdb
差异被折叠。
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
<Compile Include="Driboard\HighVol.cs" /> <Compile Include="Driboard\HighVol.cs" />
<Compile Include="Driboard\Htgb.cs" /> <Compile Include="Driboard\Htgb.cs" />
<Compile Include="Driboard\Htgb80.cs" /> <Compile Include="Driboard\Htgb80.cs" />
<Compile Include="Driboard\PtcBoard.cs" />
<Compile Include="Driboard\R80v6.cs" /> <Compile Include="Driboard\R80v6.cs" />
<Compile Include="Driboard\Rb40D.cs" /> <Compile Include="Driboard\Rb40D.cs" />
<Compile Include="Driboard\Routinedrac.cs" /> <Compile Include="Driboard\Routinedrac.cs" />
......
f5651d80a149cb43c5f5969c7d3457d028f3cec465e26b4fbe16d068f992e0c7 db13710f252fe6abe83508a7cd6fdd6f559fc3cfcd0f69ab87e95891d2212735
...@@ -45,3 +45,27 @@ E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Protocol\obj\Debug\GKH ...@@ -45,3 +45,27 @@ E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Protocol\obj\Debug\GKH
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Protocol\obj\Debug\GKHTRBC16P.Protocol.dll E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Protocol\obj\Debug\GKHTRBC16P.Protocol.dll
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Protocol\obj\Debug\GKHTRBC16P.Protocol.pdb E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Protocol\obj\Debug\GKHTRBC16P.Protocol.pdb
E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\Newtonsoft.Json.xml E:\CustomerRbGb\GK-HTRB-C16P-gaokun\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\Newtonsoft.Json.xml
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\DLL\HTICOLClient.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\x64\SQLite.Interop.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\x86\SQLite.Interop.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\DLL\MQTTnet.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\GKHTRBC16P.Protocol.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\GKHTRBC16P.Protocol.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\GKHTRBC16P.Model.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\GKHTRBC16P.Toolbox.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\SunnyUI.Common.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\SunnyUI.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\Newtonsoft.Json.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\log4net.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\System.Data.SQLite.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\HTICOLClient.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\MQTTnet.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\GKHTRBC16P.Model.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\GKHTRBC16P.Toolbox.pdb
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\Newtonsoft.Json.xml
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\bin\Debug\log4net.xml
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\obj\Debug\GKHTRBC16P.Protocol.csproj.AssemblyReference.cache
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\obj\Debug\GKHTRBC16P.Protocol.csproj.CoreCompileInputs.cache
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\obj\Debug\GKHTRBC1.CA66D6C3.Up2Date
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\obj\Debug\GKHTRBC16P.Protocol.dll
E:\CustomerRbGb\GK-HTRB-C16P-yunyi\GK-HTRB-GB\GKHTRBC16P.Protocol\obj\Debug\GKHTRBC16P.Protocol.pdb
...@@ -26,7 +26,7 @@ namespace GKHTRBC16P.Toolbox ...@@ -26,7 +26,7 @@ namespace GKHTRBC16P.Toolbox
public static double[,] HTRBPWR = new double[36, 15]; public static double[,] HTRBPWR = new double[36, 15];
public static int[] ComRxdData = new int[256]; public static int[] ComRxdData = new int[256];
public static int[] ComRxdDataA = new int[511]; public static int[] ComRxdDataA = new int[511];
public static double LYPowerResult { get; set; } =0; public static double LYPowerResult { get; set; } = 0;
public static double[] TemData = new double[21]; public static double[] TemData = new double[21];
/// 检测电源电压及电流 /// 检测电源电压及电流
public static double[] PowerVol = new double[32]; public static double[] PowerVol = new double[32];
...@@ -66,9 +66,9 @@ namespace GKHTRBC16P.Toolbox ...@@ -66,9 +66,9 @@ namespace GKHTRBC16P.Toolbox
public static Dictionary<int, Dic_StationSp> DicBoardInfo = new Dictionary<int, Dic_StationSp>(); public static Dictionary<int, Dic_StationSp> DicBoardInfo = new Dictionary<int, Dic_StationSp>();
//public static Dic_StationSp Dic_Station { get; set; }//数据列 //public static Dic_StationSp Dic_Station { get; set; }//数据列
//public static Dic_StationSp Dic_BrStation { get; set; }//数据列 //public static Dic_StationSp Dic_BrStation { get; set; }//数据列
public static Dictionary<int,Stage_Heating> Stage_Heats { get; set; } public static Dictionary<int, Stage_Heating> Stage_Heats { get; set; }
public static Dictionary<string, byte[]> LsloImage { get; set; } public static Dictionary<string, byte[]> LsloImage { get; set; }
public static Dictionary<int,Dev_Thorou> Thorous { get; set; } public static Dictionary<int, Dev_Thorou> Thorous { get; set; }
public static Dictionary<int, Dev_Correspondence> CorrPowerDic { get; set; } public static Dictionary<int, Dev_Correspondence> CorrPowerDic { get; set; }
public static Dictionary<int, Dev_ThorouVgs> ThorouVgs { get; set; } public static Dictionary<int, Dev_ThorouVgs> ThorouVgs { get; set; }
public static List<Coef_Setkb> Coef_SetkbList { get; set; } public static List<Coef_Setkb> Coef_SetkbList { get; set; }
...@@ -76,5 +76,6 @@ namespace GKHTRBC16P.Toolbox ...@@ -76,5 +76,6 @@ namespace GKHTRBC16P.Toolbox
public static double[] PowerArray = new double[32]; public static double[] PowerArray = new double[32];
public static Oven_Data OvenDataStatic = new Oven_Data(); public static Oven_Data OvenDataStatic = new Oven_Data();
public static Dictionary<int,Queue<DataChes>> CdataChes { get; set; }
} }
} }
...@@ -693,9 +693,9 @@ namespace GKHTRBC16P.Toolbox ...@@ -693,9 +693,9 @@ namespace GKHTRBC16P.Toolbox
{ {
case 0: Result = "停止"; break; case 0: Result = "停止"; break;
case 1: Result = "暂停"; break; case 1: Result = "暂停"; break;
case 2: Result = "试验中"; break; case 2: Result = "时控运行"; break;
case 3: Result = "试验中"; break; case 3: Result = "温控运行"; break;
default: Result = "试验中"; break; default: Result = "温控运行"; break;
} }
} }
else else
...@@ -857,7 +857,119 @@ namespace GKHTRBC16P.Toolbox ...@@ -857,7 +857,119 @@ namespace GKHTRBC16P.Toolbox
//new Test_Power() { Passageway = 32,ComPowerNum = 16, CurrPass = 7, CurrResult = 4 }, //new Test_Power() { Passageway = 32,ComPowerNum = 16, CurrPass = 7, CurrResult = 4 },
//new Test_Power() { Passageway = 32,ComPowerNum = 16, CurrPass = 8, CurrResult = 4 }, //new Test_Power() { Passageway = 32,ComPowerNum = 16, CurrPass = 8, CurrResult = 4 },
}; };
public static string StringRunFun(int type)
{
string Result = "";
switch (type)
{
case 0: Result = "ON关OFF开"; break;
case 1: Result = "ON开OFF关"; break;
case 2: Result = "常开"; break;
case 3: Result = "常关"; break;
default: Result = "常关"; break;
}
return Result;
}
public static string StringTempCoolFun(int type)
{
string Result = "";
switch (type)
{
case 0: Result = "停止"; break;
case 1: Result = "冷却中"; break;
default: Result = "加热中"; break;
}
return Result;
}
/// <summary>
/// 整流桥输出故障代码 122 // [HEX] 0x00:无故障 0x01:超下限 0x02:超上限
/// </summary>
/// <param name="Parm"></param>
/// <returns></returns>
public static string VoFault(uint Parm)
{
if (Parm == 0)
return "无";
else if (Parm == 1)
return "超下限";
else
return "超上限";
}
/// <summary>
/// 负载电流超限代码 125 // [HEX] 0x00:无故障 0x01:超下限 0x02:超上限 0x03: 停止或冷却状态负载电流异常
/// </summary>
/// <param name="Parm"></param>
/// <returns></returns>
public static string ILFault(uint Parm)
{
if (Parm == 0)
return "无";
else if (Parm == 1)
return "超下限";
else if (Parm == 2)
return "超上限";
else
return "负载异常";
}
// 模块1 相电流差值超限故障代码 123 // [HEX] 0x00:无故障 0x01:超限
// 模块2 相电流差值超限代码 124 // [HEX] 0x00:无故障 0x01:超限
public static string Phase1(uint Parm)
{
if (Parm == 0)
return "无";
else
return "超差";
}
public static string Phase2(uint Parm)
{
if (Parm == 0)
return "无";
else
return "超差";
}
public static string TC1Fault(uint Parm)
{
if (Parm == 0)
return "无";
else
return "超限";
}
public static string TC2Fault(uint Parm)
{
if (Parm == 0)
return "无";
else
return "超差";
}
public static string TC3Fault(uint Parm)
{
if (Parm == 0)
return "无";
else
return "超差";
}
public static string TC4Fault(uint Parm)
{
if (Parm == 0)
return "无";
else
return "超差";
}
public static string TempFault(uint Parm)
{
if (Parm == 0)
return "无";
else
return "超限";
}
public static string CoolFault(uint Parm)
{
if (Parm == 0)
return "无";
else
return "超限";
}
public static string[] CpacmNum = new string[9] { "Vo", "IL", "I1", "I2", "TC1", "TC2", "TC3", "Heating", "Cooling" };
} }
} }
......
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论