Statistiques
| Branche: | Révision:

root / GES_PAC / Model / PhaseCalibration.cs @ 957bebf1

Historique | Voir | Annoter | Télécharger (553 octets)

1 5d673ce0 Lucas Bihannic
namespace GES_PAC.Model
2
{
3
    public class PhaseCalibration
4
    {
5
        public string Name { get; }
6
        public int Value { get; }
7
8 9fd69a0e lbihannic
        private PhaseCalibration(string name, int value)
9 5d673ce0 Lucas Bihannic
        {
10
            Name = name;
11
            Value = value;
12
        }
13
14 957bebf1 lbihannic
        public static readonly PhaseCalibration Debut = new("DEBUT", 1);
15
        public static readonly PhaseCalibration Fin = new("FIN", 2);
16 5d673ce0 Lucas Bihannic
17
        public static readonly List<PhaseCalibration> All = new() { Debut, Fin };
18
19
        public override string ToString() => Name;
20
21
    }
22
}