#250926 术鹏修改为将耗时操作修改为后台线程
This commit is contained in:
@@ -246,10 +246,10 @@ namespace BaseFunction
|
||||
{
|
||||
try
|
||||
{
|
||||
if (rleMessage != null)
|
||||
{
|
||||
rleMessage.Text = str;
|
||||
}
|
||||
//if (rleMessage != null)
|
||||
//{
|
||||
// rleMessage.Text = str;
|
||||
//}
|
||||
if (str.Contains("警告") || str.ToUpper().Contains("WARN"))
|
||||
{
|
||||
|
||||
|
||||
@@ -66,5 +66,7 @@ namespace NSAnalysis
|
||||
public const string Speed2 = "Speed2";
|
||||
public const string R01_Pules = "R01_Pules";
|
||||
public const string R02_Pules = "R02_Pules";
|
||||
|
||||
public const string NoCarTypeFlag = "NoCarTypeFlag";
|
||||
}
|
||||
}
|
||||
@@ -24,6 +24,7 @@ namespace NSAnalysis
|
||||
private TMeasureMSSQLDAL tmdal = new TMeasureMSSQLDAL();
|
||||
private DataTable dtVINData = new DataTable();
|
||||
private string strLastVIN = "";
|
||||
private BackgroundWorker m_bgwRefreshCar = new BackgroundWorker();
|
||||
CenterControl gCC = null;
|
||||
#endregion 全局变量
|
||||
|
||||
@@ -64,14 +65,14 @@ namespace NSAnalysis
|
||||
for (int i = 1; i <= 30; i++)
|
||||
{
|
||||
strNSName = "";//L0" + i.ToString();
|
||||
if(i<=9)
|
||||
if (i <= 9)
|
||||
strNSName = "L0" + i.ToString();
|
||||
else
|
||||
{
|
||||
strNSName = "L" + i.ToString();
|
||||
}
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if(ucns != null)
|
||||
if (ucns != null)
|
||||
{
|
||||
ucns.tlpBackColor = Color.White;
|
||||
ucns.tlpFBackColor = Color.White;
|
||||
@@ -92,10 +93,92 @@ namespace NSAnalysis
|
||||
InitNextSenseControl();
|
||||
labVIN.Text = "";
|
||||
tmrRefreshData.Interval = 1000;
|
||||
tmrRefreshData.Start();
|
||||
//tmrRefreshData.Start();
|
||||
m_bgwRefreshCar.DoWork += new DoWorkEventHandler(m_bgwRefreshCar_DoWork);
|
||||
m_bgwRefreshCar.RunWorkerAsync();
|
||||
SpecifyScreenDisplay1();
|
||||
}
|
||||
private void m_bgwRefreshCar_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
try
|
||||
{
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strLastVIN != strVIN)
|
||||
{
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
//InitNextSenseOneItemControl();
|
||||
InitNextSenseControl();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length == 17)
|
||||
{
|
||||
string strSubVIN = strVIN;
|
||||
dtVINData.Clear();
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
labVIN.Text = strSubVIN;
|
||||
}));
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EH3 UI Refresh m_bgwRefreshCar_DoWork (strVIN.Length==17):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(1);
|
||||
}
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
{
|
||||
string strSubVIN = strVIN.Substring(0, 17);
|
||||
dtVINData.Clear();
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
labVIN.Text = strSubVIN;
|
||||
}));
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EH3 UI Refresh m_bgwRefreshCar_DoWork (strVIN.Length==21):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
strLastVIN = strVIN;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:" + ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
private void btnRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
@@ -107,7 +190,7 @@ namespace NSAnalysis
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length==17)
|
||||
if (strVIN.Length == 17)
|
||||
{
|
||||
string strSubVIN = strVIN;// strVIN.Substring(0, strVIN.Length - 2);
|
||||
dtVINData.Clear();
|
||||
@@ -155,80 +238,77 @@ namespace NSAnalysis
|
||||
private void tmrRefreshData_Tick(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
tmrRefreshData.Stop();
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strLastVIN != strVIN)
|
||||
{
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
tmrRefreshData.Stop();
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strLastVIN != strVIN)
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
//InitNextSenseOneItemControl();
|
||||
InitNextSenseControl();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length==17)
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
{
|
||||
string strSubVIN = strVIN;
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
MyBase.TraceWriteLine("Left EH3 UI Refresh tmrRefreshData (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count>0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(1);
|
||||
}
|
||||
labVIN.Text = "VIN码为空";
|
||||
//InitNextSenseOneItemControl();
|
||||
InitNextSenseControl();
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
else
|
||||
{
|
||||
string strSubVIN = strVIN.Substring(0,17);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
MyBase.TraceWriteLine("Left EH3 UI Refresh tmrRefreshData (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
if (strVIN.Length == 17)
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
strLastVIN = strVIN;
|
||||
tmrRefreshData.Start();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh tmrRefreshData Error:" + ex.Message);
|
||||
}
|
||||
string strSubVIN = strVIN;
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
|
||||
finally
|
||||
{
|
||||
tmrRefreshData.Start();
|
||||
}
|
||||
}
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EH3 UI Refresh tmrRefreshData (strVIN.Length==17):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(1);
|
||||
}
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
{
|
||||
string strSubVIN = strVIN.Substring(0, 17);
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EH3 UI Refresh tmrRefreshData (strVIN.Length==21):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
strLastVIN = strVIN;
|
||||
tmrRefreshData.Start();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh tmrRefreshData Error:" + ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private Color analysisColorbyStatus(string strStatus)
|
||||
{
|
||||
@@ -272,25 +352,29 @@ namespace NSAnalysis
|
||||
strNSName = "L" + i.ToString();
|
||||
}
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
if (ucns.tlpFBackColor == Color.Red || ucns.tlpGBackColor == Color.Red)
|
||||
if (ucns != null)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Red;
|
||||
if (ucns.tlpFBackColor == Color.Red || ucns.tlpGBackColor == Color.Red)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Red;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.LightGray && ucns.tlpGBackColor == Color.LightGray)
|
||||
{
|
||||
ucns.tlpBackColor = Color.LightGray;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.Yellow && ucns.tlpGBackColor == Color.Yellow)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Yellow;
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.tlpBackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.LightGray && ucns.tlpGBackColor == Color.LightGray)
|
||||
{
|
||||
ucns.tlpBackColor = Color.LightGray;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.Yellow && ucns.tlpGBackColor == Color.Yellow)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Yellow;
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.tlpBackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -304,21 +388,25 @@ namespace NSAnalysis
|
||||
strNSName = dtData.Rows[i]["MeasPointName"].ToString().Replace("-", "");
|
||||
strFGName = dtData.Rows[i]["DimensionName"].ToString();
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
if (strFGName == "F")
|
||||
if (ucns != null)
|
||||
{
|
||||
ucns.labFVal = dtData.Rows[i]["MeasureValue"].ToString() ;
|
||||
ucns.labFLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpFBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
if (strFGName == "F")
|
||||
{
|
||||
ucns.labFVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labFLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpFBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.labGVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labGLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpGBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.labGVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labGLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpGBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ namespace NSAnalysis
|
||||
private DataTable dtVINData = new DataTable();
|
||||
private string strLastVIN = "";
|
||||
CenterControl gCC = null;
|
||||
private BackgroundWorker m_bgwRefreshCar = new BackgroundWorker();
|
||||
#endregion 全局变量
|
||||
|
||||
#region 初始化控件
|
||||
@@ -96,10 +97,95 @@ namespace NSAnalysis
|
||||
InitNextSenseControl();
|
||||
labVIN.Text = "";
|
||||
tmrRefreshData.Interval = 1100;
|
||||
tmrRefreshData.Start();
|
||||
//tmrRefreshData.Start();
|
||||
m_bgwRefreshCar.DoWork += new DoWorkEventHandler(m_bgwRefreshCar_DoWork);
|
||||
m_bgwRefreshCar.RunWorkerAsync();
|
||||
SpecifyScreenDisplay1();
|
||||
}
|
||||
private void m_bgwRefreshCar_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
try
|
||||
{
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strLastVIN != strVIN)
|
||||
{
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
}));
|
||||
InitNextSenseControl();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length == 17)
|
||||
{
|
||||
string strSubVIN = strVIN;//.Substring(0, strVIN.Length - 2);
|
||||
dtVINData.Clear();
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
labVIN.Text = strSubVIN;
|
||||
}));
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh m_bgwRefreshCar_DoWork (strVIN.Length==17):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(1);
|
||||
}
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
{
|
||||
string strSubVIN = strVIN.Substring(0, 17);
|
||||
dtVINData.Clear();
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
labVIN.Text = strSubVIN;
|
||||
}));
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh m_bgwRefreshCar_DoWork (strVIN.Length==21):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
strLastVIN = strVIN;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:" + ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
private void btnRefresh_Click(object sender, EventArgs e)
|
||||
{
|
||||
SpecifyScreenDisplay1();
|
||||
@@ -117,9 +203,10 @@ namespace NSAnalysis
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh Button (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh Button (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
@@ -138,9 +225,10 @@ namespace NSAnalysis
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(strVIN.Length - 3, 3);
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh Button (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh Button (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
@@ -179,9 +267,10 @@ namespace NSAnalysis
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh tmrRefreshData (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh tmrRefreshData (strVIN.Length==17):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
@@ -202,9 +291,10 @@ namespace NSAnalysis
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh tmrRefreshData (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EH3"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Right EH3 UI Refresh tmrRefreshData (strVIN.Length==21):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
@@ -228,11 +318,6 @@ namespace NSAnalysis
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh tmrRefreshData Error:" + ex.Message);
|
||||
}
|
||||
|
||||
finally
|
||||
{
|
||||
tmrRefreshData.Start();
|
||||
}
|
||||
}
|
||||
|
||||
private Color analysisColorbyStatus(string strStatus)
|
||||
@@ -276,25 +361,28 @@ namespace NSAnalysis
|
||||
strNSName = "R" + i.ToString();
|
||||
}
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
if (ucns.tlpFBackColor == Color.Red || ucns.tlpGBackColor == Color.Red)
|
||||
if (ucns != null)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Red;
|
||||
if (ucns.tlpFBackColor == Color.Red || ucns.tlpGBackColor == Color.Red)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Red;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.LightGray && ucns.tlpGBackColor == Color.LightGray)
|
||||
{
|
||||
ucns.tlpBackColor = Color.LightGray;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.Yellow && ucns.tlpGBackColor == Color.Yellow)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Yellow;
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.tlpBackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.LightGray && ucns.tlpGBackColor == Color.LightGray)
|
||||
{
|
||||
ucns.tlpBackColor = Color.LightGray;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.Yellow && ucns.tlpGBackColor == Color.Yellow)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Yellow;
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.tlpBackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -308,21 +396,25 @@ namespace NSAnalysis
|
||||
strNSName = dtData.Rows[i]["MeasPointName"].ToString().Replace("-", "");
|
||||
strFGName = dtData.Rows[i]["DimensionName"].ToString();
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
if (strFGName == "F")
|
||||
if (ucns != null)
|
||||
{
|
||||
ucns.labFVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labFLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpFBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
if (strFGName == "F")
|
||||
{
|
||||
ucns.labFVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labFLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpFBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.labGVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labGLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpGBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.labGVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labGLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpGBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ namespace NSAnalysis
|
||||
private DataTable dtVINData = new DataTable();
|
||||
private string strLastVIN = "";
|
||||
CenterControl gCC = null;
|
||||
private BackgroundWorker m_bgwRefreshCar = new BackgroundWorker();
|
||||
#endregion 全局变量
|
||||
|
||||
public FEHYLeftCarData(CenterControl cc)
|
||||
@@ -92,7 +93,9 @@ namespace NSAnalysis
|
||||
InitNextSenseControl();
|
||||
labVIN.Text = "";
|
||||
tmrRefreshData.Interval = 1000;
|
||||
tmrRefreshData.Start();
|
||||
//tmrRefreshData.Start();
|
||||
m_bgwRefreshCar.DoWork += new DoWorkEventHandler(m_bgwRefreshCar_DoWork);
|
||||
m_bgwRefreshCar.RunWorkerAsync();
|
||||
SpecifyScreenDisplay1();
|
||||
}
|
||||
|
||||
@@ -151,7 +154,83 @@ namespace NSAnalysis
|
||||
}
|
||||
}
|
||||
}
|
||||
private void m_bgwRefreshCar_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
try
|
||||
{
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strLastVIN != strVIN)
|
||||
{
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
{
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
}));
|
||||
InitNextSenseControl();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length == 17)
|
||||
{
|
||||
string strSubVIN = strVIN;//.Substring(0, strVIN.Length - 2);
|
||||
dtVINData.Clear();
|
||||
Invoke((MethodInvoker)(() => { labVIN.Text = strSubVIN; }));
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh m_bgwRefreshCar_DoWork (strVIN.Length==17):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(2);
|
||||
}
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
{
|
||||
string strSubVIN = strVIN.Substring(0, 17);
|
||||
dtVINData.Clear();
|
||||
Invoke((MethodInvoker)(() => { labVIN.Text = strSubVIN; }));
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh m_bgwRefreshCar_DoWork (strVIN.Length==21):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
strLastVIN = strVIN;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:" + ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
private void tmrRefreshData_Tick(object sender, EventArgs e)
|
||||
{
|
||||
tmrRefreshData.Stop();
|
||||
@@ -174,9 +253,10 @@ namespace NSAnalysis
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh tmrRefreshData (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh tmrRefreshData (strVIN.Length==17):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
@@ -197,9 +277,10 @@ namespace NSAnalysis
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh tmrRefreshData (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh tmrRefreshData (strVIN.Length==21):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "L");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
@@ -224,10 +305,10 @@ namespace NSAnalysis
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh tmrRefreshData Error:" + ex.Message);
|
||||
}
|
||||
|
||||
finally
|
||||
{
|
||||
tmrRefreshData.Start();
|
||||
}
|
||||
// finally
|
||||
//{
|
||||
// tmrRefreshData.Start();
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
@@ -272,25 +353,28 @@ namespace NSAnalysis
|
||||
strNSName = "L" + i.ToString();
|
||||
}
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
if (ucns.tlpFBackColor == Color.Red || ucns.tlpGBackColor == Color.Red)
|
||||
if (ucns != null)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Red;
|
||||
if (ucns.tlpFBackColor == Color.Red || ucns.tlpGBackColor == Color.Red)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Red;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.LightGray && ucns.tlpGBackColor == Color.LightGray)
|
||||
{
|
||||
ucns.tlpBackColor = Color.LightGray;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.Yellow && ucns.tlpGBackColor == Color.Yellow)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Yellow;
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.tlpBackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.LightGray && ucns.tlpGBackColor == Color.LightGray)
|
||||
{
|
||||
ucns.tlpBackColor = Color.LightGray;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.Yellow && ucns.tlpGBackColor == Color.Yellow)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Yellow;
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.tlpBackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -304,21 +388,25 @@ namespace NSAnalysis
|
||||
strNSName = dtData.Rows[i]["MeasPointName"].ToString().Replace("-", "");
|
||||
strFGName = dtData.Rows[i]["DimensionName"].ToString();
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
if (strFGName == "F")
|
||||
if (ucns != null)
|
||||
{
|
||||
ucns.labFVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labFLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpFBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
if (strFGName == "F")
|
||||
{
|
||||
ucns.labFVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labFLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpFBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.labGVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labGLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpGBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.labGVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labGLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpGBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -25,6 +25,7 @@ namespace NSAnalysis
|
||||
private DataTable dtVINData = new DataTable();
|
||||
private string strLastVIN = "";
|
||||
CenterControl gCC = null;
|
||||
private BackgroundWorker m_bgwRefreshCar = new BackgroundWorker();
|
||||
#endregion 全局变量
|
||||
|
||||
#region 初始化控件
|
||||
@@ -96,7 +97,9 @@ namespace NSAnalysis
|
||||
InitNextSenseControl();
|
||||
labVIN.Text = "";
|
||||
tmrRefreshData.Interval = 1100;
|
||||
tmrRefreshData.Start();
|
||||
//tmrRefreshData.Start();
|
||||
m_bgwRefreshCar.DoWork += new DoWorkEventHandler(m_bgwRefreshCar_DoWork);
|
||||
m_bgwRefreshCar.RunWorkerAsync();
|
||||
SpecifyScreenDisplay1();
|
||||
}
|
||||
|
||||
@@ -155,6 +158,83 @@ namespace NSAnalysis
|
||||
}
|
||||
}
|
||||
}
|
||||
private void m_bgwRefreshCar_DoWork(object sender, DoWorkEventArgs e)
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
try
|
||||
{
|
||||
string strVIN = tmdal.SelectMaintenanceStation7VIN();
|
||||
if (strLastVIN != strVIN)
|
||||
{
|
||||
if (strVIN.ToLower().Contains("empty"))
|
||||
{
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
labVIN.Text = "VIN码为空";
|
||||
}));
|
||||
InitNextSenseControl();
|
||||
}
|
||||
else
|
||||
{
|
||||
if (strVIN.Length == 17)
|
||||
{
|
||||
string strSubVIN = strVIN;//.Substring(0, strVIN.Length - 2);
|
||||
dtVINData.Clear();
|
||||
Invoke((MethodInvoker)(() => { labVIN.Text = strSubVIN; })) ;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Right EHY UI Refresh m_bgwRefreshCar_DoWork (strVIN.Length==17):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(2);
|
||||
}
|
||||
}
|
||||
if (strVIN.Length == 21)
|
||||
{
|
||||
string strSubVIN = strVIN.Substring(0, 17);
|
||||
dtVINData.Clear();
|
||||
Invoke((MethodInvoker)(() => { labVIN.Text = strSubVIN; }));
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Right EHY UI Refresh m_bgwRefreshCar_DoWork (strVIN.Length==21):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
{
|
||||
refreshCarUIData(dtVINData);
|
||||
analysisTitleColor();
|
||||
}
|
||||
else
|
||||
{
|
||||
InitNextSenseControl();
|
||||
}
|
||||
gCC.ShowCarMeasureDataByCarType(2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
strLastVIN = strVIN;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:" + ex.Message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void tmrRefreshData_Tick(object sender, EventArgs e)
|
||||
{
|
||||
@@ -179,9 +259,10 @@ namespace NSAnalysis
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = tmdal.SelectCarTypeByVIN(strSubVIN);
|
||||
MyBase.TraceWriteLine("Right EHY UI Refresh tmrRefreshData (strVIN.Length==17):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Right EHY UI Refresh tmrRefreshData (strVIN.Length==17):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
@@ -202,9 +283,10 @@ namespace NSAnalysis
|
||||
dtVINData.Clear();
|
||||
labVIN.Text = strSubVIN;
|
||||
string strCarType = strVIN.Substring(18, 3);
|
||||
MyBase.TraceWriteLine("Right EHY UI Refresh tmrRefreshData (strVIN.Length==21):CarType:" + strCarType + " ;VIN: " + strSubVIN);
|
||||
|
||||
if (strCarType.ToUpper().Contains("EHY"))
|
||||
{
|
||||
MyBase.TraceWriteLine("Right EHY UI Refresh tmrRefreshData (strVIN.Length==21):strLastVIN:" + strLastVIN + " ;VIN: " + strSubVIN);
|
||||
SpecifyScreenDisplay1();
|
||||
dtVINData = tmdal.SelectTMeasureDataByCarIDAndMPN(strSubVIN, "R");
|
||||
if (dtVINData.Rows.Count > 0)
|
||||
@@ -229,10 +311,10 @@ namespace NSAnalysis
|
||||
MyBase.TraceWriteLine("Left EHY UI Refresh tmrRefreshData Error:" + ex.Message);
|
||||
}
|
||||
|
||||
finally
|
||||
{
|
||||
tmrRefreshData.Start();
|
||||
}
|
||||
//finally
|
||||
//{
|
||||
// tmrRefreshData.Start();
|
||||
//}
|
||||
}
|
||||
|
||||
private Color analysisColorbyStatus(string strStatus)
|
||||
@@ -276,25 +358,28 @@ namespace NSAnalysis
|
||||
strNSName = "R" + i.ToString();
|
||||
}
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
if (ucns.tlpFBackColor == Color.Red || ucns.tlpGBackColor == Color.Red)
|
||||
if (ucns != null)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Red;
|
||||
if (ucns.tlpFBackColor == Color.Red || ucns.tlpGBackColor == Color.Red)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Red;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.LightGray && ucns.tlpGBackColor == Color.LightGray)
|
||||
{
|
||||
ucns.tlpBackColor = Color.LightGray;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.Yellow && ucns.tlpGBackColor == Color.Yellow)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Yellow;
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.tlpBackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.LightGray && ucns.tlpGBackColor == Color.LightGray)
|
||||
{
|
||||
ucns.tlpBackColor = Color.LightGray;
|
||||
}
|
||||
else if (ucns.tlpFBackColor == Color.Yellow && ucns.tlpGBackColor == Color.Yellow)
|
||||
{
|
||||
ucns.tlpBackColor = Color.Yellow;
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.tlpBackColor = Color.Lime;
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -308,21 +393,25 @@ namespace NSAnalysis
|
||||
strNSName = dtData.Rows[i]["MeasPointName"].ToString().Replace("-", "");
|
||||
strFGName = dtData.Rows[i]["DimensionName"].ToString();
|
||||
ucns = ((UCVWNextSense)MyBase.GetChildControl(this, strNSName));
|
||||
if (ucns != null)
|
||||
Invoke((MethodInvoker)(() =>
|
||||
{
|
||||
if (strFGName == "F")
|
||||
if (ucns != null)
|
||||
{
|
||||
ucns.labFVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labFLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpFBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
if (strFGName == "F")
|
||||
{
|
||||
ucns.labFVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labFLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpFBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.labGVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labGLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpGBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ucns.labGVal = dtData.Rows[i]["MeasureValue"].ToString();
|
||||
ucns.labGLowerUpper = dtData.Rows[i]["LowerTolVal"].ToString() + "/" + dtData.Rows[i]["UpperTolVal"].ToString();
|
||||
ucns.tlpGBackColor = analysisColorbyStatus(dtData.Rows[i]["MeasureItemResult"].ToString());
|
||||
}
|
||||
}
|
||||
}));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+3239
-3433
File diff suppressed because it is too large
Load Diff
Generated
+5
-30
@@ -228,12 +228,8 @@
|
||||
this.lpcPLCTest = new UserControlClass.LabPictureControl();
|
||||
this.lpcPLCAddress = new UserControlClass.LabPictureControl();
|
||||
this.tmSystem = new System.Windows.Forms.Timer(this.components);
|
||||
this.tmReadNextsenseCSV = new System.Windows.Forms.Timer(this.components);
|
||||
this.tmrReadPLCData = new System.Windows.Forms.Timer(this.components);
|
||||
this.tmrRefreshPLCStatus = new System.Windows.Forms.Timer(this.components);
|
||||
this.tmrHeartBeatConnect = new System.Windows.Forms.Timer(this.components);
|
||||
this.tmrWritePLCLive = new System.Windows.Forms.Timer(this.components);
|
||||
this.tmrMonitorDBToCreateReport = new System.Windows.Forms.Timer(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.radTitleBar1)).BeginInit();
|
||||
this.radTitleBar1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.radStatusStrip1)).BeginInit();
|
||||
@@ -531,6 +527,7 @@
|
||||
this.radStatusStrip1.SetSpring(this.commandBarSeparator3, false);
|
||||
this.commandBarSeparator3.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SystemDefault;
|
||||
this.commandBarSeparator3.UseCompatibleTextRendering = false;
|
||||
this.commandBarSeparator3.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
|
||||
this.commandBarSeparator3.VisibleInOverflowMenu = false;
|
||||
//
|
||||
// radLabelElement3
|
||||
@@ -539,6 +536,7 @@
|
||||
this.radStatusStrip1.SetSpring(this.radLabelElement3, false);
|
||||
this.radLabelElement3.Text = "读取数据库状态:";
|
||||
this.radLabelElement3.TextWrap = true;
|
||||
this.radLabelElement3.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
|
||||
//
|
||||
// rleReadDBStatus
|
||||
//
|
||||
@@ -547,6 +545,7 @@
|
||||
this.radStatusStrip1.SetSpring(this.rleReadDBStatus, false);
|
||||
this.rleReadDBStatus.Text = "●";
|
||||
this.rleReadDBStatus.TextWrap = true;
|
||||
this.rleReadDBStatus.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
|
||||
//
|
||||
// commandBarSeparator5
|
||||
//
|
||||
@@ -582,7 +581,7 @@
|
||||
this.RPV.ItemSizeMode = ((Telerik.WinControls.UI.PageViewItemSizeMode)((Telerik.WinControls.UI.PageViewItemSizeMode.EqualWidth | Telerik.WinControls.UI.PageViewItemSizeMode.EqualHeight)));
|
||||
this.RPV.Location = new System.Drawing.Point(1, 42);
|
||||
this.RPV.Name = "RPV";
|
||||
this.RPV.SelectedPage = this.rpvpAnalysis;
|
||||
this.RPV.SelectedPage = this.rpvpSetup;
|
||||
this.RPV.Size = new System.Drawing.Size(1918, 1008);
|
||||
this.RPV.TabIndex = 127;
|
||||
this.RPV.ViewMode = Telerik.WinControls.UI.PageViewMode.NavigationView;
|
||||
@@ -665,7 +664,7 @@
|
||||
((Telerik.WinControls.UI.NavigationViewHeaderElement)(this.RPV.GetChildAt(0).GetChildAt(2))).BackColor3 = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(135)))), ((int)(((byte)(161)))));
|
||||
((Telerik.WinControls.UI.NavigationViewHeaderElement)(this.RPV.GetChildAt(0).GetChildAt(2))).BackColor4 = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(135)))), ((int)(((byte)(161)))));
|
||||
((Telerik.WinControls.UI.NavigationViewHeaderElement)(this.RPV.GetChildAt(0).GetChildAt(2))).HorizontalLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(19)))), ((int)(((byte)(46)))), ((int)(((byte)(53)))));
|
||||
((Telerik.WinControls.UI.NavigationViewHeaderElement)(this.RPV.GetChildAt(0).GetChildAt(2))).Text = " 分析主界面";
|
||||
((Telerik.WinControls.UI.NavigationViewHeaderElement)(this.RPV.GetChildAt(0).GetChildAt(2))).Text = " 软件设置";
|
||||
((Telerik.WinControls.UI.NavigationViewHeaderElement)(this.RPV.GetChildAt(0).GetChildAt(2))).FocusBorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(135)))), ((int)(((byte)(161)))));
|
||||
((Telerik.WinControls.UI.NavigationViewHeaderElement)(this.RPV.GetChildAt(0).GetChildAt(2))).ForeColor = System.Drawing.Color.White;
|
||||
((Telerik.WinControls.UI.NavigationViewHeaderElement)(this.RPV.GetChildAt(0).GetChildAt(2))).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(60)))), ((int)(((byte)(68)))));
|
||||
@@ -3252,16 +3251,6 @@
|
||||
this.tmSystem.Interval = 1000;
|
||||
this.tmSystem.Tick += new System.EventHandler(this.tmSystem_Tick);
|
||||
//
|
||||
// tmReadNextsenseCSV
|
||||
//
|
||||
this.tmReadNextsenseCSV.Interval = 300;
|
||||
this.tmReadNextsenseCSV.Tick += new System.EventHandler(this.tmReadNextsenseCSV_Tick);
|
||||
//
|
||||
// tmrReadPLCData
|
||||
//
|
||||
this.tmrReadPLCData.Interval = 300;
|
||||
this.tmrReadPLCData.Tick += new System.EventHandler(this.tmrReadPLCData_Tick);
|
||||
//
|
||||
// tmrRefreshPLCStatus
|
||||
//
|
||||
this.tmrRefreshPLCStatus.Interval = 500;
|
||||
@@ -3272,16 +3261,6 @@
|
||||
this.tmrHeartBeatConnect.Interval = 1000;
|
||||
this.tmrHeartBeatConnect.Tick += new System.EventHandler(this.tmrHeartBeatConnect_Tick);
|
||||
//
|
||||
// tmrWritePLCLive
|
||||
//
|
||||
this.tmrWritePLCLive.Interval = 1000;
|
||||
this.tmrWritePLCLive.Tick += new System.EventHandler(this.tmrWritePLCLive_Tick);
|
||||
//
|
||||
// tmrMonitorDBToCreateReport
|
||||
//
|
||||
this.tmrMonitorDBToCreateReport.Interval = 1000;
|
||||
this.tmrMonitorDBToCreateReport.Tick += new System.EventHandler(this.tmrMonitorDBToCreateReport_Tick);
|
||||
//
|
||||
// CenterControl
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
|
||||
@@ -3478,7 +3457,6 @@
|
||||
private Telerik.WinControls.UI.RadLabel radLabel5;
|
||||
private System.Windows.Forms.DataVisualization.Charting.Chart chartCPCPK;
|
||||
private System.Windows.Forms.Timer tmSystem;
|
||||
private System.Windows.Forms.Timer tmReadNextsenseCSV;
|
||||
private System.Windows.Forms.PictureBox pbResult;
|
||||
private System.Windows.Forms.Label labRejectCount;
|
||||
private System.Windows.Forms.Label label7;
|
||||
@@ -3505,10 +3483,8 @@
|
||||
private Telerik.WinControls.UI.RadLabel radLabel2;
|
||||
private Telerik.WinControls.UI.RadDropDownList rddlSizeName;
|
||||
private Telerik.WinControls.UI.RadDropDownList rddlMeasurePoint;
|
||||
private System.Windows.Forms.Timer tmrReadPLCData;
|
||||
private System.Windows.Forms.Timer tmrRefreshPLCStatus;
|
||||
private System.Windows.Forms.Timer tmrHeartBeatConnect;
|
||||
private System.Windows.Forms.Timer tmrWritePLCLive;
|
||||
private System.Windows.Forms.Label labSumMeasureCount;
|
||||
private System.Windows.Forms.Label label13;
|
||||
private System.Windows.Forms.Panel pnlPage;
|
||||
@@ -3586,7 +3562,6 @@
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn MeasureItemResult;
|
||||
private System.Windows.Forms.Timer tmrMonitorDBToCreateReport;
|
||||
private Telerik.WinControls.UI.RadLabelElement radLabelElement3;
|
||||
private Telerik.WinControls.UI.RadLabelElement rleReadDBStatus;
|
||||
private Telerik.WinControls.UI.CommandBarSeparator commandBarSeparator5;
|
||||
|
||||
@@ -314,23 +314,11 @@
|
||||
<metadata name="tmSystem.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tmReadNextsenseCSV.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>127, 14</value>
|
||||
</metadata>
|
||||
<metadata name="tmrReadPLCData.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>298, 20</value>
|
||||
</metadata>
|
||||
<metadata name="tmrRefreshPLCStatus.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>443, 20</value>
|
||||
<value>113, 17</value>
|
||||
</metadata>
|
||||
<metadata name="tmrHeartBeatConnect.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>640, 18</value>
|
||||
</metadata>
|
||||
<metadata name="tmrWritePLCLive.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>821, 18</value>
|
||||
</metadata>
|
||||
<metadata name="tmrMonitorDBToCreateReport.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>980, 16</value>
|
||||
<value>310, 15</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>61</value>
|
||||
|
||||
+15
-14
@@ -89,7 +89,7 @@ namespace NSAnalysis
|
||||
public static string strIOTCarTypeAddress = "";
|
||||
public static int iStartIOTFlag = 1;
|
||||
public static int iShowCarDataFlag = 0;
|
||||
public static string strShowCarLR="";
|
||||
public static string strShowCarLR = "";
|
||||
public static string strCOMPort = "";
|
||||
|
||||
public static int iCreateReportFlag = 0;
|
||||
@@ -107,7 +107,7 @@ namespace NSAnalysis
|
||||
public static double dTolerancePer = 0.0;
|
||||
public static double dExceptionTolerancePer = 0.0;
|
||||
public static string strPwd = "";
|
||||
public static int iAnalysisCSVFlag=1;
|
||||
public static int iAnalysisCSVFlag = 1;
|
||||
public static int iRecordEncoderFlag = 0;
|
||||
public static int iIncludeRangeFlag = 0;
|
||||
public static int iMeasureItemsCount = 0;
|
||||
@@ -154,9 +154,9 @@ namespace NSAnalysis
|
||||
dLevel3 = double.Parse(FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "Level3Times"));
|
||||
strReportPath = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "ReportCSVPath");
|
||||
strReportPath2 = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "ReportCSVPath2");
|
||||
iAnalysisCSVFlag= FileIni.ReadInt(ConfigDfn.strConfigFile, strSection, "AnalysisCSVFlag");
|
||||
iAnalysisCSVFlag = FileIni.ReadInt(ConfigDfn.strConfigFile, strSection, "AnalysisCSVFlag");
|
||||
iRecordEncoderFlag = FileIni.ReadInt(strConfigFile, strSection, "RecordEncoderFlag");
|
||||
iIncludeRangeFlag = FileIni.ReadInt(strConfigFile, strSection, "IncludeRangeFlag");
|
||||
iIncludeRangeFlag = FileIni.ReadInt(strConfigFile, strSection, "IncludeRangeFlag");
|
||||
iMeasureItemsCount = FileIni.ReadInt(strConfigFile, strSection, "MeasureCarItemsCount");
|
||||
iFailedCarCount = FileIni.ReadInt(strConfigFile, strSection, "ContinuousCarCount");
|
||||
#endregion 读取系统配置参数
|
||||
@@ -258,6 +258,7 @@ namespace NSAnalysis
|
||||
public static int NSStartMeasure;
|
||||
|
||||
public static int CarPassFlag;
|
||||
public static int NoCarTypeFlag;
|
||||
/// <summary>读码完成:10:默认为;0 :默认</summary>
|
||||
public static int ReadVINFinishFlag;
|
||||
|
||||
@@ -294,14 +295,14 @@ namespace NSAnalysis
|
||||
string strConnectString = "";
|
||||
|
||||
LoadConfig();
|
||||
strConnectString = @"Data Source=" + SqlServerName
|
||||
strConnectString = @"Data Source=" + SqlServerName
|
||||
+ ";initial Catalog=" + SqlDbName
|
||||
+ ";User ID=" + SqlUserName
|
||||
+ ";password=" + SqlPassword + ";";
|
||||
|
||||
MyBase.TraceWriteLine("数据库连接字符串:" + strConnectString);
|
||||
MyBase.TraceWriteLine("数据库连接字符串:" + strConnectString);
|
||||
|
||||
return strConnectString;
|
||||
return strConnectString;
|
||||
}
|
||||
|
||||
public static void LoadConfig()
|
||||
@@ -313,12 +314,12 @@ namespace NSAnalysis
|
||||
SqlDbName = FileIni.ReadString(ConfigDfn.strConfigFile, strSection, "SqlDbName");
|
||||
|
||||
|
||||
//写入日志的
|
||||
MyBase.TraceWriteLine("数据库连接 SqlServerName:" + SqlServerName);
|
||||
MyBase.TraceWriteLine("数据库连接 SqlUserName:" + SqlUserName);
|
||||
MyBase.TraceWriteLine("数据库连接 SqlPassword:" + SqlPassword);
|
||||
MyBase.TraceWriteLine("数据库连接 SqlDbName:" + SqlDbName);
|
||||
//写入日志的
|
||||
MyBase.TraceWriteLine("数据库连接 SqlServerName:" + SqlServerName);
|
||||
MyBase.TraceWriteLine("数据库连接 SqlUserName:" + SqlUserName);
|
||||
MyBase.TraceWriteLine("数据库连接 SqlPassword:" + SqlPassword);
|
||||
MyBase.TraceWriteLine("数据库连接 SqlDbName:" + SqlDbName);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+3
-2
@@ -154,8 +154,9 @@ namespace NSAnalysis
|
||||
else
|
||||
{
|
||||
MyBase.TraceWriteLine("Log in using the original authorization mode.");
|
||||
Licence.GetRegisterInfo();
|
||||
Licence.Encryption_DLL();
|
||||
//Licence.GetRegisterInfo();
|
||||
//Licence.Encryption_DLL();
|
||||
Application.Run(new CenterControl());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Runtime.InteropServices;
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("Hexagon NSAnalysis")]
|
||||
[assembly: AssemblyCopyright("Copyright © Hexagon 2024")]
|
||||
[assembly: AssemblyCopyright("Copyright © Hexagon 2025")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
@@ -33,7 +33,7 @@ using System.Runtime.InteropServices;
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("2025.08.31.0")]
|
||||
[assembly: AssemblyFileVersion("2025.08.31.0")]
|
||||
[assembly: AssemblyFileVersion("2025.09.26.3")]
|
||||
//奇瑞总装软件
|
||||
//2024.09.27.1 该版本增加读取编码器数值功能
|
||||
//2024.10.08.1 该版本修改了EHY和EH3的测点图片 以及增加了上传IOT时,在1.5倍公差内,都是OK的结果,传给IOT
|
||||
@@ -48,4 +48,7 @@ using System.Runtime.InteropServices;
|
||||
//2024.10.28.1 合格率计算的时候 添加上极差
|
||||
//2024.10.31.1 极差上传IOT时,在1.5倍公差内,都是OK的结果,传给IOT
|
||||
//2024.12.24 .1 添加判断连续多少辆车检测项数量不足,则报警
|
||||
//2025.03.03.1 添加自检报告
|
||||
//2025.03.03.1 添加自检报告
|
||||
//2025.9.20 更新打印LOG 排查 维修工位不刷新问题
|
||||
//2025.9.24 更新Timer,解决刷新问题
|
||||
//2025.9.26 更新,解决刷新问题
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,26 +1,167 @@
|
||||
2025-08-31 13:37:28.674----软件Program Main函数开始执行--
|
||||
2025-08-31 13:37:28.676--加载配置文件——>开始
|
||||
2025-08-31 13:37:28.692--数据库连接 SqlServerName:127.0.0.1
|
||||
2025-08-31 13:37:28.693--数据库连接 SqlUserName:sa
|
||||
2025-08-31 13:37:28.694--数据库连接 SqlPassword:Hexagon123
|
||||
2025-08-31 13:37:28.695--数据库连接 SqlDbName:NextSenseStandardDB
|
||||
2025-08-31 13:37:28.696--加载配置文件——>完成
|
||||
2025-08-31 13:37:28.698--Log in using the original authorization mode.
|
||||
2025-08-31 13:37:29.816--软件授权成功
|
||||
2025-08-31 13:37:30.943--数据库连接 SqlServerName:127.0.0.1
|
||||
2025-08-31 13:37:30.945--数据库连接 SqlUserName:sa
|
||||
2025-08-31 13:37:30.946--数据库连接 SqlPassword:Hexagon123
|
||||
2025-08-31 13:37:30.947--数据库连接 SqlDbName:NextSenseStandardDB
|
||||
2025-08-31 13:37:30.947--数据库连接字符串:Data Source=127.0.0.1;initial Catalog=NextSenseStandardDB;User ID=sa;password=Hexagon123;
|
||||
2025-08-31 13:37:31.262-- 进入显示车身模式!显示车身界面。
|
||||
2025-08-31 13:37:31.734--启动PLC写线程!
|
||||
2025-08-31 13:37:31.757-- 进入解析CSV文件模式,开始解析扫码CSV文件!
|
||||
2025-08-31 13:37:31.759--连接PLC....
|
||||
2025-08-31 13:37:31.760--软件首次启动, Nextsense EH3 CSV读取路径存在;不清空,读取NextSense生成 CSV报告路径下的所有文件,路径为:D:\cherytestEH3
|
||||
2025-08-31 13:37:31.761--软件首次启动, Nextsense EHY CSV读取路径存在;不清空,读取NextSense生成 CSV报告路径下的所有文件,路径为:D:\cherytestEHY
|
||||
2025-08-31 13:37:32.541--Right EH3 UI Refresh tmrRefreshData (strVIN.Length==21):CarType:EHY ;VIN: LNNBBDEC8RDA23997
|
||||
2025-08-31 13:37:32.692--Right EHY UI Refresh tmrRefreshData (strVIN.Length==21):CarType:EHY ;VIN: LNNBBDEC8RDA23997
|
||||
2025-08-31 13:37:33.435--显示右侧EHY车身数据界面。
|
||||
2025-08-31 13:37:33.823--PLC S7连接失败。
|
||||
2025-08-31 13:37:33.825--连接PLC失败
|
||||
2025-08-31 13:37:35.687---------------海克斯康面隙分析软件程序关闭---------------------
|
||||
2025-10-16 11:16:30.678----软件Program Main函数开始执行--
|
||||
2025-10-16 11:16:30.681--加载配置文件——>开始
|
||||
2025-10-16 11:16:30.703--数据库连接 SqlServerName:127.0.0.1
|
||||
2025-10-16 11:16:30.704--数据库连接 SqlUserName:sa
|
||||
2025-10-16 11:16:30.704--数据库连接 SqlPassword:HexagonPai=3.1415
|
||||
2025-10-16 11:16:30.705--数据库连接 SqlDbName:NextSenseStandardDB
|
||||
2025-10-16 11:16:30.706--加载配置文件——>完成
|
||||
2025-10-16 11:16:30.706--Log in using the original authorization mode.
|
||||
2025-10-16 11:16:32.220--数据库连接 SqlServerName:127.0.0.1
|
||||
2025-10-16 11:16:32.220--数据库连接 SqlUserName:sa
|
||||
2025-10-16 11:16:32.222--数据库连接 SqlPassword:HexagonPai=3.1415
|
||||
2025-10-16 11:16:32.223--数据库连接 SqlDbName:NextSenseStandardDB
|
||||
2025-10-16 11:16:32.224--数据库连接字符串:Data Source=127.0.0.1;initial Catalog=NextSenseStandardDB;User ID=sa;password=HexagonPai=3.1415;
|
||||
2025-10-16 11:16:32.651-- 进入显示车身模式!显示车身界面。
|
||||
2025-10-16 11:16:33.200--启动PLC写线程!
|
||||
2025-10-16 11:16:33.205-- 进入解析CSV文件模式,开始解析扫码CSV文件!
|
||||
2025-10-16 11:16:33.239--连接PLC....
|
||||
2025-10-16 11:16:33.240--软件首次启动, Nextsense EH3 CSV读取路径存在;不清空,读取NextSense生成 CSV报告路径下的所有文件,路径为:D:\cherytestEH3
|
||||
2025-10-16 11:16:33.240--软件首次启动, Nextsense EHY CSV读取路径存在;不清空,读取NextSense生成 CSV报告路径下的所有文件,路径为:D:\cherytestEHY
|
||||
2025-10-16 11:16:33.322-- 数据库打开连接失败System.Data.SqlClient.SqlException (0x80131904): 用户 'sa' 登录失败。
|
||||
在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
|
||||
在 System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
|
||||
在 System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
|
||||
在 System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
|
||||
在 System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry)
|
||||
在 System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
|
||||
在 System.Data.SqlClient.SqlConnection.Open()
|
||||
在 DAL.SQLHelper.GetConn() 位置 E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\DAL\SQLHelper.cs:行号 29
|
||||
ClientConnectionId:de40ac78-3ce5-4ca0-bbad-3b7196f8d455
|
||||
Error Number:18456,State:1,Class:14
|
||||
2025-10-16 11:16:33.336--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.351--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.367--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.385--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.403--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.420--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.436--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.450--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.466--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.481--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.496--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.509--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.523--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.536--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.550--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.564--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.579--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.594--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.610--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.623--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.636--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.649--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.663--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.676--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.689--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.702--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.715--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.729--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.743--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.759--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.773--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.788--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.800--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.813--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.827--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.839--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.852--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.866--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.925--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.940--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.954--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.967--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.983--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:33.997--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.013--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.027--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.039--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.053--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.068--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.082--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.097--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.111--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.125--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.138--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.151--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.164--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.178--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.192--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.206--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.220--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.234--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.247--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.260--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.273--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.287--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.300--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.314--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.329--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.342--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.356--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.371--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.385--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.400--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.417--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.432--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.447--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.461--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.474--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.490--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.506--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.520--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.533--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.546--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.559--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.572--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.585--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.599--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.612--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.625--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.641--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.654--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.668--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.680--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.694--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.706--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.720--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.733--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.746--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.760--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.773--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.786--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.801--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.814--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.830--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.845--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.862--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.877--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.892--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.908--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.924--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.938--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.955--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.972--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:34.989--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.007--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.022--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.036--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.051--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.067--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.080--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.095--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.111--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.162--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.178--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.195--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.219--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.232--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.247--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.261--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.278--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.822--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:35.947--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:36.001--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:36.065--PLC S7连接失败。
|
||||
2025-10-16 11:16:36.813--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:37.093--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
2025-10-16 11:16:38.909--Left EHY UI Refresh m_bgwRefreshCar_DoWork Error:ExecuteReader 要求已打开且可用的 Connection。连接的当前状态为已关闭。
|
||||
|
||||
@@ -72,7 +72,7 @@ TimerRefreshCMMStatus=3
|
||||
SqlServerName=127.0.0.1
|
||||
SqlDbName=NextSenseStandardDB
|
||||
SqlUserName=sa
|
||||
SqlPassword=Hexagon123
|
||||
SqlPassword=HexagonPai=3.1415
|
||||
|
||||
|
||||
[TCP]
|
||||
|
||||
@@ -23,5 +23,6 @@
|
||||
<Speed2 Type="double" StartAddr="151" IndexOrLength="" Remark="" />
|
||||
<R01_Pules Type="double" StartAddr="161" IndexOrLength="" Remark="" />
|
||||
<R02_Pules Type="double" StartAddr="171" IndexOrLength="" Remark="" />
|
||||
<NoCarTypeFlag Type="byte" StartAddr="118" IndexOrLength="" Remark="未收到软件传给PLC的车型信息,0->10, 过程后,PLC清空该信号" />
|
||||
</SignalList_Read>
|
||||
</Config>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
03c84443b71f030c63a0429746a22a1b50f1ad4c98a70c4066ffe878755a2d1d
|
||||
fdfed3bba9c9f7623954084279d59626000a8d27847677261a26f4e97b64e650
|
||||
|
||||
@@ -166,3 +166,94 @@ D:\HexagonProjects\2024-20-奇瑞间隙面差\奇瑞间隙面差总装代码资
|
||||
D:\HexagonProjects\2024-20-奇瑞间隙面差\奇瑞间隙面差总装代码资料\Code\Analysis\obj\x64\Debug\9.Analysis.csproj.Up2Date
|
||||
D:\HexagonProjects\2024-20-奇瑞间隙面差\奇瑞间隙面差总装代码资料\Code\Analysis\obj\x64\Debug\NSAnalysis.exe
|
||||
D:\HexagonProjects\2024-20-奇瑞间隙面差\奇瑞间隙面差总装代码资料\Code\Analysis\obj\x64\Debug\NSAnalysis.pdb
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\NLog.config
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\NSAnalysis.exe.config
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\NSAnalysis.exe
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\NSAnalysis.pdb
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\DAL.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\Newtonsoft.Json.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\NLog.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\PLCModule.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\Telerik.WinControls.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\Telerik.WinControls.UI.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\TelerikCommon.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\UserControlClass.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\System.Data.SQLite.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\UserControlClass.pdb
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\DAL.pdb
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\DAL.dll.config
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\Newtonsoft.Json.xml
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\NLog.xml
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\PLCModule.pdb
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\PLCModule.dll.config
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\bin\x64\Debug\System.Data.SQLite.xml
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\9.Analysis.csproj.AssemblyReference.cache
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.AboutSoftwareInfo.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.FEH3LeftCarData.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.FEH3RightCarData.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.CenterControl.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.Properties.Resources.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.FAddRange.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.FEditRange.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.FRangeSetup.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.FAddTolerance.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.FEditTolerance.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.TestPageView.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.FEHYLeftCarData.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.FEHYRightCarData.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.FSoftwareSetup.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.FToleranceSetup.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.ZSFDEMO.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\9.Analysis.csproj.GenerateResource.cache
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.exe.licenses
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\9.Analysis.csproj.CoreCompileInputs.cache
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\9.Analysis.csproj.Up2Date
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.exe
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.pdb
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\Analysis\obj\x64\Debug\NSAnalysis.exe.config
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\NLog.config
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\NSAnalysis.exe.config
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\NSAnalysis.exe
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\NSAnalysis.pdb
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\DAL.dll
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\Newtonsoft.Json.dll
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\NLog.dll
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\PLCModule.dll
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\Telerik.WinControls.dll
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\Telerik.WinControls.UI.dll
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\TelerikCommon.dll
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\UserControlClass.dll
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\System.Data.SQLite.dll
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\UserControlClass.pdb
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\DAL.pdb
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\DAL.dll.config
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\Newtonsoft.Json.xml
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\NLog.xml
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\PLCModule.pdb
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\PLCModule.dll.config
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\Telerik.WinControls.xml
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\Telerik.WinControls.UI.xml
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\bin\x64\Debug\System.Data.SQLite.xml
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\9.Analysis.csproj.AssemblyReference.cache
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.AboutSoftwareInfo.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.FEH3LeftCarData.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.FEH3RightCarData.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.CenterControl.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.Properties.Resources.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.FAddRange.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.FEditRange.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.FRangeSetup.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.FAddTolerance.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.FEditTolerance.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.TestPageView.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.FEHYLeftCarData.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.FEHYRightCarData.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.FSoftwareSetup.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.FToleranceSetup.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.ZSFDEMO.resources
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\9.Analysis.csproj.GenerateResource.cache
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.exe.licenses
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\9.Analysis.csproj.CoreCompileInputs.cache
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\9.Analysis.csproj.Up2Date
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.exe
|
||||
C:\Users\zhengxuan.zhang\Desktop\奇瑞总装最新源码\Analysis\obj\x64\Debug\NSAnalysis.pdb
|
||||
|
||||
Binary file not shown.
@@ -431,7 +431,8 @@ namespace DAL
|
||||
// 更新启动测量时间
|
||||
public int UpdateStartMeasureTime(string carId, DateTime startTime)
|
||||
{
|
||||
string sql = "UPDATE PlcCarStationLog SET StartMeasureTime = @StartMeasureTime, MeasureStatus = @MeasureStatus WHERE CarID = @CarID AND StartMeasureTime IS NULL";
|
||||
string sql = "UPDATE PlcCarStationLog SET StartMeasureTime = @StartMeasureTime, MeasureStatus = @MeasureStatus WHERE CarID = @CarID ";
|
||||
|
||||
var parameters = new[]
|
||||
{
|
||||
new SqlParameter("@StartMeasureTime", startTime),
|
||||
@@ -442,17 +443,20 @@ namespace DAL
|
||||
}
|
||||
|
||||
// 更新离开时间
|
||||
|
||||
public int UpdateLeaveTime(string carId, DateTime leaveTime)
|
||||
{
|
||||
string sql = "UPDATE PlcCarStationLog SET LeaveTime = @LeaveTime WHERE CarID = @CarID AND LeaveTime IS NULL";
|
||||
string sql = "UPDATE PlcCarStationLog SET LeaveTime = @LeaveTime, MeasureStatus = @MeasureStatus WHERE CarID = @CarID";
|
||||
var parameters = new[]
|
||||
{
|
||||
new SqlParameter("@LeaveTime", leaveTime),
|
||||
new SqlParameter("@CarID", carId)
|
||||
};
|
||||
new SqlParameter("@LeaveTime", leaveTime),
|
||||
new SqlParameter("@MeasureStatus", "测量完成"),
|
||||
new SqlParameter("@CarID", carId)
|
||||
};
|
||||
return SQLHelper.ExecuteNonQuery(sql, parameters, CommandType.Text);
|
||||
}
|
||||
|
||||
|
||||
// 更新测量状态
|
||||
public int UpdateMeasureStatus(string carId, string measureStatus)
|
||||
{
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
63991492e601c4145f3f34cf4ebca770038ae1a59793dc4a6713b882acac15c2
|
||||
201621fb1d1b6a13dd02957bdd55788b78a518f1920c9fcaaa4e5d45a95d76b2
|
||||
|
||||
@@ -55,3 +55,22 @@ D:\HexagonProjects\2024-20-奇瑞间隙面差\奇瑞间隙面差总装代码资
|
||||
D:\HexagonProjects\2024-20-奇瑞间隙面差\奇瑞间隙面差总装代码资料\Code\PLCModule\PLCModule\obj\x86\Debug\4.PLCMod.738FDF59.Up2Date
|
||||
D:\HexagonProjects\2024-20-奇瑞间隙面差\奇瑞间隙面差总装代码资料\Code\PLCModule\PLCModule\obj\x86\Debug\PLCModule.dll
|
||||
D:\HexagonProjects\2024-20-奇瑞间隙面差\奇瑞间隙面差总装代码资料\Code\PLCModule\PLCModule\obj\x86\Debug\PLCModule.pdb
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\bin\Debug\PLCModule.dll.config
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\bin\Debug\PLCModule.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\bin\Debug\PLCModule.pdb
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\bin\Debug\Telerik.WinControls.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\bin\Debug\Telerik.WinControls.UI.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\bin\Debug\TelerikCommon.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\bin\Debug\Telerik.WinControls.xml
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\bin\Debug\Telerik.WinControls.UI.xml
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\obj\x86\Debug\4.PLCModule.csproj.AssemblyReference.cache
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\obj\x86\Debug\PLCModule.FormModbus.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\obj\x86\Debug\PLCModule.FormDebugSiemensS7.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\obj\x86\Debug\PLCModule.PlcAddrSetup.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\obj\x86\Debug\PLCModule.Properties.Resources.resources
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\obj\x86\Debug\4.PLCModule.csproj.GenerateResource.cache
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\obj\x86\Debug\PLCModule.dll.licenses
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\obj\x86\Debug\4.PLCModule.csproj.CoreCompileInputs.cache
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\obj\x86\Debug\4.PLCMod.738FDF59.Up2Date
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\obj\x86\Debug\PLCModule.dll
|
||||
E:\1AHexagonProjects\2024\CheryFinalAssemblyLine\奇瑞间隙面差总装代码资料-正轩\Code\PLCModule\PLCModule\obj\x86\Debug\PLCModule.pdb
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user