08.02.2010 - version 0.1.2
This commit is contained in:
@@ -217,7 +217,7 @@ PIString PIConsole::fstr(PIFlags<PIConsole::Format> f) {
|
||||
if (f[PIConsole::Magenta]) ts += ";35";
|
||||
if (f[PIConsole::Cyan]) ts += ";36";
|
||||
if (f[PIConsole::White]) ts += ";37";
|
||||
|
||||
|
||||
if (f[PIConsole::BackBlack]) ts += ";40";
|
||||
if (f[PIConsole::BackRed]) ts += ";41";
|
||||
if (f[PIConsole::BackGreen]) ts += ";42";
|
||||
@@ -226,7 +226,7 @@ PIString PIConsole::fstr(PIFlags<PIConsole::Format> f) {
|
||||
if (f[PIConsole::BackMagenta]) ts += ";45";
|
||||
if (f[PIConsole::BackCyan]) ts += ";46";
|
||||
if (f[PIConsole::BackWhite]) ts += ";47";
|
||||
|
||||
|
||||
return ts + "m";
|
||||
#endif
|
||||
}
|
||||
@@ -467,6 +467,7 @@ void PIConsole::addVariable(const PIString & name, PIProtocol * ptr, int column,
|
||||
addVariable("Sended count", ptr->sendCount_ptr(), column, format);
|
||||
addVariable("Received count", ptr->receiveCount_ptr(), column, format);
|
||||
addVariable("Invalid count", ptr->wrongCount_ptr(), column, format);
|
||||
addVariable("Missed count", ptr->missedCount_ptr(), column, format);
|
||||
addVariable("Immediate Frequency, Hz", ptr->immediateFrequency_ptr(), column, format);
|
||||
addVariable("Integral Frequency, Hz", ptr->integralFrequency_ptr(), column, format);
|
||||
addVariable("Disconnect Timeout, s", ptr->disconnectTimeout_ptr(), column, format);
|
||||
|
||||
Reference in New Issue
Block a user