From OpenSCADAWiki
Jump to: navigation, search

Structure of redundant station (class — TSYS::SStat):

  • int8_t lev; — station level;
  • bool isLive; — flag "Station Alive";
  • float cnt; — counter of requests to the remote station or timer of a re-connection try;
  • ResMtx reqM; — the station requesting functional lock;
  • SStat( int8_t ilev, bool iisLive = false, float icnt = 0 ) — station object constructor with level ilev, initiated as "Alive" iisLive and counter icnt;
  • SStat( ) — constructor by default, initiated as as a missed and an inactive station;
  • bool isActive( ) — station is active.