fix bug for userTag

This commit is contained in:
Marty Kraimer
2014-08-26 06:30:30 -04:00
parent f2bbec36ef
commit f1aca7e20f
2 changed files with 27 additions and 1 deletions

View File

@@ -177,6 +177,7 @@ void NTMultiChannelBuilder::reset()
message = false;
secondsPastEpoch = false;
nanoseconds = false;
userTag = false;
}
}
@@ -206,6 +207,7 @@ NTMultiChannel::NTMultiChannel(PVStructurePtr const & pvStructure)
pvMessage(pvStructure->getSubField<PVStringArray>("message")),
pvSecondsPastEpoch(pvStructure->getSubField<PVLongArray>("secondsPastEpoch")),
pvNanoseconds(pvStructure->getSubField<PVIntArray>("nanoseconds")),
pvUserTag(pvStructure->getSubField<PVIntArray>("userTag")),
pvDescriptor(pvStructure->getSubField<PVString>("descriptor"))
{
}