Пример #1
0
 /// <summary>
 /// Constructor por default. Inicializa todas las propiedades con valores por default.
 /// </summary>
 public Perfil()
 {
     //Inicializamos las propiedades con valores por default.
     Nombre            = string.Empty;
     Descripcion       = string.Empty;
     Imagen            = null;
     TipoPerfil        = string.Empty;
     Recubrimiento     = new MateriaPrima();
     Propiedades       = new ObservableCollection <Propiedad>();
     PropiedadesBool   = new ObservableCollection <PropiedadBool>();
     PropiedadesCadena = new ObservableCollection <PropiedadCadena>();
 }
Пример #2
0
 /// <summary>
 /// Constructor por default. Inicializa todas las propiedades con valores por default.
 /// </summary>
 public Anillo()
 {
     //Asignamos los valores por default a todas las propiedades.
     PerfilID                           = new Perfil();
     PerfilLateral                      = new Perfil();
     PerfilOD                           = new Perfil();
     PerfilPuntas                       = new Perfil();
     D1                                 = new Propiedad();
     H1                                 = new Propiedad();
     FreeGap                            = new Propiedad();
     Mass                               = new Propiedad();
     Tension                            = new Propiedad();
     TensionTol                         = new Propiedad();
     MaterialBase                       = new MateriaPrima();
     NoPlano                            = string.Empty;
     CustomerPartNumber                 = string.Empty;
     CustomerRevisionLevel              = string.Empty;
     Size                               = string.Empty;
     TipoAnillo                         = string.Empty;
     HardnessMin                        = new Propiedad();
     HardnessMax                        = new Propiedad();
     CustomerDocNo                      = string.Empty;
     Treatment                          = string.Empty;
     EspecTreatment                     = string.Empty;
     Caratula                           = string.Empty;
     cliente                            = new Cliente();
     CondicionesDeEmpaque               = new Empaquetado();
     NivelRevicion                      = new Revision();
     PropiedadesAdquiridasProceso       = new ObservableCollection <Propiedad>();
     PropiedadesBoolAdquiridasProceso   = new ObservableCollection <PropiedadBool>();
     PropiedadesCadenaAdquiridasProceso = new ObservableCollection <PropiedadCadena>();
     Operaciones                        = new ObservableCollection <IOperacion>();
     FranjasPintura                     = new ObservableCollection <PinturaAnillo>();
     OvalityMax                         = new Propiedad();
     OvalityMin                         = new Propiedad();
     ListaNormas                        = new ObservableCollection <DO_Norma>();
     ListaAllNormas                     = new ObservableCollection <DO_Norma>();
 }