@{ ViewData["MainNum"] = "1"; ViewData["SubNum"] = "2"; ViewData["Title"] = "電站總覽"; } @using SolarPower.Models.Role @model RoleLayerEnum @**@

電站名稱

27°C
降雨幾率: 0%

@if (ViewBag.myUser.Role.Layer == (int)RoleLayerEnum.PlatformAdmin || ViewBag.auths.Contains("StationOverview_UpToDate")) {
@Html.Partial("_UpToDate")
} @if (ViewBag.myUser.Role.Layer == (int)RoleLayerEnum.PlatformAdmin || ViewBag.auths.Contains("StationOverview_Info")) {
@Html.Partial("_Info")
}
@Html.Partial("_InverterInfo")
@if (ViewBag.myUser.Role.Layer == (int)RoleLayerEnum.PlatformAdmin || ViewBag.auths.Contains("StationOverview_Inverter")) {
@Html.Partial("_Inverter")
} @if (ViewBag.myUser.Role.Layer == (int)RoleLayerEnum.PlatformAdmin || ViewBag.auths.Contains("StationOverview_History")) {
@Html.Partial("_History")
} @if (ViewBag.myUser.Role.Layer == (int)RoleLayerEnum.PlatformAdmin || ViewBag.auths.Contains("StationOverview_Exception")) {
@Html.Partial("_Exception")
} @if (ViewBag.myUser.Role.Layer == (int)RoleLayerEnum.PlatformAdmin || ViewBag.auths.Contains("StationOverview_OperationRecord")) {
@Html.Partial("_OperationRecord")
}
@section Scripts{ }