54
74
m_upsVarNameAnalog[11] = i18n("Output Frequency");
55
75
m_upsVarNameAnalog[12] = i18n("Battery Temperature");
56
76
m_upsVarNameAnalog[13] = i18n("Battery Current");
58
static const QString upsVarNameUnit[] = {"", "V", "%", "C", "Hz", "%", "C", "%", "V", "V", "A","Hz","C", "A"};
59
static const int upsVarType[] = {0,3,2,1,1,2,1,1,3,3,2,1,1,2}; //typ panelu
60
static const int upsVarItem[] = {5,4,5,5,6,6,5,5,5,4,5,6,5,5}; // pocet velkych policek na stupnici
61
static const int upsVarInItem[] = {0,3,0,0,4,0,0,0,0,3,5,4,0,5}; // pocet malych policek ve velkem policku na stupnici
62
static const int upsVarStart[] = {0,170,0,-10,20,0,-10,0,0,170,0,20,-10,-15};
63
static const int upsVarEnd[] = {0,290,100,90,80,120,70,100,10,290,5,80,90,10};
64
static const int upsVarScaleStart[ knc::NumberOfTypes ][5] = {{0,0,0,0,0},{0,210,0,0,0},{50,0,40,0,0},{-100,50,0,0,0},{0,40,45,0,0},{0,80,100,0,0},{-100,50,0,0,0},{0,0,0,0,0},{0,0,0,0,0},{210,0,250,0,0},{0,0,0,0,0},{0,40,45,0,0},{-100,50,0,0,0},{0,0,0,0,0}};
65
static const int upsVarScaleEnd[ knc::NumberOfTypes ][5] = {{0,0,0,0,0},{400,250,0,0,0},{120,40,50,0,0},{50,100,0,0,0},{90,60,55,0,0},{80,100,120,0,0},{50,70,0,0,0},{0,0,0,0,0},{0,0,0,0,0},{250,210,400,0,0},{0,0,0,0,0},{90,60,55,0,0},{50,100,0,0,0},{0,0,0,0,0}};
77
m_upsVarNameAnalog[14] = i18n("Input Current");
78
m_upsVarNameAnalog[15] = i18n("UPS Power");
80
static const QString upsVarNameUnit[] = {"", "V", "%", "C", "Hz", "%", "C", "%", "V", "V", "A","Hz","C", "A", "A", "VA"};
81
static const int upsVarType[] = {0,3,2,1,1,2,1,1,3,3,2,1,1,2,2,2}; //typ panelu
82
static const int upsVarItem[] = {5,4,5,5,6,6,5,5,5,4,5,6,5,5,5,5}; // pocet velkych policek na stupnici
83
static const int upsVarInItem[] = {0,3,0,0,4,0,0,0,0,3,5,4,0,5,5,5}; // pocet malych policek ve velkem policku na stupnici
84
static const int upsVarStart[] = {0,170,0,-10,20,0,-10,0,0,170,0,20,-10,-15,-15,0};
85
static const int upsVarEnd[] = {0,290,100,90,80,120,70,100,10,290,5,80,90,10,10,500};
86
static const int upsVarScaleStart[ knc::NumberOfTypes ][5] = {{0,0,0,0,0},{0,210,0,0,0},{50,0,40,0,0},{-100,50,0,0,0},{0,40,45,0,0},{0,80,100,0,0},{-100,50,0,0,0},{0,0,0,0,0},{0,0,0,0,0},{210,0,250,0,0},{0,0,0,0,0},{0,40,45,0,0},{-100,50,0,0,0},{0,0,0,0,0}, {0,0,0,0,0},{0,0,0,0,0}};
87
static const int upsVarScaleEnd[ knc::NumberOfTypes ][5] = {{0,0,0,0,0},{400,250,0,0,0},{120,40,50,0,0},{50,100,0,0,0},{90,60,55,0,0},{80,100,120,0,0},{50,70,0,0,0},{0,0,0,0,0},{0,0,0,0,0},{250,210,400,0,0},{0,0,0,0,0},{90,60,55,0,0},{50,100,0,0,0},{0,0,0,0,0},{0,0,0,0,0},{0,0,0,0,0}};
69
90
int upsVarScaleColor[ knc::NumberOfTypes ][5] = {{aRegWhite,aRegWhite,aRegWhite,aRegWhite,aRegWhite},