|
@@ -1272,10 +1272,10 @@ namespace TeamAAS_VP.Core
|
|
|
Int16[] _LastMesCheck = new Int16[10];
|
|
Int16[] _LastMesCheck = new Int16[10];
|
|
|
Int16 _LastPickINC = 0;
|
|
Int16 _LastPickINC = 0;
|
|
|
DateTime[] _LastMesCheckTime = new DateTime[10];
|
|
DateTime[] _LastMesCheckTime = new DateTime[10];
|
|
|
- string[] ProductMainSN = new string[10];//产品主sn
|
|
|
|
|
- string[] model_num = new string[10];//产品model_num
|
|
|
|
|
- string[] wo = new string[10];//产品wo
|
|
|
|
|
- string[] color = new string[10];//产品color
|
|
|
|
|
|
|
+ string[] ProductMainSN { get; set; } = new string[10];//产品主sn
|
|
|
|
|
+ string[] model_num { get; set; } = new string[10];//产品model_num
|
|
|
|
|
+ string[] wo { get; set; } = new string[10];//产品wo
|
|
|
|
|
+ string[] color { get; set; } = new string[10];//产品color
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// PLC命令触发时
|
|
/// PLC命令触发时
|
|
|
/// </summary>
|
|
/// </summary>
|
|
@@ -2351,7 +2351,7 @@ namespace TeamAAS_VP.Core
|
|
|
}
|
|
}
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
|
- ProductMainSN[i] = DateTime.Now.ToString();
|
|
|
|
|
|
|
+ ProductMainSN[i] = DateTime.Now.ToString("yyyyMMddHHmmssfff");
|
|
|
if (i == 0)
|
|
if (i == 0)
|
|
|
{
|
|
{
|
|
|
_productService.CurrentProductCode = ProductMainSN[i];
|
|
_productService.CurrentProductCode = ProductMainSN[i];
|