コード例 #1
0
 //public TimeSpan toStartWithValue;
 public fitness()
 {
     mov1       = new Movimiento1();
     mov2       = new Movimiento2();
     mov3       = new Movimiento3();
     mov4       = new Movimiento4();
     mov5       = new Movimiento5();
     estado     = "A obter datos";
     deteccion5 = 0;
     fase       = 0;
     //note that we need to see the timer in the screen for each start of a new movement will restart.
     //TimeSpan receives int64 in nanoseconds 3s=3000000000nanoseconds
     proxMov = "Primera Posición: Brazos relajados y Piernas cerradas";
     // String contador = TimeSpan.Zero.Seconds.ToString();
     contador    = 0;
     startTime   = DateTime.Now;
     finishTime  = DateTime.Now;
     timeControl = DateTime.Now;
 }
コード例 #2
0
ファイル: fitness.cs プロジェクト: CarlaSimoes/Fitness5Mov
 //public TimeSpan toStartWithValue;
 public fitness()
 {
     mov1 = new Movimiento1();
     mov2 = new Movimiento2();
     mov3 = new Movimiento3();
     mov4 = new Movimiento4();
     mov5 = new Movimiento5();
     estado = "A obter datos";
     deteccion5 = 0;
     fase = 0;
     //note that we need to see the timer in the screen for each start of a new movement will restart.
     //TimeSpan receives int64 in nanoseconds 3s=3000000000nanoseconds
     proxMov = "Primera Posición: Brazos relajados y Piernas cerradas";
        // String contador = TimeSpan.Zero.Seconds.ToString();
     contador = 0;
     startTime = DateTime.Now;
     finishTime = DateTime.Now;
     timeControl = DateTime.Now;
 }