You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Net.NetworkInformation;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Threading;
|
|
|
|
|
using Mesnac.Action.Base;
|
|
|
|
|
using Mesnac.Controls.Base;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
using Mesnac.Codd.Session;
|
|
|
|
|
using System.IO;
|
|
|
|
|
|
|
|
|
|
namespace Mesnac.Action.Feeding.ProducingPlan
|
|
|
|
|
{
|
|
|
|
|
public class InputBarcode : FeedingAction, IAction
|
|
|
|
|
{
|
|
|
|
|
public void Run(RuntimeParameter runtime)
|
|
|
|
|
{
|
|
|
|
|
base.RunIni(runtime);
|
|
|
|
|
base.LogDebug("输入条码...");
|
|
|
|
|
FrmBarcode frmBarcode = new FrmBarcode();
|
|
|
|
|
DialogResult result = frmBarcode.ShowDialog();
|
|
|
|
|
if (result == DialogResult.OK)
|
|
|
|
|
{
|
|
|
|
|
string barCode = frmBarcode.Barcode;
|
|
|
|
|
new Sys.ScanBarcodeAction().ProcessBarcode(barCode);
|
|
|
|
|
}
|
|
|
|
|
frmBarcode.Dispose();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|