| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- using System.Collections.Generic;
- using System.Linq;
- namespace WeApp.TrainingCamp
- {
- public static class StepList
- {
- public static List<StepInfo> List = new List<StepInfo>()
- {
- new StepInfo("0_1","演练已就绪",5),
- new StepInfo("0_2","组建指挥部",16),
- new StepInfo("1_1","第1轮情景处置",20),
- new StepInfo("1_2","第1轮答记者问",25),
- new StepInfo("1_3","第1轮专家点评",35),
- new StepInfo("2_1","第2轮情景处置",45),
- new StepInfo("2_2","第2轮答记者问",55),
- new StepInfo("2_3","第2轮专家点评",65),
- new StepInfo("3_1","第3轮情景处置",75),
- new StepInfo("3_2","第3轮新闻发布会",85),
- new StepInfo("3_3","第3轮专家点评",95),
- new StepInfo("0_5","生成报告",98),
- new StepInfo("0_6","演练完成",100),
- };
- public static StepInfo GetStepInfo(string id)
- {
- return List.FirstOrDefault(a => a.Id == id);
- }
- public class StepInfo
- {
- public StepInfo(string id, string name, int progress)
- {
- Id = id;
- Name = name;
- Progress = progress;
- }
- public string Id { get; set; }
- public string Name { get; set; }
- public int Progress { get; set; }
- }
- }
- }
|