|
@@ -906,7 +906,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_szzmxhx.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "Sample";
|
|
|
- MessageBox.Show("样品名长度不能大于20,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The length of sample name should not be greater than 20, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -915,7 +915,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "100";
|
|
|
- MessageBox.Show("样品 颗粒数 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The particle number of sample is wrong, please input again!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -924,7 +924,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "100";
|
|
|
- MessageBox.Show("样品 帧图数 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The number of frame is wrong, please input again!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -933,7 +933,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "100";
|
|
|
- MessageBox.Show("样品 测量时间 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The measurement time of sample is wrong, please input again!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -942,13 +942,13 @@ namespace OTSMeasureApp
|
|
|
if (in_str.Trim() == "0")
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "5.00";
|
|
|
- MessageBox.Show("样品 颗粒直径最小值 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The minimum particle diameter of the sample is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
if (false == rg_fds_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "5.00";
|
|
|
- MessageBox.Show("样品 颗粒直径最小值 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The minimum particle diameter of the sample is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -956,13 +956,13 @@ namespace OTSMeasureApp
|
|
|
if (in_str.Trim() == "0")
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "100.00";
|
|
|
- MessageBox.Show("样品 颗粒直径最大值 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The maximum particle diameter of sample is wrong, please input again!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
if (false == rg_fds_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "100.00";
|
|
|
- MessageBox.Show("样品 颗粒直径最大值 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The maximum particle diameter of sample is wrong, please input again!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -971,7 +971,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_hl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "146";
|
|
|
- MessageBox.Show("样品 背景灰度最小值 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The minimum background gray value of the sample is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -980,7 +980,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_hl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "255";
|
|
|
- MessageBox.Show("样品 背景灰度最大值 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The maximum background gray value of the sample is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -989,7 +989,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_hl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "0";
|
|
|
- MessageBox.Show("样品 颗粒灰度最小值 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The minimum gray value of the sample is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -998,7 +998,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_hl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "145";
|
|
|
- MessageBox.Show("样品 颗粒灰度最大值 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The maximum value of sample particle gray scale is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -1007,7 +1007,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "1000";
|
|
|
- MessageBox.Show("样品 分析x-ray时间 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The analysis x-ray time of the sample is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -1016,7 +1016,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "1000";
|
|
|
- MessageBox.Show("样品 期望计数率 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The expected count rate of the sample is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -1025,13 +1025,13 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "100";
|
|
|
- MessageBox.Show("样品 放大倍数 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The magnification of sample is wrong, please input again!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
if (Convert.ToInt32(in_str.Trim()) < 45)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "45";
|
|
|
- MessageBox.Show("样品 放大倍数 过小,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The magnification of the sample is too small, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -1041,7 +1041,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_fds_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "2";
|
|
|
- MessageBox.Show("样品 像素尺寸 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The pixel size of the sample is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -1050,7 +1050,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "100";
|
|
|
- MessageBox.Show("样品 覆盖测量区域帧图数 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The number of frames in the coverage measurement area of the sample is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -1059,7 +1059,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "100";
|
|
|
- MessageBox.Show("样品 覆盖测量区域帧图数 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The number of completed frames of the sample is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -1068,7 +1068,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "100000";
|
|
|
- MessageBox.Show("样品 覆盖测量区域帧图数 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The detection area of the sample is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -1077,7 +1077,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "100";
|
|
|
- MessageBox.Show("样品 覆盖测量区域帧图数 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The detection area of the sample is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|
|
@@ -1086,7 +1086,7 @@ namespace OTSMeasureApp
|
|
|
if (false == rg_zzs_bhl.Match(in_str.Trim()).Success)
|
|
|
{
|
|
|
m_SampleGrid.m_PropWindow.PropGrid[m_SampleGrid.m_ClickRow, 2].Value = "10000";
|
|
|
- MessageBox.Show("样品 覆盖测量区域帧图数 错误,请重新输入!", "错误提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
+ MessageBox.Show("The particle area of the sample is wrong, please re-enter!", "Error Tip", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
|
|
return false;
|
|
|
}
|
|
|
break;
|