String dev = hrs[0].getDevice();
THistoryRecord hr = getLocalHistoryRecord(prp,dev);
if (hr == null)
{ // wasn't in list
TExportProperty p = getPropertyList().getFirstProperty(prp);
TPropertyDescription pd = p.getDescription();
int at = pd != null ? pd.getArrayType() : TArrayType.AT_UNKNOWN;
int idx = TEquipmentModuleFactory.getInstance().getNextHistoryRecordIndex();
THistorySpecification hspec = new THistorySpecification(hrs[0].getPollingRate(), hrs[0].getArchiveRate(), hrs[0].getDepthShort(), hrs[0].getDepthLong(), hrs[0].getHeartbeat(), hrs[0].getPercentTolerance(), hrs[0].getAbsoluteTolerance(), null);
addLocalHistoryRecord(idx, dev, prp, hrs[0].getSize(), hrs[0].getFormat(),at,hspec);
dumpHistoryManifest();
}