Made the device save it last sent command

This commit is contained in:
Micke Prag 2009-02-08 17:54:02 +00:00
parent b6364e49bc
commit ca42ff2852
16 changed files with 264 additions and 224 deletions

View file

@ -11,8 +11,8 @@ using namespace TelldusCore;
/*
* Constructor
*/
DeviceNexa::DeviceNexa(int model, const std::string &strHouse, const std::string &strCode)
:Device(model)
DeviceNexa::DeviceNexa(int id, int model, const std::string &strHouse, const std::string &strCode)
:Device(id, model)
{
if (strHouse.length() > 0) {
intHouse = strHouse[0] - 'A';