Commit 2544a6c0 authored by wangjunqiang's avatar wangjunqiang

修正计数器位置

parent 4fa9a9cb
......@@ -144,7 +144,7 @@ namespace GcDevicePc.Common
{
if ((ushort)SharedSpace.Data.typesint == 2 || (ushort)SharedSpace.Data.typesint == 3)
{
value = globaldata.m_hmibuffer.gcinfo.batno;
value = globaldata.m_hmibuffer.gcinfo.batruncount;
}
else
{
......
......@@ -825,11 +825,15 @@ namespace GcDevicePc
SaveDialog saveDialog = new SaveDialog(globaldata.m_pcbuffer.gcpcinfo.pcfolderinfo.SubStatusFolder,2);
DialogResult dr = saveDialog.ShowDialog();
if (dr == DialogResult.OK)
{
if (saveDialog.filename != null)
{
String mfilename = Path.Combine(globaldata.m_pcbuffer.gcpcinfo.pcfolderinfo.SubStatusFolder, saveDialog.filename);
SaveInI(mfilename);
}
}
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