|
@@ -107,136 +107,136 @@ namespace SmartSEMControl
|
|
|
#endregion
|
|
|
|
|
|
#region 固定参数
|
|
|
- private String ELYPATH= @"C:\ProgramData\Carl Zeiss\SmartFIB\API\Drop\";
|
|
|
- private String ELYFILENAME = "ApiLayout.ely";
|
|
|
+ private readonly String ELYPATH = @"C:\ProgramData\Carl Zeiss\SmartFIB\API\Drop\";
|
|
|
+ private readonly String ELYFILENAME = "ApiLayout.ely";
|
|
|
#endregion
|
|
|
|
|
|
#region 模拟参数
|
|
|
//放大缩小
|
|
|
- private String AP_MAG = "AP_MAG";
|
|
|
+ private readonly String AP_MAG = "AP_MAG";
|
|
|
//焦距
|
|
|
- private String AP_WD = "AP_WD";
|
|
|
+ private readonly String AP_WD = "AP_WD";
|
|
|
//亮度
|
|
|
- private String AP_BRIGHTNESS = "AP_BRIGHTNESS";
|
|
|
+ private readonly String AP_BRIGHTNESS = "AP_BRIGHTNESS";
|
|
|
//对比度
|
|
|
- private String AP_CONTRAST = "AP_CONTRAST";
|
|
|
+ private readonly String AP_CONTRAST = "AP_CONTRAST";
|
|
|
//亮度目标
|
|
|
- private String AP_AUTO_BRIGHT = "AP_AUTO_BRIGHT";
|
|
|
+ private readonly String AP_AUTO_BRIGHT = "AP_AUTO_BRIGHT";
|
|
|
//对比度目标
|
|
|
- private String AP_AUTO_CONTRAST = "AP_AUTO_CONTRAST";
|
|
|
+ private readonly String AP_AUTO_CONTRAST = "AP_AUTO_CONTRAST";
|
|
|
//消像散X轴
|
|
|
- private String AP_STIG_X = "AP_STIG_X";
|
|
|
+ private readonly String AP_STIG_X = "AP_STIG_X";
|
|
|
//消像散Y轴
|
|
|
- private String AP_STIG_Y = "AP_STIG_Y";
|
|
|
+ private readonly String AP_STIG_Y = "AP_STIG_Y";
|
|
|
//角度补偿
|
|
|
- private String AP_TILT_ANGLE = "AP_TILT_ANGLE";
|
|
|
+ private readonly String AP_TILT_ANGLE = "AP_TILT_ANGLE";
|
|
|
//SEM移动X
|
|
|
- private String AP_BEAMSHIFT_X = "AP_BEAMSHIFT_X";
|
|
|
+ private readonly String AP_BEAMSHIFT_X = "AP_BEAMSHIFT_X";
|
|
|
//SEM移动Y
|
|
|
- private String AP_BEAMSHIFT_Y = "AP_BEAMSHIFT_Y";
|
|
|
+ private readonly String AP_BEAMSHIFT_Y = "AP_BEAMSHIFT_Y";
|
|
|
//X轴移动到
|
|
|
- private String AP_STAGE_GOTO_X = "AP_STAGE_GOTO_X";
|
|
|
+ private readonly String AP_STAGE_GOTO_X = "AP_STAGE_GOTO_X";
|
|
|
//Y轴移动到
|
|
|
- private String AP_STAGE_GOTO_Y = "AP_STAGE_GOTO_Y";
|
|
|
+ private readonly String AP_STAGE_GOTO_Y = "AP_STAGE_GOTO_Y";
|
|
|
//Z轴移动到
|
|
|
- private String AP_STAGE_GOTO_Z = "AP_STAGE_GOTO_Z";
|
|
|
+ private readonly String AP_STAGE_GOTO_Z = "AP_STAGE_GOTO_Z";
|
|
|
//T轴移动到
|
|
|
- private String AP_STAGE_GOTO_T = "AP_STAGE_GOTO_T";
|
|
|
+ private readonly String AP_STAGE_GOTO_T = "AP_STAGE_GOTO_T";
|
|
|
//R轴移动到
|
|
|
- private String AP_STAGE_GOTO_R = "AP_STAGE_GOTO_R";
|
|
|
+ private readonly String AP_STAGE_GOTO_R = "AP_STAGE_GOTO_R";
|
|
|
//M轴移动到
|
|
|
- private String AP_STAGE_GOTO_M = "AP_STAGE_GOTO_M";
|
|
|
+ private readonly String AP_STAGE_GOTO_M = "AP_STAGE_GOTO_M";
|
|
|
//Scan Rotate角度
|
|
|
- private String AP_SCANROTATION = "AP_SCANROTATION";
|
|
|
+ private readonly String AP_SCANROTATION = "AP_SCANROTATION";
|
|
|
//像素大小
|
|
|
- private String AP_PIXEL_SIZE = "AP_PIXEL_SIZE";
|
|
|
+ private readonly String AP_PIXEL_SIZE = "AP_PIXEL_SIZE";
|
|
|
//X轴坐标
|
|
|
- private String AP_STAGE_AT_X = "AP_STAGE_AT_X";
|
|
|
+ private readonly String AP_STAGE_AT_X = "AP_STAGE_AT_X";
|
|
|
//Y轴坐标
|
|
|
- private String AP_STAGE_AT_Y = "AP_STAGE_AT_Y";
|
|
|
+ private readonly String AP_STAGE_AT_Y = "AP_STAGE_AT_Y";
|
|
|
//Z轴坐标
|
|
|
- private String AP_STAGE_AT_Z = "AP_STAGE_AT_Z";
|
|
|
+ private readonly String AP_STAGE_AT_Z = "AP_STAGE_AT_Z";
|
|
|
//T轴坐标
|
|
|
- private String AP_STAGE_AT_T = "AP_STAGE_AT_T";
|
|
|
+ private readonly String AP_STAGE_AT_T = "AP_STAGE_AT_T";
|
|
|
//R轴坐标
|
|
|
- private String AP_STAGE_AT_R = "AP_STAGE_AT_R";
|
|
|
+ private readonly String AP_STAGE_AT_R = "AP_STAGE_AT_R";
|
|
|
//M轴坐标
|
|
|
- private String AP_STAGE_AT_M = "AP_STAGE_AT_M";
|
|
|
+ private readonly String AP_STAGE_AT_M = "AP_STAGE_AT_M";
|
|
|
|
|
|
//FIB缩放
|
|
|
- private String AP_FIB_MAGNIFICATION = "AP_FIB_MAGNIFICATION";
|
|
|
+ private readonly String AP_FIB_MAGNIFICATION = "AP_FIB_MAGNIFICATION";
|
|
|
//FIB焦距
|
|
|
- private String AP_FIB_OBJECTIVE_POTENTIAL = "AP_FIB_OBJECTIVE_POTENTIAL";
|
|
|
+ private readonly String AP_FIB_OBJECTIVE_POTENTIAL = "AP_FIB_OBJECTIVE_POTENTIAL";
|
|
|
//FIB消像散X
|
|
|
- private String AP_FIB_STIGMATOR_X = "AP_FIB_STIGMATOR_X";
|
|
|
+ private readonly String AP_FIB_STIGMATOR_X = "AP_FIB_STIGMATOR_X";
|
|
|
//FIB消像散Y
|
|
|
- private String AP_FIB_STIGMATOR_Y = "AP_FIB_STIGMATOR_Y";
|
|
|
+ private readonly String AP_FIB_STIGMATOR_Y = "AP_FIB_STIGMATOR_Y";
|
|
|
//FIB光束移动X
|
|
|
- private String AP_FIB_BEAM_SHIFT_X = "AP_FIB_BEAM_SHIFT_X";
|
|
|
+ private readonly String AP_FIB_BEAM_SHIFT_X = "AP_FIB_BEAM_SHIFT_X";
|
|
|
//FIB光束移动Y
|
|
|
- private String AP_FIB_BEAM_SHIFT_Y = "AP_FIB_BEAM_SHIFT_Y";
|
|
|
+ private readonly String AP_FIB_BEAM_SHIFT_Y = "AP_FIB_BEAM_SHIFT_Y";
|
|
|
#endregion
|
|
|
|
|
|
#region 数字参数
|
|
|
//Scan Rotate开关
|
|
|
- private String DP_SCAN_ROT = "DP_SCAN_ROT";
|
|
|
+ private readonly String DP_SCAN_ROT = "DP_SCAN_ROT";
|
|
|
//取消电子束校正
|
|
|
- private String DP_TILT_CORRECTION = "DP_TILT_CORRECTION";
|
|
|
+ private readonly String DP_TILT_CORRECTION = "DP_TILT_CORRECTION";
|
|
|
//自动亮度对比度
|
|
|
- private String DP_AUTO_VIDEO = "DP_AUTO_VIDEO";
|
|
|
+ private readonly String DP_AUTO_VIDEO = "DP_AUTO_VIDEO";
|
|
|
//图像解冻
|
|
|
- private String DP_FROZEN = "DP_FROZEN";
|
|
|
+ private readonly String DP_FROZEN = "DP_FROZEN";
|
|
|
//图像类型切换
|
|
|
- private String DP_DETECTOR_TYPE = "DP_DETECTOR_TYPE";
|
|
|
+ private readonly String DP_DETECTOR_TYPE = "DP_DETECTOR_TYPE";
|
|
|
//图像大小
|
|
|
- private String DP_IMAGE_STORE = "DP_IMAGE_STORE";
|
|
|
+ private readonly String DP_IMAGE_STORE = "DP_IMAGE_STORE";
|
|
|
|
|
|
//样品台状态
|
|
|
- private String DP_STAGE_IS = "DP_STAGE_IS";
|
|
|
+ private readonly String DP_STAGE_IS = "DP_STAGE_IS";
|
|
|
//自动函数状态
|
|
|
- private String DP_AUTO_FUNCTION = "DP_AUTO_FUNCTION";
|
|
|
+ private readonly String DP_AUTO_FUNCTION = "DP_AUTO_FUNCTION";
|
|
|
|
|
|
//FIB模式
|
|
|
- private String DP_FIB_MODE = "DP_FIB_MODE";
|
|
|
+ private readonly String DP_FIB_MODE = "DP_FIB_MODE";
|
|
|
//FIB_IMAGING
|
|
|
- private String DP_FIB_IMAGING = "DP_FIB_IMAGING";
|
|
|
+ private readonly String DP_FIB_IMAGING = "DP_FIB_IMAGING";
|
|
|
|
|
|
//FIB状态
|
|
|
- private String DP_SMARTFIB_API_STATUS = "DP_SMARTFIB_API_STATUS";
|
|
|
+ private readonly String DP_SMARTFIB_API_STATUS = "DP_SMARTFIB_API_STATUS";
|
|
|
#endregion
|
|
|
|
|
|
#region 命令
|
|
|
//开启电压
|
|
|
- private String CMD_BEAM_ON = "CMD_BEAM_ON";
|
|
|
+ private readonly String CMD_BEAM_ON = "CMD_BEAM_ON";
|
|
|
//关闭电压
|
|
|
- private String CMD_EHT_OFF = "CMD_EHT_OFF";
|
|
|
+ private readonly String CMD_EHT_OFF = "CMD_EHT_OFF";
|
|
|
//自动对焦1
|
|
|
- private String CMD_AUTO_FOCUS_COARSE = "CMD_AUTO_FOCUS_COARSE";
|
|
|
+ private readonly String CMD_AUTO_FOCUS_COARSE = "CMD_AUTO_FOCUS_COARSE";
|
|
|
//自动对焦2
|
|
|
- private String CMD_AUTO_FOCUS_FINE = "CMD_AUTO_FOCUS_FINE";
|
|
|
+ private readonly String CMD_AUTO_FOCUS_FINE = "CMD_AUTO_FOCUS_FINE";
|
|
|
//自动消像散
|
|
|
- private String CMD_AUTO_STIG = "CMD_AUTO_STIG";
|
|
|
+ private readonly String CMD_AUTO_STIG = "CMD_AUTO_STIG";
|
|
|
//样品台急停
|
|
|
- private String CMD_STAGE_ABORT = "CMD_STAGE_ABORT";
|
|
|
+ private readonly String CMD_STAGE_ABORT = "CMD_STAGE_ABORT";
|
|
|
//FIB模式选择
|
|
|
- private String CMD_FIB_MODE_SEM = "CMD_FIB_MODE_SEM";
|
|
|
- private String CMD_FIB_MODE_FIB = "CMD_FIB_MODE_FIB";
|
|
|
- private String CMD_FIB_MODE_MILL = "CMD_FIB_MODE_MILL";
|
|
|
- private String CMD_FIB_MODE_SEM_FIB = "CMD_FIB_MODE_SEM_FIB";
|
|
|
- private String CMD_FIB_MODE_MILL_SEM = "CMD_FIB_MODE_MILL_SEM";
|
|
|
- private String CMD_FIB_MODE_EXT = "CMD_FIB_MODE_EXT";
|
|
|
- private String CMD_FIB_MODE_EXT_SEM = "CMD_FIB_MODE_EXT_SEM";
|
|
|
- private String CMD_FIB_MODE_ARGON_SEM = "CMD_FIB_MODE_ARGON_SEM";
|
|
|
- private String CMD_FIB_MODE_DRIFT_SEM = "CMD_FIB_MODE_DRIFT_SEM";
|
|
|
- private String CMD_FIB_MODE_DRIFT_FIB = "CMD_FIB_MODE_DRIFT_FIB";
|
|
|
- private String CMD_FIB_MODE_ARGON = "CMD_FIB_MODE_ARGON";
|
|
|
+ private readonly String CMD_FIB_MODE_SEM = "CMD_FIB_MODE_SEM";
|
|
|
+ private readonly String CMD_FIB_MODE_FIB = "CMD_FIB_MODE_FIB";
|
|
|
+ private readonly String CMD_FIB_MODE_MILL = "CMD_FIB_MODE_MILL";
|
|
|
+ private readonly String CMD_FIB_MODE_SEM_FIB = "CMD_FIB_MODE_SEM_FIB";
|
|
|
+ private readonly String CMD_FIB_MODE_MILL_SEM = "CMD_FIB_MODE_MILL_SEM";
|
|
|
+ private readonly String CMD_FIB_MODE_EXT = "CMD_FIB_MODE_EXT";
|
|
|
+ private readonly String CMD_FIB_MODE_EXT_SEM = "CMD_FIB_MODE_EXT_SEM";
|
|
|
+ private readonly String CMD_FIB_MODE_ARGON_SEM = "CMD_FIB_MODE_ARGON_SEM";
|
|
|
+ private readonly String CMD_FIB_MODE_DRIFT_SEM = "CMD_FIB_MODE_DRIFT_SEM";
|
|
|
+ private readonly String CMD_FIB_MODE_DRIFT_FIB = "CMD_FIB_MODE_DRIFT_FIB";
|
|
|
+ private readonly String CMD_FIB_MODE_ARGON = "CMD_FIB_MODE_ARGON";
|
|
|
|
|
|
//FIB加载.ely文件命令
|
|
|
- private String CMD_SMARTFIB_LOAD_ELY = "CMD_SMARTFIB_LOAD_ELY";
|
|
|
+ private readonly String CMD_SMARTFIB_LOAD_ELY = "CMD_SMARTFIB_LOAD_ELY";
|
|
|
#endregion
|
|
|
|
|
|
#region 宏文件命令
|
|
|
- private String MCF_FILENAME = "MCF_";
|
|
|
+ private readonly String MCF_FILENAME = "MCF_";
|
|
|
#endregion
|
|
|
|
|
|
#region APILib
|