|
|
@ -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); |
|
|
} |
|
|
} |
|
|
|