Components with proc. params. in 'More" tab in ProcedureDlg are determined automatically, ver. 2.30.1955

This commit is contained in:
Milan Hanajik 2022-09-02 13:01:13 +02:00
parent be97777159
commit 2183d1c452
3 changed files with 8 additions and 9 deletions

View File

@ -29,5 +29,5 @@ using System.Runtime.InteropServices;
// Build Number
// Revision
//
[assembly: AssemblyVersion("2.30.1930.0")]
[assembly: AssemblyFileVersion("2.30.1930.0")]
[assembly: AssemblyVersion("2.30.1955.0")]
[assembly: AssemblyFileVersion("2.30.1955.0")]

View File

@ -134,7 +134,7 @@ namespace TBF.Rig
{
if (GetRuntimeProcParamsProvider() == null)
{
/// Component has no test parametes
/// Component has no procedure parameters
return null;
}
@ -195,7 +195,7 @@ namespace TBF.Rig
{
if (GetRuntimeTestParamsProvider() == null)
{
/// Component has no test parametes
/// Component has no test parameters
return null;
}

View File

@ -327,11 +327,10 @@ namespace TBF.UI.Procedures
IList<IComponent> other = new List<IComponent>();
foreach (var cmpnt in TbfComponents)
{
if (cmpnt is TBF.Rig.Output.DB.SensusOracle.Database) other.Add(cmpnt);
if (cmpnt is TBF.Rig.TestMethods.S640Communication.S640Start) other.Add(cmpnt);
if (cmpnt is TBF.Rig.TestMethods.S640Communication.S640End) other.Add(cmpnt);
if (cmpnt is TBF.Rig.Modbus.TempControl.Easytherm.Easytherm) other.Add(cmpnt);
if (cmpnt is TBF.Rig.Modbus.TempControl.Novus.TControl) other.Add(cmpnt);
if (!(cmpnt is IRegReader) && !(cmpnt is IWaterMeter) && cmpnt.Cfg.CreateProcParamsProvider() != null)
{
other.Add(cmpnt);
}
}
if (other.Count > 0)