Giter Club home page Giter Club logo

crossfit-autocheckin's Introduction

TesteAikoWeb

This project was generated with Angular CLI version 9.0.7.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

crossfit-autocheckin's People

Watchers

 avatar  avatar

crossfit-autocheckin's Issues

Verificar se existe checkin agendado

Quando iniciar a rotina que busca a próxima aula para fazer o checkin é preciso verificar se já possui um checkin agendado.

TODO:

Verificações(V):

  1. Verificar se possui checkin agendado.
  2. Verificar se está dentro do tempo para fazer o checkin.
  3. Verificar se o checkin vai ser agendado ou executado imediatamente.
  4. Verificar se alarme ativo.
  5. Verificar se tem worker ativo.

Ações(A):

  1. Se possuir checkin agendado(V1):
    1 true = verifica se está dentro do tempo limite(V2) -> A2
    1 false = continua o fluxo de agendamento.

2 true = Verificar se tem alarme(V4) ou worker(V5) para o checkin -> A3
2 false = Agendar o próximo checkin *1

3 true = continua o fluxo.
3 false = Criar o worker ou alarm para o checkin novamente *2 (V3)

1* Se possuir worker, ele será ser executado e não tirá fazer nenhuma ação, se possuir alarme, ele vai ser substituído no proximo agendamento ou irá executar sem fazer nenhuma ação para a a aula, pois já vai ter passado o tempo limite do checkin.

*2 Se o status do checkin for RESCHEDULE, criar worker e alarm novamente.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.