mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-19 12:10:45 +00:00
Change the name of the PRS1_0E channel so that its new color takes effect by default.
Originally it wasn't being drawn as a span, so black was fine. That doesn't work so well now.
This commit is contained in:
parent
e74bfbf2fd
commit
b90571e940
@ -8090,16 +8090,12 @@ void PRS1Loader::initChannels()
|
|||||||
// <Option id="3" value="AutoSV"/>
|
// <Option id="3" value="AutoSV"/>
|
||||||
// </channel>
|
// </channel>
|
||||||
|
|
||||||
QString unknowndesc=QObject::tr("Unknown PRS1 Code %1");
|
|
||||||
QString unknownname=QObject::tr("PRS1_%1");
|
|
||||||
QString unknownshort=QObject::tr("PRS1_%1");
|
|
||||||
|
|
||||||
channel.add(GRP_CPAP, new Channel(PRS1_0E = 0x1157, SPAN, MT_CPAP, SESSION,
|
channel.add(GRP_CPAP, new Channel(PRS1_0E = 0x1157, SPAN, MT_CPAP, SESSION,
|
||||||
"PRS1_0E",
|
"PRS1_UNK",
|
||||||
"??", // QString(unknownname).arg(0xe,2,16,QChar('0')),
|
QObject::tr("PRS1 Unknown"),
|
||||||
QString(unknowndesc).arg(0xe,2,16,QChar('0')),
|
QObject::tr("Unknown PRS1 span 0x0E"),
|
||||||
"??",
|
"??",
|
||||||
STR_UNIT_Percentage,
|
STR_UNIT_Seconds,
|
||||||
DEFAULT, QColor("#ffe8f0")));
|
DEFAULT, QColor("#ffe8f0")));
|
||||||
qDebug() << channel[PRS1_0E].defaultColor();
|
qDebug() << channel[PRS1_0E].defaultColor();
|
||||||
channel.add(GRP_CPAP, new Channel(PRS1_BND = 0x1159, SPAN, MT_CPAP, SESSION,
|
channel.add(GRP_CPAP, new Channel(PRS1_BND = 0x1159, SPAN, MT_CPAP, SESSION,
|
||||||
|
Loading…
Reference in New Issue
Block a user