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