using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AIStudio.Wpf.ADiagram.Demos.Flowchart { public static class FlowchartService { static FlowchartService() { Users = new List() { new SelectOption(){ value = "操作员1",text = "操作员1" }, new SelectOption(){ value = "操作员2",text = "操作员2" }, new SelectOption(){ value = "Admin",text = "Admin" }, }; Roles = new List() { new SelectOption(){ value = "操作员",text = "操作员" }, new SelectOption(){ value = "管理员",text = "管理员" }, }; } private static List _users; public static List Users { get { return _users; } set { _users = value; } } private static List _roles; public static List Roles { get { return _roles; } set { _roles = value; } } } }