tests for required fields on commands and some logging updates

This commit is contained in:
Justin Hammond 2019-11-06 14:34:48 +08:00
parent 3d7c8db9e4
commit 5e1b41e212
34 changed files with 291 additions and 130 deletions

View file

@ -3,7 +3,7 @@
MqttCommand_Open::MqttCommand_Open(QObject *parent) :
MqttCommand(parent)
{
this->m_requiredFields << "serialport";
this->m_requiredStringFields << "serialport";
}
MqttCommand* MqttCommand_Open::Create(QObject *parent) {
return new MqttCommand_Open(parent);