Msgbox弹框时增加打印日志

Eight
lhiven 6 months ago
parent d2063e5e9e
commit f6b532a125

@ -23,7 +23,7 @@ namespace Rs.MotionPlat.Commom
{ {
BuzzerManager.Instance.On(); BuzzerManager.Instance.On();
} }
LogHelper.Debug(content); LogHelper.Debug($"ShowTipDialog({buttons},{content}, {title}, {warning})");
EButtonType ret = EButtonType.None; EButtonType ret = EButtonType.None;
FrmDialog fd = new FrmDialog(); FrmDialog fd = new FrmDialog();
ret = fd.ShowMessage(buttons, content, "",title); ret = fd.ShowMessage(buttons, content, "",title);
@ -54,7 +54,8 @@ namespace Rs.MotionPlat.Commom
} }
string logInfo = $"{alarmInfo.CN}"; string logInfo = $"{alarmInfo.CN}";
LogHelper.Debug(logInfo); LogHelper.Debug($"ShowDialog({logInfo},{buttons}, {warning})");
// LogHelper.Debug(logInfo);
EButtonType ret = EButtonType.None; EButtonType ret = EButtonType.None;
if (!boxList.ContainsKey(alarmInfo.AlarmID)) if (!boxList.ContainsKey(alarmInfo.AlarmID))
{ {

Loading…
Cancel
Save