mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-09 04:30:43 +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"/>
|
||||
// </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,
|
||||
"PRS1_0E",
|
||||
"??", // QString(unknownname).arg(0xe,2,16,QChar('0')),
|
||||
QString(unknowndesc).arg(0xe,2,16,QChar('0')),
|
||||
"PRS1_UNK",
|
||||
QObject::tr("PRS1 Unknown"),
|
||||
QObject::tr("Unknown PRS1 span 0x0E"),
|
||||
"??",
|
||||
STR_UNIT_Percentage,
|
||||
STR_UNIT_Seconds,
|
||||
DEFAULT, QColor("#ffe8f0")));
|
||||
qDebug() << channel[PRS1_0E].defaultColor();
|
||||
channel.add(GRP_CPAP, new Channel(PRS1_BND = 0x1159, SPAN, MT_CPAP, SESSION,
|
||||
|
Loading…
Reference in New Issue
Block a user