Evolution #6804

Evolution #6717: ============== (( PYROS SOFTWARE )) ==============

Evolution #6675: ======= ((F)) MODULE - GENERAL PROJECT =======

Evolution #6720: ----- ((F)) Agent (processus permanent) -----

Evolution #6721: ((T)) Agent générique

((T)) AgentDevice

Added by Etienne Pallier about 5 years ago. Updated almost 5 years ago.

Status:En coursStart date:03/06/2019
Priority:NormalDue date:
Assignee:Etienne Pallier% Done:

40%

Category:-Spent time:-
Target version:Version 0.30 - Restructuring with src/core/ and src/devices/

Description

Sous-classe de Agent dédiée au pilotage d'un device

- device status : communication permanente avec device (update DB régulièrement)

- device specific cmd : communication ponctuelle avec device pour lui envoyer une commande spécifique (demandée par un autre agent)

=> partir de l'existant dans pyros-django (pas totalement from scratch)

agentAlert en est un, il reste en comm avec le GCN

Doit lancer un thread pour communiquer avec un device (update status en BD)

Doit pouvoir relancer ce thread si planté

Communique avec le device même quand il est IDLE

2 modes idle différents ? un mode où on fait rien (IDLE_total), un mode où on communique quand même avec device (IDLE_partial)
Device arrêté doit pas bloquer AgentDevice

Met à jour la BD avec status du device
Reçoit aussi commandes spécifiques des autres agents

History

#1 Updated by Etienne Pallier about 5 years ago

  • Subject changed from AgentDevice to ((T)) AgentDevice

#2 Updated by Etienne Pallier about 5 years ago

  • Description updated (diff)

#3 Updated by Etienne Pallier almost 5 years ago

  • Target version set to Version 0.30 - Restructuring with src/core/ and src/devices/

#4 Updated by Etienne Pallier almost 5 years ago

  • Status changed from Nouveau to En cours

#5 Updated by Etienne Pallier almost 5 years ago

  • % Done changed from 30 to 40

Also available in: Atom PDF