diff --git a/DeviceHub/BCodeTerminalForm.cpp b/DeviceHub/BCodeTerminalForm.cpp index 2c8bc26..71b6db4 100644 --- a/DeviceHub/BCodeTerminalForm.cpp +++ b/DeviceHub/BCodeTerminalForm.cpp @@ -1,4 +1,4 @@ -#include "BCodeTerminalForm.h" +#include "BCodeTerminalForm.h" #include "ui_BCodeTerminalForm.h" #include "DeviceHubWindow.h" @@ -16,7 +16,7 @@ void BCodeTerminalForm::on_bctButt_clicked() { - // ������������ + // 获取设备对象 int devIndex = ((DeviceHubWindow *) this->parent()->parent())->currentDevIndex; BCodeTerminal * device = (BCodeTerminal *) ((DeviceHubWindow *) this->parent()->parent())->allTypeDevList.value("07").at(devIndex); device->mockReceivData(); @@ -24,7 +24,7 @@ void BCodeTerminalForm::drawDeviceFrameOnForm(DeviceFrameBaseDto * frameData) { - // ������������������ + // 当前显示的设备编号 if (frameData->frameType == "0701") { BCodeTerminalStatusDto * statusFrameDto = (BCodeTerminalStatusDto *) frameData;