@using Edge.WebHost.Models.OnlineMonitor @model Edge.WebHost.Models.OnlineMonitor.PageNavigationInfo @{ int screenWidth = 1280; }
@{ string nozzleTablevisibilty = (Model != null && Model.CurrentTab == Operation.NozzleView) ? "visible" : "hidden"; string nozzleTextcolor = (nozzleTablevisibilty == "visible") ? "white" : "brown"; string pumpTablevisibilty = (Model == null || Model.CurrentTab == Operation.PumpView) ? "visible" : "hidden"; string pumpTextcolor = (pumpTablevisibilty == "visible") ? "white" : "brown"; string chartTablevisibilty = (Model != null && Model.CurrentTab == Operation.ChartView) ? "visible" : "hidden"; string chartTextcolor = (chartTablevisibilty == "visible") ? "white" : "brown"; string uploadTablevisibilty = (Model != null && Model.CurrentTab == Operation.UploadView) ? "visible" : "hidden"; string uploadTextcolor = (uploadTablevisibilty == "visible") ? "white" : "brown"; } 油枪查看 油机总览 图表查询 数据上传
@{ var pagePointWidth = 16; var currentpageMargintop = (65 - pagePointWidth) / 2; var marginRight = 40; } @for (var p = 1; p < 6; p++) { var currentPageVisible = (p==1)?"visible":"hidden"; var pageNotShowedVisible = (p == 1) ? "hidden" : "visible"; } @*ShowPreviousPage() must be defined in the view which use this partial page,otherwise the page will crash*@