public void ConvertToResources(Tools.StringGroup value) { if (value.sourceString == "") { return; } //处理文件数据 string[] result = value.ToStringGroup(); lineName = result[0]; for (int a = 0; a < 5; a++) { lineMessage[a] = result[a + 1]; } if (result[6] == "0") { lineType = enumLineType.Bus; } else { lineType = enumLineType.Subway; } lineWait = (enumLineWait)(int.Parse(result[7])); for (int a = 0; a < 4; a++) { lineRuntime[a] = System.Convert.ToInt32(result[a + 8]); } lineUpStop = new Tools.StringGroup(result[12], ","); lineDownStop = new Tools.StringGroup(result[13], ","); }
public void ConvertToResources(Tools.StringGroup value) { if (value.sourceString == "") { return; } //处理文件数据 string[] result = value.ToStringGroup(); stopName = result[0]; stopCrossLine = new StringGroup(result[1], ","); }
public void ConvertToResources(Tools.StringGroup value) { if (value.sourceString == "") { return; } //处理文件数据 string[] result = value.ToStringGroup(); addressGlobal = result[0]; addressLocal = result[1]; developer = result[2]; releaseDate = result[3]; }
public void ConvertToResources(Tools.StringGroup value) { if (value.sourceString == "") { return; } //处理文件数据 string[] result = value.ToStringGroup(); stopName = result[0]; var cache = new StringGroup(result[1], ","); foreach (string item in cache.ToStringGroup()) { stopExit.Add(new StringGroup(item, "#")); } }