29 lines
1.1 KiB
C#
29 lines
1.1 KiB
C#
using System.Text.RegularExpressions;
|
|
|
|
namespace Sinvo.EplanHpD.Plugin.WPFUI.Utils
|
|
{
|
|
internal class Consts
|
|
{
|
|
public const string DATA_FILE_PATH = @"\\192.168.1.160\plm系统文档\线材资料检查";
|
|
/// <summary>
|
|
/// 线材端子号码管配对表(配CE端子).xlsm
|
|
/// </summary>
|
|
public const string DATA_FILE_PATH_WIRE_TERMINAL = @"线材端子号码管配对表(配CE端子).xlsm";
|
|
/// <summary>
|
|
/// 绝缘软套
|
|
/// </summary>
|
|
public const string DATA_FILE_PATH_INSULATION = @"绝缘软套规格.xlsx";
|
|
public const string TEMPLATE_FILE_NAME = @"下单模板.xlsx";
|
|
/// <summary>
|
|
/// 线径平方规格匹配
|
|
/// </summary>
|
|
public static readonly Regex regex = new("RV[\\d]+\\.?[\\d]*", RegexOptions.Compiled);
|
|
/// <summary>
|
|
/// 变色套平方规格匹配
|
|
/// </summary>
|
|
public static readonly Regex dRegex = new("V-[\\d]+\\.?[\\d]*", RegexOptions.Compiled);
|
|
|
|
public static readonly Regex regexParenthesesContent = new(@"(?<=\()[^)]*(?=\))", RegexOptions.Compiled);
|
|
}
|
|
}
|