Files

140 lines
2.7 KiB
C#
Raw Permalink Normal View History

using System;
2021-03-17 16:08:13 +08:00
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CommonMethods
{
public enum ToolType
{
Job,
HalconTool,
SDKBasler,
SDKPointGray,
SDKHIKVision,
2021-03-17 16:08:13 +08:00
BlobAnalyse,
FindLine,
FindCircle,
Caliper,
ShapeMatch,
EyeHandCalib,
2021-03-17 16:08:13 +08:00
CircleCalibration,
SubImage,
CreateROI,
CreatePosition,
CoorTrans,
OCR,
Barcode,
RegionFeature,
RegionOperation,
QRCode,
KeyenceSR1000,
DownCamAlign,
ColorToRGB,
DistancePL,
DistanceSS,
LLPoint,
CodeEdit,
Label,
Logic,
Output,
CreateLine,
PMAlignTool,
HDevEngineTool,
2021-03-17 16:08:13 +08:00
None
2021-03-17 16:08:13 +08:00
}
public enum DataType
{
String,
IntValue,
DoubleValue,
2021-03-17 16:08:13 +08:00
Region,
Image,
Point,
Line,
Circle,
Pose,
Object,
HXLD,
HObject
2021-03-17 16:08:13 +08:00
}
public enum SoftwareRunState
{
Debug,
Release
}
public enum ToolRunStatu
{
Not_Run,
Not_Enabled,
No_Input_Image,
Not_Input_Image,
Character_Untrained,
Not_Assign_Image_Template,
Not_Assign_Input_Image,
Not_Assign_Input_Source,
Not_Assign_Input_Pos,
Not_Asign_Input_Source,
Lack_Of_Input_Image,
Lack_Of_Input_Search_Region,
Not_Assign_Path,
Not_Asign_Input_Image,
Input_Image_Cannot_Be_Converted,
Not_Create_Template,
No_Image_In_Folder,
File_Error_Or_Path_Invalid,
Not_Assign_Acq_Device,
Not_Succeed,
Succeed,
No_Input_String,
Tool_Run_Error,
Input_Value_Type_Error,
Model_UnFound,
2021-03-17 16:08:13 +08:00
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
}
public enum WorkMode
{
ReadOneImage,
ReadMultImage,
}
public enum ImageSourceMode
{
FormDevice,
FormLocal
}
public enum ShapeMode
{
RECTANGLE1 = 0,
RECTANGLE2 = 1,
CIRCLE = 2,
ELLIPSE = 3,
Other = 4
}
2021-03-17 16:08:13 +08:00
}