|
|
@@ -107,6 +107,17 @@ namespace UAS_MES_NEW.Make
|
|
|
StepCount.LineCode = User.UserLineCode;
|
|
|
StepCount.Dh = dh;
|
|
|
StepCount.Start();
|
|
|
+ try
|
|
|
+ {
|
|
|
+ if (File.Exists("MidBoxCheckNoWeigh" + ".txt"))
|
|
|
+ {
|
|
|
+ File.Delete("MidBoxCheckNoWeigh" + ".txt");
|
|
|
+ }
|
|
|
+ StreamWriter sw = File.AppendText("MidBoxCheckNoWeigh" + ".txt");
|
|
|
+ sw.WriteLine(code.Handle);
|
|
|
+ sw.Close();
|
|
|
+ }
|
|
|
+ catch (Exception) { }
|
|
|
}
|
|
|
|
|
|
private void Ma_code_DBChange(object sender, EventArgs e)
|