Пример #1
0
 public Liquido(double temperaturaActual, Agua agua)
 {
     this.temperaturaActual = temperaturaActual;
     this.agua = agua;
     this.temperaturaMinima = 1;
     this.temperaturaMaxima = 100;
 }
Пример #2
0
 public Solido(double temperaturaActual, Agua agua)
 {
     this.temperaturaActual = temperaturaActual;
     this.agua = agua;
     this.temperaturaMinima = -273;
     this.temperaturaMaxima = 0;
 }
Пример #3
0
 public Gaseoso(double temperaturaActual, Agua agua)
 {
     this.temperaturaActual = temperaturaActual;
     this.agua = agua;
     this.temperaturaMinima = 101;
     this.temperaturaMaxima = 1000;
 }