Fabricacion.cs
1 using System;
2 using System.Collections.Generic;
3 using System.Data;
4 using System.Linq;
5 using System.Text;
6 using sage.ew.global;
7 
8 namespace Sage.ES.S50.Addons.Virtual
9 {
10  internal class Fabricacion : AddonVirtual
11  {
12 
13  #region Constructors
14  public Fabricacion(ref DataTable addonsDataTable) : base(ref addonsDataTable)
15  {
16  Nombre = "FABRICA";
17  Revision = 1;
18  Nombre2 = "FabricaciĆ³n";
19  Activo = true;
20  Libreria = "sage.addons.fabricacion";
21  Clase = "fabricacion";
22  Visible = false;
23  Instalado = true;
24  Tipo = 2;
25  Solucion = 2;
26  SmallProf = 0;
27  }
28  #endregion
29 
30  protected override bool Condition()
31  {
32  return Convert.ToBoolean(EW_GLOBAL._GetVariable("WL_PROTRAN"));
33  }
34  }
35 }