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
e1202376
Commit
e1202376
authored
Jun 12, 2018
by
wangjunqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加组分值是否改变输出
parent
fddea3e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
GCModbusSlave.cs
GcDevicePc/Common/GCModbusSlave.cs
+8
-3
StartForm.Designer.cs
GcDevicePc/StartForm.Designer.cs
+2
-0
No files found.
GcDevicePc/Common/GCModbusSlave.cs
View file @
e1202376
...
@@ -113,10 +113,15 @@ namespace GcDevicePc.Common
...
@@ -113,10 +113,15 @@ namespace GcDevicePc.Common
{
{
switch
(
address
)
switch
(
address
)
{
{
case
3
:
{
value
=
SharedSpace
.
Data
.
change
==
true
?
(
ushort
)
1
:
(
ushort
)
0
;
}
break
;
case
4
:
case
4
:
{
{
value
=
globaldata
.
m_hmibuffer
.
gcinfo
.
HMIMac
[
0
];
value
=
globaldata
.
m_hmibuffer
.
gcinfo
.
HMIMac
[
0
];
}
}
break
;
break
;
case
5
:
case
5
:
{
{
...
...
GcDevicePc/StartForm.Designer.cs
View file @
e1202376
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
//
//
// bgpicture
// bgpicture
//
//
this
.
bgpicture
.
BackColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
bgpicture
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
bgpicture
.
Dock
=
System
.
Windows
.
Forms
.
DockStyle
.
Fill
;
this
.
bgpicture
.
Image
=
((
System
.
Drawing
.
Image
)(
resources
.
GetObject
(
"bgpicture.Image"
)));
this
.
bgpicture
.
Image
=
((
System
.
Drawing
.
Image
)(
resources
.
GetObject
(
"bgpicture.Image"
)));
this
.
bgpicture
.
ImageLocation
=
""
;
this
.
bgpicture
.
ImageLocation
=
""
;
...
@@ -96,6 +97,7 @@
...
@@ -96,6 +97,7 @@
//
//
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12F
);
this
.
AutoScaleDimensions
=
new
System
.
Drawing
.
SizeF
(
6F
,
12F
);
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
AutoScaleMode
=
System
.
Windows
.
Forms
.
AutoScaleMode
.
Font
;
this
.
BackColor
=
System
.
Drawing
.
Color
.
Black
;
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
479
,
403
);
this
.
ClientSize
=
new
System
.
Drawing
.
Size
(
479
,
403
);
this
.
Controls
.
Add
(
this
.
offlinebth
);
this
.
Controls
.
Add
(
this
.
offlinebth
);
this
.
Controls
.
Add
(
this
.
label2
);
this
.
Controls
.
Add
(
this
.
label2
);
...
...
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