修复执行Recipe时报StepUid命令执行错误的问题。
修正打安装包时未清理SicRT\Logs文件夹的问题。 版本号更新至1.0.5.15
This commit is contained in:
parent
15275be672
commit
1fcc1fc1d4
|
@ -354,12 +354,12 @@ namespace SicPM1.RecipeExecutions
|
|||
if (IsCmdSkip(recipeCmd))
|
||||
continue;
|
||||
|
||||
// if (!OP.CanDoOperation($"{Module}.{recipeCmd}", out reason, PmDevice.RecipeRunningInfo.RecipeStepList[0].RecipeCommands[recipeCmd]))
|
||||
// {
|
||||
// Stop($"Can not execute {recipeCmd}, {reason}");
|
||||
// return false;
|
||||
// }
|
||||
// else
|
||||
if (!OP.CanDoOperation($"{Module}.{recipeCmd}", out reason, PmDevice.RecipeRunningInfo.RecipeStepList[0].RecipeCommands[recipeCmd]))
|
||||
{
|
||||
Stop($"Can not execute {recipeCmd}, {reason}");
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
int time = delayTime * 1000;
|
||||
if (recipeCmd.StartsWith("TC1") && _isPSUHeaterJumpMode)
|
||||
|
|
|
@ -376,12 +376,12 @@ namespace SicPM1.RecipeExecutions
|
|||
if (IsCmdSkip(recipeCmd)) // 不是注册的方法,需要跳过
|
||||
continue;
|
||||
|
||||
//if (!OP.CanDoOperation($"{Module}.{recipeCmd}", out reason, PmDevice.RecipeRunningInfo.RecipeStepList[_currentStepNumber].RecipeCommands[recipeCmd]))
|
||||
//{
|
||||
// EV.PostAlarmLog(Module, $"Can not execute {recipeCmd}, {reason}");
|
||||
// return Result.FAIL;
|
||||
//}
|
||||
//else
|
||||
if (!OP.CanDoOperation($"{Module}.{recipeCmd}", out reason, PmDevice.RecipeRunningInfo.RecipeStepList[_currentStepNumber].RecipeCommands[recipeCmd]))
|
||||
{
|
||||
EV.PostAlarmLog(Module, $"Can not execute {recipeCmd}, {reason}");
|
||||
return Result.FAIL;
|
||||
}
|
||||
else
|
||||
{
|
||||
int time = (int)(PmDevice.RecipeRunningInfo.RecipeStepList[_currentStepNumber].StepTime * 1000 - _curStepElpasedTimeBeforePaused);// (int)PMDevice.RecipeRunningInfo.RecipeStepList[_currentStepNumber].StepTime * 1000;
|
||||
|
||||
|
|
|
@ -355,12 +355,12 @@ namespace SicPM2.RecipeExecutions
|
|||
if (IsCmdSkip(recipeCmd))
|
||||
continue;
|
||||
|
||||
// if (!OP.CanDoOperation($"{Module}.{recipeCmd}", out reason, PmDevice.RecipeRunningInfo.RecipeStepList[0].RecipeCommands[recipeCmd]))
|
||||
// {
|
||||
// Stop($"Can not execute {recipeCmd}, {reason}");
|
||||
// return false;
|
||||
// }
|
||||
// else
|
||||
if (!OP.CanDoOperation($"{Module}.{recipeCmd}", out reason, PmDevice.RecipeRunningInfo.RecipeStepList[0].RecipeCommands[recipeCmd]))
|
||||
{
|
||||
Stop($"Can not execute {recipeCmd}, {reason}");
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
int time = delayTime * 1000;
|
||||
if (recipeCmd.StartsWith("TC1") && _isPSUHeaterJumpMode)
|
||||
|
|
|
@ -372,12 +372,12 @@ namespace SicPM2.RecipeExecutions
|
|||
if (IsCmdSkip(recipeCmd)) // 不是注册的方法,需要跳过
|
||||
continue;
|
||||
|
||||
// if (!OP.CanDoOperation($"{Module}.{recipeCmd}", out reason, PmDevice.RecipeRunningInfo.RecipeStepList[_currentStepNumber].RecipeCommands[recipeCmd]))
|
||||
// {
|
||||
// EV.PostAlarmLog(Module, $"Can not execute {recipeCmd}, {reason}");
|
||||
// return Result.FAIL;
|
||||
// }
|
||||
// else
|
||||
if (!OP.CanDoOperation($"{Module}.{recipeCmd}", out reason, PmDevice.RecipeRunningInfo.RecipeStepList[_currentStepNumber].RecipeCommands[recipeCmd]))
|
||||
{
|
||||
EV.PostAlarmLog(Module, $"Can not execute {recipeCmd}, {reason}");
|
||||
return Result.FAIL;
|
||||
}
|
||||
else
|
||||
{
|
||||
int time = (int)(PmDevice.RecipeRunningInfo.RecipeStepList[_currentStepNumber].StepTime * 1000 - _curStepElpasedTimeBeforePaused);// (int)PMDevice.RecipeRunningInfo.RecipeStepList[_currentStepNumber].StepTime * 1000;
|
||||
|
||||
|
|
|
@ -1982,7 +1982,7 @@ namespace SicPM2.Routines
|
|||
|
||||
protected bool IsCmdSkip(string cmd)
|
||||
{
|
||||
if (cmd == "SiSourTotalFlow" || cmd == "CSourTotalFlow" || cmd == "DopeTotalFlow" || cmd == "TotalVentFlow")
|
||||
if (cmd == "StepUid" || cmd == "SiSourTotalFlow" || cmd == "CSourTotalFlow" || cmd == "DopeTotalFlow" || cmd == "TotalVentFlow")
|
||||
return true;
|
||||
|
||||
return false;
|
||||
|
|
|
@ -51,7 +51,7 @@ using System.Windows;
|
|||
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
|
||||
// 方法是按如下所示使用“*”: :
|
||||
|
||||
[assembly: AssemblyVersion("1.0.5.14")]
|
||||
[assembly: AssemblyFileVersion("1.0.5.14")]
|
||||
[assembly: AssemblyVersion("1.0.5.15")]
|
||||
[assembly: AssemblyFileVersion("1.0.5.15")]
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,17 @@
|
|||
|
||||
# Sic 系统更新历史记录
|
||||
|
||||
## Version 1.0.5.15
|
||||
|
||||
**2023-02-14**
|
||||
|
||||
- Bug修复
|
||||
- 修复执行Recipe时报StepUid命令执行错误的问题。
|
||||
- 新特性
|
||||
- 无
|
||||
|
||||
|
||||
|
||||
## Version 1.0.5.14
|
||||
|
||||
**2023-02-14**
|
||||
|
|
|
@ -571,7 +571,7 @@ del "$(ProjectDir)..\Packages\SicRT\*.pdb"
|
|||
|
||||
if exist "$(ProjectDir)..\Packages\SicRT\Config\Account\_Account.xml" del "$(ProjectDir)..\Packages\SicRT\Config\Account\_Account.xml"
|
||||
if exist "$(ProjectDir)..\Packages\SicRT\Objects" del "$(ProjectDir)..\Packages\SicRT\Objects\*.obj"
|
||||
if exist "$(ProjectDir)..\SicRT\Logs" rd "$(ProjectDir)..\Packages\SicRT\Logs" /s /q
|
||||
if exist "$(ProjectDir)..\Packages\SicRT\Logs" rd "$(ProjectDir)..\Packages\SicRT\Logs" /s /q
|
||||
if exist "$(ProjectDir)..\Packages\SicRT\Recipes" rd "$(ProjectDir)..\Packages\SicRT\Recipes" /s /q</PreBuildEvent>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
|
|
|
@ -54,6 +54,6 @@ using System.Windows;
|
|||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("1.0.5.14")]
|
||||
[assembly: AssemblyFileVersion("1.0.5.14")]
|
||||
[assembly: AssemblyVersion("1.0.5.15")]
|
||||
[assembly: AssemblyFileVersion("1.0.5.15")]
|
||||
|
||||
|
|
Loading…
Reference in New Issue