//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.18046 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace Func6488776 { using System; using TSLab.Script; [TSLab.Script.Handlers.HandlerName("2sec", "", true)] [TSLab.Script.Handlers.HandlerCategory("Custom")] [TSLab.Script.Handlers.InputsCountAttribute(2)] [TSLab.Script.Handlers.InputAttribute(0, TSLab.Script.Handlers.TemplateTypes.SECURITY)] [TSLab.Script.Handlers.InputAttribute(1, TSLab.Script.Handlers.TemplateTypes.SECURITY)] public sealed class Func6488776 : TSLab.Script.Handlers.IContextUses, TSLab.Script.Handlers.IStreamHandler, TSLab.Script.Handlers.IBooleanReturns { private TSLab.Script.Handlers.IContext context; private TSLab.Script.Handlers.Open Открытие1_h = new TSLab.Script.Handlers.Open(); private TSLab.Script.Handlers.Open Открытие2_h = new TSLab.Script.Handlers.Open(); private TSLab.Script.Handlers.CrossOver ПересечСверху1_h = new TSLab.Script.Handlers.CrossOver(); public TSLab.Script.Handlers.IContext Context { get { return this.context; } set { this.context = value; } } public System.Collections.Generic.IList Execute(TSLab.Script.ISecurity ИстоИнст1, TSLab.Script.ISecurity ИстоИнст2) { // Initialize 'Открытие1' item // Make 'Открытие1' item data System.Collections.Generic.IList Открытие1 = context.GetData("Открытие1", new string[] { "ИстоИнст1", "Func6488776" }, delegate { try { return this.Открытие1_h.Execute(ИстоИнст1); } catch (System.ArgumentOutOfRangeException ) { throw new TSLab.Script.ScriptException("Ошибка при вычислении блока \'Открытие1\'. Индекс за пределам диапазона."); } }); // Initialize 'Открытие2' item // Make 'Открытие2' item data System.Collections.Generic.IList Открытие2 = context.GetData("Открытие2", new string[] { "ИстоИнст2", "Func6488776" }, delegate { try { return this.Открытие2_h.Execute(ИстоИнст2); } catch (System.ArgumentOutOfRangeException ) { throw new TSLab.Script.ScriptException("Ошибка при вычислении блока \'Открытие2\'. Индекс за пределам диапазона."); } }); // Initialize 'ПересечСверху1' item this.ПересечСверху1_h.Context = context; // Make 'ПересечСверху1' item data System.Collections.Generic.IList ПересечСверху1 = context.GetData("ПересечСверху1", new string[] { "ИстоИнст1", "ИстоИнст2", "Func6488776" }, delegate { try { return this.ПересечСверху1_h.Execute(Открытие1, Открытие2); } catch (System.ArgumentOutOfRangeException ) { throw new TSLab.Script.ScriptException("Ошибка при вычислении блока \'ПересечСверху1\'. Индекс за пределам диапазона."); } }); return ПересечСверху1; } } }