Révision 6f451cc1 GES_PAC/Model/PhaseCalibration.cs

Voir les différences:

GES_PAC/Model/PhaseCalibration.cs
1
using SQLite;
2

  
1 3
namespace GES_PAC.Model
2 4
{
3 5
    public class PhaseCalibration
4 6
    {
5
        public string Name { get; }
6
        public int Value { get; }
7
        #region Propri?t?s
8
        [PrimaryKey, AutoIncrement]
9
        public int Id { get; set; }
10
        public string Name { get; set; }
11
        public int Value { get; set; }
12
        #endregion
7 13

  
14
        #region Constructeurs
15
        public PhaseCalibration() { }
8 16
        private PhaseCalibration(string name, int value)
9 17
        {
10 18
            Name = name;
11 19
            Value = value;
12 20
        }
21
        #endregion
13 22

  
14 23
        public static readonly PhaseCalibration DEBUT = new("d?but", 1);
15 24
        public static readonly PhaseCalibration FIN = new("fin", 2);

Formats disponibles : Unified diff