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
2544a6c0
Commit
2544a6c0
authored
Aug 14, 2018
by
wangjunqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正计数器位置
parent
4fa9a9cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
GCModbusSlave.cs
GcDevicePc/Common/GCModbusSlave.cs
+1
-1
CreateConfig.cs
GcDevicePc/CreateConfig.cs
+6
-2
No files found.
GcDevicePc/Common/GCModbusSlave.cs
View file @
2544a6c0
...
@@ -144,7 +144,7 @@ namespace GcDevicePc.Common
...
@@ -144,7 +144,7 @@ namespace GcDevicePc.Common
{
{
if
((
ushort
)
SharedSpace
.
Data
.
typesint
==
2
||
(
ushort
)
SharedSpace
.
Data
.
typesint
==
3
)
if
((
ushort
)
SharedSpace
.
Data
.
typesint
==
2
||
(
ushort
)
SharedSpace
.
Data
.
typesint
==
3
)
{
{
value
=
globaldata
.
m_hmibuffer
.
gcinfo
.
bat
no
;
value
=
globaldata
.
m_hmibuffer
.
gcinfo
.
bat
runcount
;
}
}
else
else
{
{
...
...
GcDevicePc/CreateConfig.cs
View file @
2544a6c0
...
@@ -826,9 +826,13 @@ namespace GcDevicePc
...
@@ -826,9 +826,13 @@ namespace GcDevicePc
DialogResult
dr
=
saveDialog
.
ShowDialog
();
DialogResult
dr
=
saveDialog
.
ShowDialog
();
if
(
dr
==
DialogResult
.
OK
)
if
(
dr
==
DialogResult
.
OK
)
{
{
String
mfilename
=
Path
.
Combine
(
globaldata
.
m_pcbuffer
.
gcpcinfo
.
pcfolderinfo
.
SubStatusFolder
,
saveDialog
.
filename
);
if
(
saveDialog
.
filename
!=
null
)
{
String
mfilename
=
Path
.
Combine
(
globaldata
.
m_pcbuffer
.
gcpcinfo
.
pcfolderinfo
.
SubStatusFolder
,
saveDialog
.
filename
);
SaveInI
(
mfilename
);
SaveInI
(
mfilename
);
}
}
}
else
if
(
dr
==
DialogResult
.
Cancel
)
else
if
(
dr
==
DialogResult
.
Cancel
)
{
{
...
...
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