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
cefe2d79
Commit
cefe2d79
authored
Aug 08, 2018
by
wangwanxh@sina.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
881b020e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
FormUser.cs
GcDevicePc/FormUser.cs
+1
-7
MDIBase.cs
GcDevicePc/MDIBase.cs
+8
-1
CKVocAnalyzer.dll
dll/CKVocAnalyzer.dll
+0
-0
No files found.
GcDevicePc/FormUser.cs
View file @
cefe2d79
...
@@ -50,13 +50,7 @@ namespace GcDevicePc
...
@@ -50,13 +50,7 @@ namespace GcDevicePc
//自动校准
//自动校准
private
void
buttonauto_Click
(
object
sender
,
EventArgs
e
)
private
void
buttonauto_Click
(
object
sender
,
EventArgs
e
)
{
{
if
(
CK_UI
.
LandIn
.
Island
)
{
}
else
{
}
DialogResult
dr
=
new
CK_UI
.
LandIn
(
"calibration"
).
ShowDialog
();
DialogResult
dr
=
new
CK_UI
.
LandIn
(
"calibration"
).
ShowDialog
();
...
...
GcDevicePc/MDIBase.cs
View file @
cefe2d79
...
@@ -398,7 +398,7 @@ namespace GcDevicePc
...
@@ -398,7 +398,7 @@ namespace GcDevicePc
float
fDetvalueold
=
0.0f
;
float
fDetvalueold
=
0.0f
;
private
void
timer1_Tick
(
object
sender
,
EventArgs
e
)
private
void
timer1_Tick
(
object
sender
,
EventArgs
e
)
{
{
this
.
Text
=
String
.
Format
(
"VOCs在线监测-1.1.3.0
2
{0}"
,
Formstr
);
this
.
Text
=
String
.
Format
(
"VOCs在线监测-1.1.3.0
3
{0}"
,
Formstr
);
if
(
LandIn
.
Island
)
if
(
LandIn
.
Island
)
{
{
HmiStatus
.
Text
=
String
.
Format
(
"状态:{0}"
,
statestr
);
HmiStatus
.
Text
=
String
.
Format
(
"状态:{0}"
,
statestr
);
...
@@ -1992,6 +1992,8 @@ namespace GcDevicePc
...
@@ -1992,6 +1992,8 @@ namespace GcDevicePc
{
{
try
try
{
{
//Trace.WriteLine(string.Format("{0},{1}", SharedSpace.MControl.SetOut, SharedSpace.MControl.SetRun), "debug");
if
(
SharedSpace
.
MControl
.
SetOut
&&
SharedSpace
.
MControl
.
SetRun
==
false
)
//准备开始校准
if
(
SharedSpace
.
MControl
.
SetOut
&&
SharedSpace
.
MControl
.
SetRun
==
false
)
//准备开始校准
{
{
SharedSpace
.
MControl
.
errstr
=
null
;
SharedSpace
.
MControl
.
errstr
=
null
;
...
@@ -2023,6 +2025,11 @@ namespace GcDevicePc
...
@@ -2023,6 +2025,11 @@ namespace GcDevicePc
SharedSpace
.
MControl
.
SetOut
=
false
;
SharedSpace
.
MControl
.
SetOut
=
false
;
}
}
}
}
//else if (SharedSpace.MControl.SetRun == false)
//{
// SharedSpace.MControl.errstr = "系统准备失败";
// SharedSpace.MControl.SetOut = false;
//}
//等待校准结束
//等待校准结束
if
(
DateTime
.
Now
>=
AutoAdjust
&&
SharedSpace
.
MControl
.
SetOut
&&
SharedSpace
.
MControl
.
SetRun
)
if
(
DateTime
.
Now
>=
AutoAdjust
&&
SharedSpace
.
MControl
.
SetOut
&&
SharedSpace
.
MControl
.
SetRun
)
{
{
...
...
dll/CKVocAnalyzer.dll
View file @
cefe2d79
No preview for this file type
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