..
This commit is contained in:
@@ -445,7 +445,8 @@ namespace Project
|
||||
CAM_LEFT,
|
||||
CAM_RIGHT,
|
||||
INCOMPLETE_LOADERDATA,
|
||||
NOPUTPOSITION,
|
||||
INCOMPLETE_INFOSELECT,
|
||||
NOPUTPOSITION,
|
||||
NOREELSIZE,
|
||||
PRINTER,
|
||||
QRDATAMISSMATCHL,
|
||||
|
||||
@@ -8,14 +8,14 @@ namespace Project.Class
|
||||
{
|
||||
public class Reel
|
||||
{
|
||||
public string sid { get; set; }
|
||||
public string lot { get; set; }
|
||||
public string SID { get; set; }
|
||||
public string venderLot { get; set; }
|
||||
public string mfg { get; set; }
|
||||
public int qty { get; set; }
|
||||
public string id { get; set; }
|
||||
//public string date { get; set; }
|
||||
public string partnum { get; set; }
|
||||
public string manu { get; set; }
|
||||
public string PartNo { get; set; }
|
||||
public string venderName { get; set; }
|
||||
|
||||
public Reel()
|
||||
{
|
||||
@@ -23,30 +23,30 @@ namespace Project.Class
|
||||
}
|
||||
public void Clear()
|
||||
{
|
||||
sid = string.Empty;
|
||||
lot = string.Empty;
|
||||
SID = string.Empty;
|
||||
venderLot = string.Empty;
|
||||
mfg = string.Empty;
|
||||
lot = string.Empty;
|
||||
venderLot = string.Empty;
|
||||
id = string.Empty;
|
||||
//date = string.Empty;
|
||||
partnum = string.Empty;
|
||||
manu = string.Empty;
|
||||
PartNo = string.Empty;
|
||||
venderName = string.Empty;
|
||||
qty = 0;
|
||||
}
|
||||
public Reel(string _sid, string _lot, string _manu, int _qty, string _id, string _mfgdate, string _partnum)
|
||||
{
|
||||
int sidNum = 0;
|
||||
if (int.TryParse(_sid, out sidNum) && sidNum.ToString().Length == 9)
|
||||
sid = sidNum.ToString();
|
||||
SID = sidNum.ToString();
|
||||
else
|
||||
throw new Exception("SID가 숫자가 아니거나 9자리 숫자가 아닙니다.");
|
||||
|
||||
lot = _lot;
|
||||
venderLot = _lot;
|
||||
mfg = _mfgdate;
|
||||
qty = _qty;
|
||||
id = _id;
|
||||
partnum = _partnum;
|
||||
manu = _manu;
|
||||
PartNo = _partnum;
|
||||
venderName = _manu;
|
||||
}
|
||||
public Reel(string qrbarcodestr)
|
||||
{
|
||||
@@ -54,9 +54,9 @@ namespace Project.Class
|
||||
if (spData.Length < 6)
|
||||
throw new Exception("Barcode Length가 적습니다.");
|
||||
|
||||
sid = spData[0];
|
||||
lot = spData[1];
|
||||
manu = spData[2];
|
||||
SID = spData[0];
|
||||
venderLot = spData[1];
|
||||
venderName = spData[2];
|
||||
|
||||
int _qty = 0;
|
||||
|
||||
@@ -67,8 +67,8 @@ namespace Project.Class
|
||||
|
||||
id = spData[4];
|
||||
mfg = spData[5];
|
||||
if (spData.Length > 6) partnum = spData[6];
|
||||
else partnum = string.Empty;
|
||||
if (spData.Length > 6) PartNo = spData[6];
|
||||
else PartNo = string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -573,6 +573,7 @@ namespace Project.Class
|
||||
public string LastQueryStringSID = string.Empty;
|
||||
public string LastQueryStringWMS = string.Empty;
|
||||
public string LastQueryStringCNV = string.Empty;
|
||||
public string LastQueryStringJOB = string.Empty;
|
||||
|
||||
public VisionData(string reason)
|
||||
{
|
||||
@@ -586,7 +587,8 @@ namespace Project.Class
|
||||
{
|
||||
LastQueryStringSID = string.Empty;
|
||||
LastQueryStringWMS = string.Empty;
|
||||
LastQueryStringCNV = string.Empty;
|
||||
LastQueryStringCNV = string.Empty;
|
||||
LastQueryStringJOB = string.Empty;
|
||||
RetryLoader = 0;
|
||||
ApplyOffset = false;
|
||||
var baktime = new DateTime(1982, 11, 23);
|
||||
|
||||
Reference in New Issue
Block a user