Avionics
Dropship Simulator
Devices::ApcupsdConfig Struct Reference

#include <apcupsd.h>

Collaboration diagram for Devices::ApcupsdConfig:
[legend]

Public Attributes

bool enable
 
unsigned short port
 
int pollSeconds
 
int pollTimeout
 
std::vector< ApcupsdParamparams
 
std::string datadumpfile = "apcupsd.data"
 
float timeToWarn = 3600.0f
 keep me from leaving display computer on again More...
 
float loadPctToWarn = 14.5f
 
float elapsedToWarn = 0.0f
 

Detailed Description

Definition at line 16 of file apcupsd.h.

Member Data Documentation

◆ datadumpfile

std::string Devices::ApcupsdConfig::datadumpfile = "apcupsd.data"

Definition at line 23 of file apcupsd.h.

◆ elapsedToWarn

float Devices::ApcupsdConfig::elapsedToWarn = 0.0f

Definition at line 28 of file apcupsd.h.

◆ enable

bool Devices::ApcupsdConfig::enable

Definition at line 18 of file apcupsd.h.

◆ loadPctToWarn

float Devices::ApcupsdConfig::loadPctToWarn = 14.5f

Definition at line 27 of file apcupsd.h.

◆ params

std::vector<ApcupsdParam> Devices::ApcupsdConfig::params

Definition at line 22 of file apcupsd.h.

◆ pollSeconds

int Devices::ApcupsdConfig::pollSeconds

Definition at line 20 of file apcupsd.h.

◆ pollTimeout

int Devices::ApcupsdConfig::pollTimeout

Definition at line 21 of file apcupsd.h.

◆ port

unsigned short Devices::ApcupsdConfig::port

Definition at line 19 of file apcupsd.h.

◆ timeToWarn

float Devices::ApcupsdConfig::timeToWarn = 3600.0f

keep me from leaving display computer on again

Definition at line 26 of file apcupsd.h.


The documentation for this struct was generated from the following file: