Commit 4908122b 刘韬

1

1 个父辈 8e68d72e
......@@ -9,7 +9,7 @@ using System.Runtime.InteropServices;
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SO951-HC-ACSingleStore 39cbccd1b04f1b91cb5ca10b7992a369f1626a37")]
[assembly: AssemblyProduct("SO951-HC-ACSingleStore 8e68d72ee0af16f96d2969bd21975b07bac93e19")]
[assembly: AssemblyCopyright("Copyright ? 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
......
......@@ -191,6 +191,9 @@ namespace OnlineStore.ACSingleStore.useControl
{
posState = JsonHelper.DeserializeJsonToObject<Dictionary<string, PosState>>(File.ReadAllText(poscheckfile));
File.Copy(poscheckfile, poscheckfile + ".backup", true);
if (posState == null)
posState = new Dictionary<string, PosState>();
}
catch {
if (File.Exists(poscheckfile + ".backup"))
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!