File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,14 +21,14 @@ struct DisplayDefinition
2121 DeviceId = qBound < quint8 > (1 , DeviceId , 255 );
2222 PointAddress = qMax < quint16 > (1U , PointAddress );
2323 PointType = qBound (QModbusDataUnit ::DiscreteInputs , PointType , QModbusDataUnit ::HoldingRegisters );
24- Length = qBound < quint16 > (1 , Length , 128 );
24+ Length = qBound < quint16 > (1 , Length , 200 );
2525 }
2626};
2727Q_DECLARE_METATYPE (DisplayDefinition )
2828
2929inline QSettings & operator <<(QSettings & out , const DisplayDefinition & dd )
3030{
31- out .setValue ("DisplayDefinition/UpdateRate" , dd .UpdateRate );
31+ out .setValue ("DisplayDefinition/UpdateRate" , dd .UpdateRate );
3232 out .setValue ("DisplayDefinition/DeviceId" , dd .DeviceId );
3333 out .setValue ("DisplayDefinition/PointAddress" , dd .PointAddress );
3434 out .setValue ("DisplayDefinition/PointType" , dd .PointType );
You can’t perform that action at this time.
0 commit comments