-
Notifications
You must be signed in to change notification settings - Fork 0
/
Stockage.cs
30 lines (26 loc) · 1.07 KB
/
Stockage.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// <copyright file="Navire.cs" company="GILABERT_Theo">
// Copyright (c) GILABERT_Theo. All rights reserved.
// </copyright>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NavireHeritage.classesMetier
{
class Stockage : Navire
{
private int numero;
private int capaciteMaxi;
private int capacitéDispo;
public Stockage(string imo, string nom, string latitude, string longitude, double tonnageActuel, double tonnageGT, double tonnageDWT, int numero, int capaciteMaxi, int capacitéDispo) : base(imo, nom, latitude, longitude, tonnageActuel, tonnageGT, tonnageDWT)
{
this.numero = numero;
this.capaciteMaxi = capaciteMaxi;
this.capacitéDispo = capacitéDispo;
}
public int Numero { get => numero; set => numero = value; }
public int CapaciteMaxi { get => capaciteMaxi; set => capaciteMaxi = value; }
public int CapacitéDispo { get => capacitéDispo; set => capacitéDispo = value; }
}
}