コード例 #1
0
 /// <summary>
 /// 已保存数据。
 /// </summary>
 /// <param name="dataSourceType">数据源类型。</param>
 /// <param name="Count">记录数量。</param>
 /// <param name="dataType">数据类型</param>
 /// <returns></returns>
 public static string DataSaved(GEODataSourceType dataSourceType, int Count, GEODataType dataType)
 {
     return(string.Format(rm.GetString("DataSaved"), Count, GEODataTables.GetDescription(new GEODataType(), (int)dataType), GEODataTables.GetDescription(new GEODataSourceType(), (int)dataSourceType)));
 }
コード例 #2
0
 /// <summary>
 /// 计算结果。
 /// </summary>
 /// <param name="convertType">转换类型。</param>
 /// <param name="all">记录总条数。</param>
 /// <param name="calculated">已计算条数。</param>
 /// <param name="success">成功条数。</param>
 /// <param name="failed">失败条数。</param>
 /// <returns></returns>
 public static string ConvertResult(GEOConvertType convertType, int all, int calculated, int success, int failed)
 {
     return(string.Format(rm.GetString("ConvertResult"), GEODataTables.GetDescription(new GEOConvertType(), (int)convertType), all, calculated, success, failed));
 }