本页内容

QCanSignalDescription::MultiplexValueRange Struct

struct QCanSignalDescription::MultiplexValueRange

定义多路复用器信号的值范围。更多...

该结构体在 Qt 6.5 中引入。

公共变量

QVariant maximum
QVariant minimum

详细说明

每个多路复用器信号可以被分配多个值范围。此类型表示其中一个范围。该范围包含最小值和最大值。最小值和最大值可以相等,因此 MultiplexValueRange 绝不会为空。如果最大值小于最小值,则在进行范围检查时会将这两个值互换。

另请参阅 Multiplexed Signals Explained 。

成员变量文档

QVariant MultiplexValueRange::maximum

该变量存储该范围的最大值。

QVariant MultiplexValueRange::minimum

该变量存储该范围的最小值。

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.