initial commit
This commit is contained in:
52
Handler/Project/Class/RegexPattern.cs
Normal file
52
Handler/Project/Class/RegexPattern.cs
Normal file
@@ -0,0 +1,52 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Project.Class
|
||||
{
|
||||
|
||||
public class RegexPattern
|
||||
{
|
||||
public string Customer { get; set; }
|
||||
public string Pattern { get; set; }
|
||||
public string Description { get; set; }
|
||||
public bool IsTrust { get; set; }
|
||||
public bool IsAmkStd { get; set; }
|
||||
public Boolean IsEnable { get; set; }
|
||||
public RegexGroupMatch[] Groups { get; set; }
|
||||
public string Symbol { get; set; }
|
||||
public int Seq { get; set; }
|
||||
public RegexPattern()
|
||||
{
|
||||
Seq = 0;
|
||||
Groups = null;
|
||||
Pattern = string.Empty;
|
||||
Description = string.Empty;
|
||||
Customer = string.Empty;
|
||||
IsTrust = false;
|
||||
IsAmkStd = false;
|
||||
Symbol = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public class RegexGroupMatch
|
||||
{
|
||||
/// <summary>
|
||||
/// 1~
|
||||
/// </summary>
|
||||
public int GroupNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// RID,SID,VLOT,MFG,PART,QTY,CUST,CUSTCODE,VNAME,
|
||||
/// </summary>
|
||||
public string TargetPos { get; set; }
|
||||
public RegexGroupMatch()
|
||||
{
|
||||
GroupNo = 0;
|
||||
TargetPos = string.Empty;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user