2017-02-16 Fred Gleason <fredg@paravelsystems.com>

* Modified the '<forcedLength>', '<averageLength>',
	'<lengthDeviation>', '<averageSegueLength>' and
	'<averageHookLength>' fields in the return of the 'ListCart'
	and 'ListCarts' web methods to return a two-digit hours field.
This commit is contained in:
Fred Gleason 2017-02-16 08:15:07 -05:00
parent ef5dd121b7
commit d4682f6e1b
2 changed files with 10 additions and 5 deletions

View File

@ -15580,3 +15580,8 @@
2017-02-10 Fred Gleason <fredg@paravelsystems.com> 2017-02-10 Fred Gleason <fredg@paravelsystems.com>
* Added a '<conductor>' field to the output of the 'ListLog' web * Added a '<conductor>' field to the output of the 'ListLog' web
API method. API method.
2017-02-16 Fred Gleason <fredg@paravelsystems.com>
* Modified the '<forcedLength>', '<averageLength>',
'<lengthDeviation>', '<averageSegueLength>' and
'<averageHookLength>' fields in the return of the 'ListCart'
and 'ListCarts' web methods to return a two-digit hours field.

View File

@ -1056,15 +1056,15 @@ QString RDCart::xml(bool include_cuts,bool absolute,
ret+=" "+RDXmlField("userDefined",q->value(11).toString()); ret+=" "+RDXmlField("userDefined",q->value(11).toString());
ret+=" "+RDXmlField("usageCode",q->value(12).toInt()); ret+=" "+RDXmlField("usageCode",q->value(12).toInt());
ret+=" "+RDXmlField("forcedLength", ret+=" "+RDXmlField("forcedLength",
RDGetTimeLength(q->value(13).toUInt(),true)); "0"+RDGetTimeLength(q->value(13).toUInt(),true));
ret+=" "+RDXmlField("averageLength", ret+=" "+RDXmlField("averageLength",
RDGetTimeLength(q->value(14).toUInt(),true)); "0"+RDGetTimeLength(q->value(14).toUInt(),true));
ret+=" "+RDXmlField("lengthDeviation", ret+=" "+RDXmlField("lengthDeviation",
RDGetTimeLength(q->value(15).toUInt(),true)); "0"+RDGetTimeLength(q->value(15).toUInt(),true));
ret+=" "+RDXmlField("averageSegueLength", ret+=" "+RDXmlField("averageSegueLength",
RDGetTimeLength(q->value(16).toUInt(),true)); "0"+RDGetTimeLength(q->value(16).toUInt(),true));
ret+=" "+RDXmlField("averageHookLength", ret+=" "+RDXmlField("averageHookLength",
RDGetTimeLength(q->value(17).toUInt(),true)); "0"+RDGetTimeLength(q->value(17).toUInt(),true));
ret+=" "+RDXmlField("cutQuantity",q->value(18).toUInt()); ret+=" "+RDXmlField("cutQuantity",q->value(18).toUInt());
ret+=" "+RDXmlField("lastCutPlayed",q->value(19).toUInt()); ret+=" "+RDXmlField("lastCutPlayed",q->value(19).toUInt());
ret+=" "+RDXmlField("enforceLength",RDBool(q->value(21).toString())); ret+=" "+RDXmlField("enforceLength",RDBool(q->value(21).toString()));