String tableName = (String)bean.get("tableName");
String colName = (String)bean.get("colName");
String path = new StringBuffer().append("/").append(tableName).append("/").append(colName).toString();
if(!hashTable.containsKey(path))//测点不在wincc计量表中,则添加
{
WinccMeasure measure = new WinccMeasure();
measure.setId(MyUUIDGen.getUUID());
measure.setTableName(tableName);
measure.setColName(colName);
measure.setPath(path);
winccMeasureDAO.merge(measure);
}
else//测点在计量表中
{
//不需判断点是否变化,因为点不会发生变化