Subversion Repositories HomeAutomation

Rev

Rev 1323 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 1323 Rev 1326
Line 53... Line 53...
53
}
53
}
54
 
54
 
55
void Variable::writeBits(BitBuffer & buffer)
55
void Variable::writeBits(BitBuffer & buffer)
56
{
56
{
57
    this->myDatatype->writeBits(buffer);
57
    this->myDatatype->writeBits(buffer);
-
 
58
}
-
 
59
 
-
 
60
string Variable::toString()
-
 
61
{
-
 
62
    string buffer = this->myName + "=" + this->myDatatype->toString();
-
 
63
 
-
 
64
    if (this->myUnit != "")
-
 
65
    {
-
 
66
        buffer += " " + this->myUnit;
-
 
67
    }
-
 
68
 
-
 
69
    return buffer;
58
}
70
}
59
 
71
 
60
}
72
}
61
}
73
}