Created
December 27, 2010 13:43
-
-
Save juanplopes/756142 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Devolve sempre 1. | |
/// </summary> | |
/// <returns></returns> | |
private Double FechaPorta() | |
{ | |
Double fechaPorta = 0d; | |
switch (_port) | |
{ | |
case Port.COM1: | |
fechaPorta = PesoSaturno_v11.FechaCom1(); | |
break; | |
case Port.COM2: | |
fechaPorta = PesoSaturno_v11.FechaCom2(); | |
break; | |
case Port.COM3: | |
fechaPorta = PesoSaturno_v11.FechaCom3(); | |
break; | |
case Port.COM4: | |
fechaPorta = PesoSaturno_v11.FechaCom4(); | |
break; | |
default: | |
break; | |
} | |
return fechaPorta; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment