/// <summary> /// 输出摘要信息。 /// </summary> public string WriteSummay() { StringBuilder sb = new StringBuilder(); sb.AppendLine(resourceManager.GetString("String100")); sb.AppendLine(); sb.AppendLine(resourceManager.GetString("String73")); foreach (string variableName in listVariableLayersName) { sb.AppendLine(variableName); } sb.AppendLine(); sb.AppendLine(resourceManager.GetString("String74")); sb.AppendLine(resourceManager.GetString("String27")); foreach (StructLanduseInfo structLanduseInfo in landUseClassificationInfo.UrbanValues) { sb.AppendLine(structLanduseInfo.LanduseTypeChsName + resourceManager.GetString("String28") + structLanduseInfo.LanduseTypeValue.ToString()); } sb.AppendLine(); sb.AppendLine(resourceManager.GetString("String29")); foreach (StructLanduseInfo structLanduseInfo in landUseClassificationInfo.ConvertValues) { sb.AppendLine(structLanduseInfo.LanduseTypeChsName + resourceManager.GetString("String28") + structLanduseInfo.LanduseTypeValue.ToString()); } sb.AppendLine(); sb.AppendLine(resourceManager.GetString("String30")); foreach (StructLanduseInfo structLanduseInfo in landUseClassificationInfo.NotToConvertValues) { sb.AppendLine(structLanduseInfo.LanduseTypeChsName + resourceManager.GetString("String28") + structLanduseInfo.LanduseTypeValue.ToString()); } sb.AppendLine(); sb.AppendLine(resourceManager.GetString("String19")); for (int i = 0; i < coef.Length; i++) { if (i == 0) { sb.AppendLine(resourceManager.GetString("String20") + resourceManager.GetString("String21") + GeneralOpertor.FormatDouble(coef[0], "#.###")); } else { sb.AppendLine(listVariableLayersName[i - 1] + resourceManager.GetString("String21") + GeneralOpertor.FormatDouble(coef[i], "#.###")); } } sb.AppendLine(); sb.AppendLine(resourceManager.GetString("String76") + simulationStartImageName); sb.AppendLine(resourceManager.GetString("String77") + simulationEndImageName); sb.AppendLine(); sb.AppendLine(resourceManager.GetString("String22") + numericUpDownConvertCount.Value.ToString() + resourceManager.GetString("String23")); sb.AppendLine(resourceManager.GetString("String31") + numericUpDownIterations.Value.ToString() + resourceManager.GetString("String24")); sb.AppendLine(resourceManager.GetString("String25") + Convert.ToInt32(numericUpDownConvertCount.Value / numericUpDownIterations.Value).ToString() + resourceManager.GetString("String23")); sb.AppendLine(); sb.AppendLine(resourceManager.GetString("String26") + numericUpDownDelta.Value.ToString()); sb.AppendLine(); sb.AppendLine(); sb.AppendLine(resourceManager.GetString("String32")); sb.AppendLine(resourceManager.GetString("String33") + numericUpDownRefresh.Value + resourceManager.GetString("String34")); if (isOutput) { sb.AppendLine(resourceManager.GetString("String33") + numericUpDownOutputImage.Value + resourceManager.GetString("String35")); sb.AppendLine(resourceManager.GetString("String36") + textBoxOutputFolder.Text); } sb.AppendLine(); sb.AppendLine(); return(sb.ToString()); }