@* For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860 *@ @{ Layout = null; } @using Applications.UniversalApi_WebConsole_App.Models.OnlineMonitor @model Applications.UniversalApi_WebConsole_App.Models.OnlineMonitor.OnlineMonitorInfo @{ int screenWidth = 1280; int mainviewHeight = 570; int tableMargin = 10; int tableWidth = screenWidth - tableMargin - 63; int tableHeight = mainviewHeight - tableMargin; int scatterOrTableImgWidth = 66; int scatterOrTableImgHeight = 72; int queryViewWidth = 207; int colCount = 7; int maximumAL = 2;//should get from configuration int minimumAL = 1;//shold get from configuration string warningPointColor = "rgba(255, 255, 0,1)";//as prs said it should be yellow string maximumALLineColor = "rgba(255, 0, 0, 1)";//red string minimumALLineColor = "rgba(0, 0, 255, 1)";//blue string normalPointColor = "rgba(0, 0, 255, 1)";//blue int headRightHeight = 44; int queryImgWidth = 61; int queryImgTop = 0; //int queryImgTop = headRightHeight + 10; }
@{ int colwidth = (100 / 7) * (tableWidth); } @*@foreach (var t in Model.Transactions) {*@ @*}*@
油站枪号 传感器号 时间 加油时间(s) A/L(%) 油气流量(L) 燃油流量(L)