|
|
@@ -72,6 +72,10 @@ namespace CG67.FicheCollege.Domaine
|
|
|
/// Type de l'établissement de l'établissement.
|
|
|
/// </summary>
|
|
|
private string mTypeEtablissement;
|
|
|
+ /// Dispositif.
|
|
|
+ /// </summary>
|
|
|
+ private int mDispositifEtablissement;
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// Année de contruction de l'établissement.
|
|
|
/// </summary>
|
|
|
@@ -298,6 +302,16 @@ namespace CG67.FicheCollege.Domaine
|
|
|
get { return mTypeEtablissement; }
|
|
|
set { mTypeEtablissement = value; }
|
|
|
}
|
|
|
+
|
|
|
+ /// <summary>
|
|
|
+ /// Dispositif de l'établissement.
|
|
|
+ /// 1 - Normal; 2: REP; 3: REP+
|
|
|
+ /// </summary>
|
|
|
+ public int DispositifEtablissement
|
|
|
+ {
|
|
|
+ get { return mDispositifEtablissement; }
|
|
|
+ set { mDispositifEtablissement = value; }
|
|
|
+ }
|
|
|
/// <summary>
|
|
|
/// Obtient ou définit l'année de construction de l'établissement.
|
|
|
/// </summary>
|
|
|
@@ -682,7 +696,13 @@ namespace CG67.FicheCollege.Domaine
|
|
|
/// </summary>
|
|
|
public string NomCollegePourPresentation
|
|
|
{
|
|
|
- get { return Commune + " - Collège " + Nom; }
|
|
|
+ get
|
|
|
+ {
|
|
|
+ if (Nom.ToString()=="Ecole Européenne de Strasbourg")
|
|
|
+ { return Commune + " - " + Nom; }
|
|
|
+ else
|
|
|
+ { return Commune + " - Collège " + Nom; };
|
|
|
+ }
|
|
|
}
|
|
|
public string LienPhoto
|
|
|
{
|
|
|
@@ -748,6 +768,21 @@ namespace CG67.FicheCollege.Domaine
|
|
|
/// <summary>
|
|
|
/// retourne le gestionnaire de l'établissement
|
|
|
/// </summary>
|
|
|
+ ///
|
|
|
+
|
|
|
+ public string PrincipalAdjointEmail
|
|
|
+ {
|
|
|
+ get
|
|
|
+ {
|
|
|
+ string retour = string.Empty;
|
|
|
+ foreach (Contact cont in Contacts)
|
|
|
+ if (cont.Fonction.ToLower() == "principal adjoint")
|
|
|
+ retour = cont.Email;
|
|
|
+ return retour;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
public string Gestionnaire
|
|
|
{
|
|
|
get
|
|
|
@@ -1178,7 +1213,7 @@ namespace CG67.FicheCollege.Domaine
|
|
|
this.mNom = nom;
|
|
|
this.mCommune = commune;
|
|
|
}
|
|
|
- public Etablissement(string codeRNE, bool isPrive, int annee, string nom, string commune, string canton, string typeEtablissement, int anneeConstruction, string telephone, string email, string fax, string nomProprietaire, string adresse, string complementAdresse, int codePostal, string ville, string lienPhoto,string lienFichier,
|
|
|
+ public Etablissement(string codeRNE, bool isPrive, int annee, string nom, string commune, string canton, string typeEtablissement, int dispositifEtablissement, int anneeConstruction, string telephone, string email, string fax, string nomProprietaire, string adresse, string complementAdresse, int codePostal, string ville, string lienPhoto,string lienFichier,
|
|
|
bool isRestaurant,bool isInternat, bool ascenseur, int effectifTheorique, int accessibilite,
|
|
|
dlgLoadActionEducative loaderActionEducative,
|
|
|
dlgLoadClasseDecouverte loaderClasseDecouverte,
|
|
|
@@ -1206,6 +1241,7 @@ namespace CG67.FicheCollege.Domaine
|
|
|
this.mCommune = commune;
|
|
|
this.mCanton = canton;
|
|
|
this.mTypeEtablissement = typeEtablissement;
|
|
|
+ this.mDispositifEtablissement = dispositifEtablissement;
|
|
|
this.mAnneConstruction = anneeConstruction;
|
|
|
this.mTelephone = telephone;
|
|
|
this.mEmail = email;
|