protected bool Equals(HeadingLine other) { return(_inputLine == other._inputLine); }
/* Private helper method to display menus and breadcrumbs */ private HeaderVM getHeaderInfo(List <string> bc, List <string> bcl, string title, string subTitle) { HeaderVM h = new HeaderVM(); /* Page specifics - using parameters taken in */ Breadcrumbs b = new Breadcrumbs(); b.breadcrumbs = bc; b.breadcrumbsLink = bcl; h.brdcrm = b; HeadingLine hln = new HeadingLine(); hln.GraphATitle = "Active Projects"; hln.GraphBTitle = "Tasks Completed"; List <int> l = new List <int> { 3, 7, 4, 6, 10, 12, 12, 12 }; hln.GraphA = l; List <int> l2 = new List <int> { 16, 18, 13, 9, 12, 18, 19, 17, 3, 16, 12 }; hln.GraphB = l2; hln.PageSubtitle = subTitle; hln.PageTitle = title; h.hl = hln; /* Generate sidebar menu */ /* This probably needs to be database generated using the users access rights */ SideBarMenu s = new SideBarMenu(); MenuItem m = new MenuItem("icol-house", "/Home/Index", "Home"); s.addMenuItem(m); MenuItem m8 = new MenuItem("icol-clipboard-text", "/Home/EDI", "EDI Rejections"); s.addMenuItem(m8); MenuItem m2 = new MenuItem("icol-lock-unlock", "/Home/heldOrders", "Held Orders"); s.addMenuItem(m2); MenuItem m7 = new MenuItem("icol-user", "/Home/PPO", "PPO Req Authorisation"); s.addMenuItem(m7);//page-paste MenuItem m3 = new MenuItem("icol-alarm", "/Home/BackOrders", "Back Orders"); s.addMenuItem(m3); MenuItem m4 = new MenuItem("icol-clipboard-text", "/Home/SOE", "Sales Order Enquiry"); //s.addMenuItem(m4); MenuItem m9 = new MenuItem("icol-clipboard-text", "/Home/POE", "Purchase Order Enquiry"); //s.addMenuItem(m9); MenuItem m5 = new MenuItem("icol-cog", "", "Administration"); m5.addMenuSubItem(new MenuSubItem("icol-chart-organisation", "/Home/CSTeams", "CS Teams")); //m5.addMenuSubItem(new MenuSubItem("icol-award-star-gold", "", "Status")); //m5.addMenuSubItem(new MenuSubItem("icol-user-business-boss", "", "User")); s.addMenuItem(m5); MenuItem m6 = new MenuItem("icol-key", "", "Log Out"); //s.addMenuItem(m6); h.sbm = s; HeaderBar hdr = new HeaderBar(); h.Hdr = hdr; return(h); }
private HeaderVM getHeaderInfo(List <string> bc, List <string> bcl, string title, string subTitle) { HeaderVM h = new HeaderVM(); /* Page specifics - using parameters taken in */ Breadcrumbs b = new Breadcrumbs(); b.breadcrumbs = bc; b.breadcrumbsLink = bcl; h.brdcrm = b; HeadingLine hln = new HeadingLine(); hln.GraphATitle = "Active Projects"; hln.GraphBTitle = "Tasks Completed"; List <int> l = new List <int> { 3, 7, 4, 6, 10, 12, 12, 12 }; hln.GraphA = l; List <int> l2 = new List <int> { 16, 18, 13, 9, 12, 18, 19, 17, 3, 16, 12 }; hln.GraphB = l2; hln.PageSubtitle = subTitle; hln.PageTitle = title; h.hl = hln; /* Generate sidebar menu */ /* This probably needs to be database generated using the users access rights */ SideBarMenu s = new SideBarMenu(); MenuItem m = new MenuItem("icol-chart-bar", "", "Dashboard"); s.addMenuItem(m); MenuItem m8 = new MenuItem("icol-clipboard-text", "/Home/Index", "Knowledge base"); //s.addMenuItem(m8); MenuItem m2 = new MenuItem("icol-page-paste", "/Home/RaiseCall", "Raise Call"); //s.addMenuItem(m2); MenuItem m7 = new MenuItem("icol-clipboard-text", "/Home/Index", "Asset Register"); //s.addMenuItem(m7); MenuItem m3 = new MenuItem("icol-page-paste", "/Home/ChangeRequest", "Change Request"); s.addMenuItem(m3); MenuItem m4 = new MenuItem("icol-clipboard-text", "/Home/Index", "Projects"); s.addMenuItem(m4); MenuItem m9 = new MenuItem("icol-clipboard-text", "/Home/Index", "Help Desk"); //s.addMenuItem(m9); MenuItem m5 = new MenuItem("icol-cog", "", "Administration"); m5.addMenuSubItem(new MenuSubItem("icol-chart-organisation", "", "Department")); m5.addMenuSubItem(new MenuSubItem("icol-award-star-gold", "", "Status")); m5.addMenuSubItem(new MenuSubItem("icol-user-business-boss", "", "User")); s.addMenuItem(m5); //MenuItem m14 = new MenuItem("icol-chart-bar", "", "Support"); //s.addMenuItem(m14); MenuItem m6 = new MenuItem("icol-key", "", "Log Out"); s.addMenuItem(m6); h.sbm = s; HeaderBar hdr = new HeaderBar(); hdr.User = "******"; hdr.AlertQty = 3; hdr.PendingTaskQty = 12; hdr.MessageQty = 2; h.Hdr = hdr; return(h); }
public void Read(HeadingLine call) { Ignore(call); }