老化柜温度要到达

This commit is contained in:
Admin 2026-10-20 09:42:02 +08:00
parent 5b3feddef5
commit 6a2688e0dd
2 changed files with 3 additions and 3 deletions

View File

@ -558,10 +558,10 @@ namespace ViewModel
{
ReceiveInfo = CR;
if (MyCommand != null)
if (MyCommand != null && ReceiveInfo!=null)
{
MyCommand.ReturnValue = CR.DataHex;
MyCommand.DataLength = ReceiveInfo.Datalength; //GetLenght(ReceiveInfo.DataHex);
MyCommand.DataLength = CR.Datalength; //GetLenght(ReceiveInfo.DataHex);
}
}
}

View File

@ -2128,7 +2128,7 @@ namespace ViewModel
{
case GengralProcessEnum.Start:
//老化柜温度要到达
if (CurrHeatShow.StatusForeground == ColorStr.Green || CurrentMachine.RunningMode)
if (CurrHeatShow.StatusForeground == ColorStr.Green || CurrentMachine.RunningMode|| TestTimeSpan.TotalMinutes >= CurrentMachine.MyPar.TestTime)
{
if (!Testing)