}
public void dumpHistoryManifest()
{
int nHistoryRecords = gLclHstList.size();
THistoryRecord hst = null;
THistorySpecification spc = null;
TInitializer initializer = TInitializerFactory.getInstance().getInitializer();
String eqm = getLocalName();
String filename = initializer.getFecHome()+File.separator+eqm;
String nl = System.getProperty("line.separator");
try
{
new File(filename).mkdirs();
filename += File.separator+"hstmf.csv";
FileWriter fw = new FileWriter(filename);
String ln = hstmfHdr + nl;
fw.write(ln);
for (int i=0; i<nHistoryRecords; i++)
{
hst = (THistoryRecord)gLclHstList.get(i);
if (hst.getEqm() != this) continue;
spc = hst.getHspec();
ln = ""+hst.getRcdIdx()+", "+eqm+", "+hst.getPrp()+", "+hst.getDev()+
", "+hst.getArraySize()+", "+ TFormat.toString(hst.getFmt())+
", "+spc.getHeartbeat()+", "+spc.getPollngRate()+", "+spc.getArchiveRate()+
", "+getStrToleranceForManifest(spc.getAbsoluteTolerance(),spc.getPercentTolerance())+
", "+spc.getDepthShort()+", "+spc.getDepthLong()+nl;
fw.write(ln);
}
fw.close();
MsgLog.log("dumpHistoryManifest", "wrote history manifest for <"+eqm+">",0,null,0);
}