Robin_PC\robin 1 month ago
parent
commit
afe53523ee
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs

+ 6
- 2
ButcherFactory.Form/SegmentProductionAuto_/SegmentProductionAutoForm.cs View File

@ -158,14 +158,18 @@ namespace ButcherFactory.SegmentProductionAuto_
msglbl.Text = string.Empty; msglbl.Text = string.Empty;
})); }));
} }
catch
catch (Exception ex)
{ {
if (!bind) if (!bind)
{ {
BindBasicInfo(); BindBasicInfo();
bind = true; bind = true;
}
}
var msg = ex.Message ?? string.Empty;
msglbl.Text = "ERROR:" + msg;
LogUtil.WriteErrorFile(msg, "分割品车间称重计数");
} }
Thread.Sleep(500); Thread.Sleep(500);
} }


Loading…
Cancel
Save