public void RequirePropertyFloat(NFrame.NFGUID objectID, string strPropertyName, NFIDataList.TData newVar)
    {
        NFMsg.ObjectPropertyFloat xData = new NFMsg.ObjectPropertyFloat();
        xData.player_id = NFBinarySendLogic.NFToPB(objectID);

        NFMsg.PropertyFloat xPropertyFloat = new NFMsg.PropertyFloat();
        xPropertyFloat.property_name = System.Text.Encoding.Default.GetBytes(strPropertyName);
        xPropertyFloat.data          = (float)newVar.FloatVal();
        xData.property_list.Add(xPropertyFloat);

        MemoryStream stream = new MemoryStream();

        Serializer.Serialize <NFMsg.ObjectPropertyFloat>(stream, xData);
        Debug.Log("send upload Float");
        NFStart.Instance.GetFocusSender().SendMsg(objectID, NFMsg.EGameMsgID.EGMI_ACK_PROPERTY_FLOAT, stream);
    }
    public void RequireRecordFloat(NFrame.NFGUID self, string strRecordName, int nRow, int nCol, NFIDataList.TData newVar)
    {
        NFMsg.ObjectRecordFloat xData = new NFMsg.ObjectRecordFloat();
        xData.player_id   = NFBinarySendLogic.NFToPB(self);
        xData.record_name = System.Text.Encoding.Default.GetBytes(strRecordName);

        NFMsg.RecordFloat xRecordFloat = new NFMsg.RecordFloat();
        xData.property_list.Add(xRecordFloat);
        xRecordFloat.row  = nRow;
        xRecordFloat.col  = nCol;
        xRecordFloat.data = (float)newVar.FloatVal();

        MemoryStream stream = new MemoryStream();

        Serializer.Serialize <NFMsg.ObjectRecordFloat>(stream, xData);
        Debug.Log("send upload record float");
        SendMsg(self, NFMsg.EGameMsgID.EGMI_ACK_RECORD_FLOAT, stream);
    }