BLLCommon.cs
1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
using Model;
using System;
using System.Collections.Generic;
using System.Drawing;
namespace BLL
{
public static class BLLCommon
{
public static BLL.Config config;
public static BLL.Extension extension;
public static BLL.PrintLabelEdit labelEdit;
public static BLL.MaterialEdit mateEdit;
public static Model.OCR ocr;
public static BLL.IO_Interface ioModule;
public static LightSource lightSource;
public static ServerCommunication SCMM;
public static NeximApiUtil neximApiUtils;
public static List<string> macroKey;
public static List<string> macroKeyValue;
public static List<string> extraKey=new List<string>();
//public static Dictionary<string, Dictionary<string, string>> extraData = new Dictionary<string, Dictionary<string, string>>();
public static int mateMaxCodeID;
public static readonly string[] CODE_SPLIT = new string[] { ",", ";", ":", "@", "#", "$", "%", "&", "-", "_", "+", "|", "!", "^", "*", "?", "/", "\\", "[Space]", "[Tab]","[GS]","[RS]"};
public static List<AutoGenRule> AutoGenRules;
public class SetKeyEventArgs : EventArgs
{
public string[] OriginalCode { get; }
public Dictionary<string, string> Key { get; }
public bool HasMatch { get; }
public SetKeyEventArgs(string[] originalCode, Dictionary<string, string> key, bool hasMatch)
{
OriginalCode = originalCode;
Key = key;
HasMatch = hasMatch;
}
}
}
}