Commit 2544a6c0 authored by wangjunqiang's avatar wangjunqiang

修正计数器位置

parent 4fa9a9cb
...@@ -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.batno; value = globaldata.m_hmibuffer.gcinfo.batruncount;
} }
else else
{ {
......
...@@ -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)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment