ArcObjects弄坏了我的Shapefile

ArcObjects API Reference for .NET 参考文档地址: http://resources.arcgis.com/en/help/arcobjects-net/componenthelp/index.html IFeatureClass 接口 提供对控制要素类的行为和属性的成员的访问。IFeatureClass接口是用于获取和设置要素类的属性的主接口。例如,使用IFeatureClass接口获取要素类的类型,获取满足某些查询的要素数量或在要素类中创建新要素。IFeatureClass接口继承自IObjectClass接口。 https://reso 阅读详情
 我从同事那里拿到一些Shapefile,这是他用shapelib写出来,存在环方向不对的错误,于是我写了一个程序处理了一下,程序没有任何问题。但是处理完后,这些shapefile不能用shp2sde导入sde了,但是用ArcCatalog可以导入,真是气死我也。但是文件很多一个一个选实在太麻烦,还有一个办法就是写程序。本来可以直接写一个程序从shapefile到sde也没什么,但是我想用sde的工具来导数据。一开始以为是我对shp2sde不熟悉,但是怎么看也看不出问题来,create,init,append都不行,feature class已经创建出来,但是没有数据,处于load only I/O模式。
E:Temp1515001>shp2sde -o create -l xz,shape -f xz -a all -i port:5151 -s 192.
168.7.109 -u landuse -p landuse

ArcSDE 
9.0 Oracle9i  Build 1137 Mon Jan 31 18:12:38 PST 2005
Shape to Layer Loading   Administration Utility
-----------------------------------------------------
Set X_offset   
=       36441
Set Y_offset   
=      -42900
Set XY_scale   
=      100000
Set Grid Size0 
=         274
FATAL ERROR (VRD3)
BAD IREC
我用shpinfo查看了一下文件信息如下:
E:Temp1515001>shpinfo -o describe -f xz
------------------------------------------------------------------------
Shape File:            E:/Temp
/15/15001/xz
Version:                
1000
Codepage:              EUC
Type:                  Polygon
Number of Shapes:      
146
Extent:          minX: 
36441.649238          minY: -42899.045622
                      maxX: 
48466.834859          maxY: -25411.115336
Coordinate System: PROJCS[
"Xian_1980_3_Degree_GK_CM_120E",GEOGCS["GCS_Xian_1980"
,DATUM[
"D_Xian_1980",SPHEROID["Xian_1980",6378140.0,298.257]],PRIMEM["Greenwich"
,
0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Gauss_Kruger"],PARAMETER["F
alse_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",
121.4671680],PARAMETER["Scale_Factor",1.0],PARAMETER["Latitude_Of_Origin",31.235
4465],UNIT["Meter",1.0]]

Shape Attribute Columns: 
8
Name                 Type        Width    Decimal Places
------------            ----           -----        --------------
DISTRICTID        C          
4               -
MAP_FRAME       C         
10             -
CODE                   C          
10             -
STREET_COD    C          
10            -
AREA                     N          
15            2
LAND_USE          C          
40            -
LAND_RIGHT      N           
2             -
LAND_USE_T     C          
20            -
------------------------------------------------------------------------
没有什么问题,后来我上ESRI的User Forums上去查了查,还真有人碰到和我一样的问题,他说不能用shpinfo -o stats计算shapefile的统计信息,然后也不能用shp2sde导入SDE,错误消息和我一样。我的运行结果如下:
E:Temp1515001>shpinfo -o stats -f xz
FATAL ERROR (VRD3)
BAD IREC
在论坛里找到的唯一一点有价值的信息是:
VFILE is the parallel file I/O module of ArcInfo (accessing shp/shx
as a pair). IREC is the row number parameter. In this context,
you
've got a truncated or otherwise corrupt file. If you've
transferred the shapefile 
set by FTP, it's possible you didn't use
BINARY mode. 
文件坏掉了!
后来我也依稀记得在处理前的确是可以导的,只是很多记录有错误不能导入而已。自家人和自家人干上了,不过ArcObjects的确容错性很强,有些数据在ArcMap中可以看,但是到了ArcPad中就会让它突然死亡,MOJava也有这样的问题,唉!

        后来我用ArcToolbox中的RepairGeometry工具修复也得到同样的结果,本来还想根据shapefile specification检查一下到底哪里出问题,最后还是放弃了,太麻烦了。但是我把shapefile导入MDB中然后导出来文件是对的。
使用VS2010 C#通过ArcEngine批量属性选择并导出Shapefile 在GIS中,特征对象通常是指具有地理属性和空间属性的数据实体,例如点、线、面等。遍历是指按照一定顺序依次访问数据集中的每一个特征对象的过程。遍历能够让我们对每个对象进行分析、编辑或是提取信息。遍历特征数据集的基本步骤包含以下几个环节:1. 确定数据集的范围与特征类型。2. 准备对数据集进行迭代访问的逻辑。3. 执行遍历操作并根据需求对每个特征对象执行特定的处理。4. 确保遍历逻辑可以正确处理数据集结束的条件。 阅读详情

相关推荐

ShapeRepairToolInstaller.zip

arcgis,,,,,,,,编辑错误shp无法打开时能起到一定作用,解决shp损坏问题,修复时间解决难题

修复损坏的 shapefile

一、SHP文件 Shapefile文件(简称SHP)作为ESRI一种经典的数据格式,被很多其他软件所支持,如CAD、MapGIS等,虽然也有一些限制(如无法进行拓扑分析、字段长度为10个字符等),但其仍然是广泛使用的空间数据格式。 用得多了,有时也会遇到出错的时候。 Error: Number of shapes does not match number of table recor...

weixin_34344403的博客 1546

Shp文件修复.zip

Shp图形文件修复工具,简单实用。

【亲测免费】 修复Shape文件工具

修复Shape文件工具 【下载地址】修复Shape文件工具 本仓库提供了一个用于修复损坏的shapefile的工具。该工具专为ArcGIS用户设计,旨在解决在使用shapefile时遇到的“Number of shape does not match the number of table records”问题。通过使用...

gitblog_09738的博客 565

shapefile文件创建工具

利用外部文本格式的图层描述数据,生成ShapeFile数据文件。 采用TatukGIS为底层GIS平台,系统输入为以制表符分隔的文本文件(可采用Excel编辑),输出为ShapeFile文件,支持图层合并、导入、导出等功能 所有数据在计算时均进行了lambert投影变换,但由于地图没有进行投影,因此,在高纬度地区会出现明显变形。如果问题,请发邮件吧:aronsoft@sina.com

修复shape文件工具

ArcGIS修复损坏的shapefile,解决Number of shape does not match the number of table records的问题

0x80070570文件或目录损坏且无法读取_修复损坏的 shapefile

一、SHP文件Shapefile文件(简称SHP)作为ESRI一种经典的数据格式,被很多其他软件所支持,如CAD、MapGIS等,虽然也有一些限制(如无法进行拓扑分析、字段长度为10个字符等),但其仍然是广泛使用的空间数据格式。用得多了,有时也会遇到出错的时候。Error: Number of shapes does not match number of table records。形...

weixin_39713833的博客 1379

用MapControl加载shape格式文件

利用AE进行动态加载Shape格式文件。

基于Shapefile的数据加工与ArcObjects应用

Shapefile是GIS建库的常用格式之一,Shapefile从ArcView时代开始以结构清晰、简单高效的特点凭借ESRI公司的强势推动,广泛应用于GIS的各种场合。本文讨论的数据加工也是基于Shapefile格式。ArcObjects是ESRI随新一代ArcGIS推出的组件式GIS开发平台,同时还推出了新的数据模型Geodatabase。ArcObjects功能非常强大,涵盖几何编辑、数据库

qizhf的专栏 3983

Steger算法(Line_Gauss)-光条中心线提取(基于Hessian矩阵)

Steger算法(Line_Gauss)-光条中心线提取(基于Hessian矩阵)算法背景介绍Hessian 矩阵与泰勒多项式关于求t导数与中心点、亚像素点高斯函数作用文献 算法背景介绍 在线结构光视觉传感器中,由线激光器发射出的线结构光,在本质上为一个连续且具有一定厚度的空间光平面,而在目标表面上所形成的具有一定宽度的光条特征,即为该光平面与目标表面相交而成的交线。在该空间光平面的厚度方向上,光强近似服从高斯分布,因而在摄像机采集到的光条图像中,在沿着光条宽度的方向或光条的法线方向上,其灰度也会呈现出类似

jiangxing11的博客 1万+

避坑指南:STM32CubeMX安装后,你的第一个工程为什么中文全是乱码?

本文详细解析了STM32CubeMX安装后中文乱码问题的根源及解决方案。从诊断乱码现象到分析编码冲突背景,提供了新项目UTF-8化、旧项目GBK兼容及版本降级等多种实用方案,帮助开发者彻底解决这一常见问题。

weixin_30699955的博客 475

DeepL Pro免费使用技巧与API调用优化方案

机器翻译技术通过神经网络模型实现跨语言语义转换,其核心价值在于保持专业术语准确性的同时实现自然语言流畅度。现代翻译工具如DeepL采用注意力机制等深度学习技术,在医疗、法律等专业领域展现出接近人工翻译的质量。针对API调用场景,开发者可通过请求模拟实现小批量自动化处理,而文档预处理和术语库优化则能显著提升免费额度使用效率。本文重点解析如何通过字符计算优化、临时接口调用等工程实践方法,在合规前提下最大化利用免费翻译资源。

weixin_29038303的博客 266

ArcGIS For Silverlight API 开发中利用WebService调用ArcObjects

<br />      ADF之所以强大,除了其本身的类库外,它还能在服务器端调用AO,来完成比如在线编辑或者Geoemtry的处理工作;而ESRI官方的说法,建立在REST服务基础上的程序目前都不具备在线编辑的功能(因为要与服务器端的数据库打交道),但他们把这项功能作为日程,提到了研发计划内。目前而言,要在SilverlightAPI中完成数据编辑工作,他们的劝告是,“如果你不怕把你的双手弄脏,那就去做吧”。<br />       AO本身是COM组件,.NET是利用COMInterop技术与其打交道的

乔峰的专栏 1942

Coze HTTP请求节点实战:5分钟搞定天气API对接(含动态参数技巧)

本文通过一个天气预报API对接的实战案例,详细讲解了如何在Coze平台使用HTTP请求节点实现外部数据交互。文章重点演示了动态参数传递、JSON响应解析与错误处理等核心技巧,帮助开发者在5分钟内快速构建稳定可靠的智能体外部服务调用能力。

weixin_29233333的博客 677

第五节 Amesim《直动型溢流阀HCD建模》HCD5 学习资料

利用HCD原则创建直动型溢流阀的界面。这可能包括图形化表示直动型溢流阀的工作原理、操作方式和调节方法。这样的界面应当直观且易于理解,使用户能够轻松了解阀门的功能和使用方法。

m0_58052642的博客 1330

ArcEngine创建ShapeFile文件

public static void CreateShapeFile(string strShapeFolder, string strShapeName, string wkt) { //打开工作空间 const string strShapeFieldName = "shape"; IWorkspac...

weixin_34274029的博客 723

基于YOLOv5与海康工业相机的高分辨率实时检测实践

本文详细介绍了基于YOLOv5与海康工业相机的高分辨率实时检测实践,通过优化相机配置、网络传输和YOLOv5模型适配,实现了每秒15帧以上的实时检测性能,缺陷识别准确率高达99.2%。特别适用于电子元件焊接点检测、精密齿轮齿痕检查等对微小缺陷敏感的场景。

weixin_30872499的博客 475

理解 ArcObjects 中的游标

写在前面的话:本文是ArcUser 2006 7-9 月一期中的一篇文章:介绍了 Arcobjects 中的 Cursor对象,节选翻译而来 cursor 和featurecursor 是非常相似的对象: cursor 是用于操作表,而后者用于操作要素类,也可以这样说,cursor 是一种为了特定目的——操作存储在传统数据库表中的记录子集——而建立的类结构,而 featurecursor...

weixin_34315189的博客 140

在Windows 11上用VirtualBox搞定WRF-Hydro 5.2.0:一个水文模型小白的Ubuntu 22.04虚拟机避坑实录

本文详细记录了在Windows 11上使用VirtualBox和Ubuntu 22.04虚拟机成功编译安装WRF-Hydro 5.2.0水文模型的全过程。从虚拟环境配置、依赖库安装到环境变量设置,作者分享了针对Linux新手的实用避坑技巧和关键命令,帮助科研人员高效完成水文模型的环境搭建。

weixin_30733003的博客 354

避坑指南:C# OpenCvSharp调用4K摄像头常见的5个问题及解决方案

本文针对C# OpenCvSharp调用4K高清摄像头时常见的五大难题,提供了详细的解决方案。内容涵盖分辨率设置失效、帧率卡顿、内存泄漏、硬件驱动兼容性以及性能优化实战,帮助开发者高效稳定地处理4K视频流,提升智能安防监控等项目的开发效率。

weixin_29268331的博客 425

如何用Delphi进行ArcObjects的应用开发

如何用Delphi进行ArcObjects的应用开发 一、ArcObjects简介 软件重用是业界追求的目标,人们一直希望能够像搭积木一样随意地“装配”应用程序;组件对象就充当了积木的角色。所谓组件对象,实际上就是预先定义好的、能完...

weixin_30918415的博客 158

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

笔记本CPU更换实战指南:BGA返修与BIOS微码缝合

笔记本CPU更换并非简单硬件替换,而是涉及BGA封装、供电拓扑、BIOS微码、散热适配等多维度的系统工程。其底层原理源于Intel/AMD对同封装、同TDP、同架构处理器的电气兼容性设计,但真正落地依赖主板VRM能力、固件微码支持及热力学精准控制。技术价值在于延长设备生命周期、降低电子垃圾、支撑教育与工控场景的低成本升级;典型应用场景包括ThinkPad等商用本的i5→i7升级、停产工控平台续用、机房批量翻新等。本文聚焦BGA返修实操与BIOS微码注入两大核心环节,直击焊盘损伤、黑屏不识别、USB异常等高频

weixin_34279184的博客 365

温度PID控制PLC程序

温度PID稳定控制程序,适用于欧姆龙PLC,对其他PLC也具有很大参考价值

NTscan扫描工具

ntscan是一个扫描器,可以扫描没有密码和弱密码的共享,先到配置文件中填写猜测的用户名和密码,扫描过程中右侧出现的是扫描日志。

AE中新建shapefile,自定义字段

代码由ESRI社区GIScafe提供 IFieldspFields=newFieldsClass(); IFieldsEditpFieldsEdit=pFieldsasIFieldsEdit; IFieldpField=newFieldClass(); IFieldEdi...

weixin_30550081的博客 150

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

上一篇: X/Y Domain导致ITopologicalOperator::Intersect出错(二)
下一篇: 挑战Oracle OLEDB Data Provider在西文数据库上乱码问题!
complayer
博客等级 码龄25年 16粉丝 57原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值