public override bool SetFloat(int nRow, int nCol, float value) { if (nRow >= 0 && nRow < mnRow) { if (!mhtRecordVec.ContainsKey(nRow)) { AddRow(nRow); } NFIDataList valueList = (NFIDataList)mhtRecordVec[nRow]; if (valueList.GetType(nCol) == NFIDataList.VARIANT_TYPE.VTYPE_FLOAT) { if (valueList.FloatVal(nCol) - value > 0.01f || valueList.FloatVal(nCol) - value < -0.01f) { NFCDataList oldValue = new NFCDataList(); oldValue.AddFloat(valueList.FloatVal(nCol)); valueList.SetFloat(nCol, value); NFCDataList newValue = new NFCDataList(); newValue.AddFloat(valueList.FloatVal(nCol)); if (null != doHandleDel) { doHandleDel(mSelf, mstrRecordName, eRecordOptype.Updata, nRow, nCol, oldValue, newValue); } } } return(true); } return(false); }