public override bool SetDouble(int nRow, int nCol, double 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_DOUBLE) { if (valueList.DoubleVal(nCol) - value > 0.01f || valueList.DoubleVal(nCol) - value < -0.01f) { NFCDataList oldValue = new NFCDataList(); oldValue.AddDouble(valueList.DoubleVal(nCol)); valueList.SetDouble(nCol, value); NFCDataList newValue = new NFCDataList(); newValue.AddDouble(valueList.DoubleVal(nCol)); if (null != doHandleDel) { doHandleDel(mSelf, mstrRecordName, eRecordOptype.Updata, nRow, nCol, oldValue, newValue); } } } return(true); } return(false); }