2 using System.Collections.Generic;
9 internal class ValidaLineaDescuentosCommand : Command
12 bool tlBloquearOperacion =
false;
13 public ValidaLineaDescuentosCommand(IAddonsManager addons) : base(addons)
15 Name =
"ValidaLineaDescuentos";
18 protected override void CommandModulo(
IModulo modulo, params
object[] parameters)
22 protected override object Return(params
object[] parameters)
26 protected override bool Exit()
28 return !ret && tlBloquearOperacion;
30 protected override bool Condition(params
object[] parameters)
32 tlBloquearOperacion = Convert.ToBoolean(parameters[3]);
33 return base.Condition(parameters);
35 protected override bool Condition(KeyValuePair<string, object> addon)
39 protected override ExpectedParameters GetExpectedParameters()
41 return new ExpectedParameters(
new Type[] { typeof(
IMante), typeof(
string), typeof(
string), typeof(
bool) });
PE-93426 Interficie para los módulos de la aplicación
Nueva interficie madre de IMantes y de la que colgara ewMante. Propiedades: _Codigo, _Nombre, _Error_Message. Metodos: _New, Save, _Delete, _Load, _Existe_Registro, _Clonar