Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
GC_Branch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周磊
GC_Branch
Commits
e137df45
Commit
e137df45
authored
Aug 27, 2018
by
wangwanxh@sina.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'wang_master' of
https://gitee.com/wangwanxh/Vocs
into wang_master
parents
a31487e0
634de4fb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
RealColTab.cs
GcDevicePc/ConfigMethod/RealColTab.cs
+6
-1
GCMethodConfig.cs
GcDevicePc/GCBuffer/GCMethodConfig.cs
+1
-1
Program.cs
GcDevicePc/Program.cs
+5
-2
No files found.
GcDevicePc/ConfigMethod/RealColTab.cs
View file @
e137df45
...
...
@@ -230,9 +230,14 @@ namespace GcDevicePc.ConfigMethod
{
ProUpTab
.
Rows
[
0
].
Cells
[
2
].
Value
=
OSetTemp
.
Text
;
ProUpTab
.
Rows
[
0
].
Cells
[
1
].
Value
=
"0"
;
if
(
ProUpTab
.
Rows
[
0
].
Cells
[
3
].
Value
==
null
)
{
ProUpTab
.
Rows
[
0
].
Cells
[
3
].
Value
=
"5"
;
}
}
if
(
float
.
Parse
(
OSetTemp
.
Text
)
>
400.0f
)
{
MessageBox
.
Show
(
"设置温度需要小于4000"
);
...
...
GcDevicePc/GCBuffer/GCMethodConfig.cs
View file @
e137df45
...
...
@@ -299,7 +299,7 @@ namespace GcDevicePc.GCBuffer
col
.
u16ColProNum
=
0
;
;
//程升阶段数
col
.
fColTempSet
=
0.0f
;
//柱箱设定温度
col
.
fColTempActual
=
0.0f
;
//柱箱实际温度
col
.
fHigestTemp
=
0.0f
;
//柱箱最高温度
col
.
fHigestTemp
=
28
0.0f
;
//柱箱最高温度
col
.
fBalanceTime
=
0.0f
;
//平衡时间
col
.
fSumProgramTime
=
0.0f
;
//总程序时间
col
.
fBehindRunTemp
=
0.0f
;
//程升结束之后的运行温度
...
...
GcDevicePc/Program.cs
View file @
e137df45
...
...
@@ -20,13 +20,16 @@ namespace GcDevicePc
if
(
createNew
)
{
Application
.
Run
(
new
StartForm
());
mutex
.
ReleaseMutex
();
// Application.Run(new MDIBase());
}
else
{
MessageBox
.
Show
(
"应用程序已经在运行中..."
);
System
.
Threading
.
Thread
.
Sleep
(
1000
);
System
.
Environment
.
Exit
(
1
);
Application
.
Exit
();
System
.
Diagnostics
.
Process
.
GetCurrentProcess
().
Kill
();
// System.Environment.Exit(1);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment