|
@@ -81,6 +81,10 @@ namespace MOKA_Factory_Tools
|
|
|
|
|
|
private void SetDSNLimit()
|
|
private void SetDSNLimit()
|
|
{
|
|
{
|
|
|
|
+ // 如果抄写PSN,不自动赋值条码限制;
|
|
|
|
+ if (BarcodeWrite.Checked )
|
|
|
|
+ return;
|
|
|
|
+
|
|
// 设置条码限制默认打上勾;
|
|
// 设置条码限制默认打上勾;
|
|
if ( midList1.keytype.ContainsKey("DSN") )
|
|
if ( midList1.keytype.ContainsKey("DSN") )
|
|
{
|
|
{
|
|
@@ -575,7 +579,7 @@ namespace MOKA_Factory_Tools
|
|
};
|
|
};
|
|
}
|
|
}
|
|
|
|
|
|
- OperationPanel operationPanel1 = new OperationPanel(this, null, ErrorDB, null, functionSetting1, WriteCheck1, ReadCheck1, WriteDone1, Preload.Checked, midList1, OrderText.Text.Trim());
|
|
|
|
|
|
+ OperationPanel operationPanel1 = new OperationPanel(this, LocalDB, ErrorDB, null, functionSetting1, WriteCheck1, ReadCheck1, WriteDone1, Preload.Checked, midList1, OrderText.Text.Trim());
|
|
operationPanel1.StartPosition = FormStartPosition.Manual;
|
|
operationPanel1.StartPosition = FormStartPosition.Manual;
|
|
if((this.Right + operationPanel1.Size.Width * formlocationmsg.Count)> Screen.PrimaryScreen.Bounds.Width&&LocationMark)
|
|
if((this.Right + operationPanel1.Size.Width * formlocationmsg.Count)> Screen.PrimaryScreen.Bounds.Width&&LocationMark)
|
|
{
|
|
{
|