|
@ -31,7 +31,7 @@ namespace PunchingMistake |
|
|
private string _partNo1 = string.Empty; |
|
|
private string _partNo1 = string.Empty; |
|
|
private string _partNo2 = string.Empty; |
|
|
private string _partNo2 = string.Empty; |
|
|
private string _carModelCode = string.Empty; |
|
|
private string _carModelCode = string.Empty; |
|
|
private string _barCodeFormate = string.Empty; |
|
|
private string _barCodeFormat = string.Empty; |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// 当前设备行数据ID
|
|
|
/// 当前设备行数据ID
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
@ -58,10 +58,10 @@ namespace PunchingMistake |
|
|
private void FrmAssemble_Load(object sender, EventArgs e) |
|
|
private void FrmAssemble_Load(object sender, EventArgs e) |
|
|
{ |
|
|
{ |
|
|
|
|
|
|
|
|
_barCodeFormate = ConfigurationManager.AppSettings["BarCodeFormate"]; |
|
|
_barCodeFormat = ConfigurationManager.AppSettings["BarCodeFormat"]; |
|
|
if (string.IsNullOrEmpty(_barCodeFormate)) |
|
|
if (string.IsNullOrEmpty(_barCodeFormat)) |
|
|
{ |
|
|
{ |
|
|
MessageBox.Show("配置文件中,条码格式[BarCodeFormate]不能为空."); |
|
|
MessageBox.Show("配置文件中,条码格式[BarCodeFormat]不能为空."); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
//stationId = ProScreenFunc.GetStationId(stationNo);
|
|
|
//stationId = ProScreenFunc.GetStationId(stationNo);
|
|
@ -487,7 +487,7 @@ namespace PunchingMistake |
|
|
//
|
|
|
//
|
|
|
string serailNo = "00001"; |
|
|
string serailNo = "00001"; |
|
|
string assembleBarCode = ""; |
|
|
string assembleBarCode = ""; |
|
|
if(_barCodeFormate == "MI") |
|
|
if(_barCodeFormat == "MI") |
|
|
{ |
|
|
{ |
|
|
assembleBarCode = _uniqueBll.GetPunchSerialNoMI(partNo1, 5, ref serailNo); |
|
|
assembleBarCode = _uniqueBll.GetPunchSerialNoMI(partNo1, 5, ref serailNo); |
|
|
} |
|
|
} |
|
|