|
|
@ -72,14 +72,14 @@ namespace ScadaTool.ViewModel
|
|
|
|
string result = GoCSharpHelper.Instance().GoStringToCSharpString(run());
|
|
|
|
string result = GoCSharpHelper.Instance().GoStringToCSharpString(run());
|
|
|
|
if (result.Equals("success"))
|
|
|
|
if (result.Equals("success"))
|
|
|
|
{
|
|
|
|
{
|
|
|
|
MessageBox.Show("服务启动\n" + result);
|
|
|
|
MessageBox.Show(result);
|
|
|
|
icoPath = "Resources/icon.ico";
|
|
|
|
icoPath = "Resources/icon.ico";
|
|
|
|
isTrue = false;
|
|
|
|
isTrue = false;
|
|
|
|
timer.Dispose();
|
|
|
|
timer.Dispose();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|
MessageBox.Show("服务启动失败\n" + result);
|
|
|
|
MessageBox.Show(result);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|