退版合併測試
This commit is contained in:
parent
1a0769f5ea
commit
d306aeb7af
@ -4,8 +4,16 @@
|
||||
ViewData["Title"] = "逆變器交叉分析";
|
||||
}
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="container-fluid">
|
||||
|
||||
@ -6,8 +6,16 @@
|
||||
@using SolarPower.Models.Role
|
||||
@model RoleLayerEnum
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="container-fluid">
|
||||
|
||||
@ -4,8 +4,16 @@
|
||||
ViewData["Title"] = "電站交叉分析";
|
||||
}
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="container-fluid">
|
||||
|
||||
@ -19,8 +19,16 @@
|
||||
</div>
|
||||
<!-- Your main content goes below here: -->
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
@ -6,8 +6,16 @@
|
||||
@using SolarPower.Models.Role
|
||||
@model RoleLayerEnum
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="container-fluid">
|
||||
|
||||
@ -12,8 +12,16 @@
|
||||
<li class="position-absolute pos-top pos-right d-none d-sm-block"><span class="js-get-date"></span></li>
|
||||
</ol>
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
@ -26,8 +26,19 @@
|
||||
<link href="~/lib/icheck-bootstrap/icheck-bootstrap.min.css" rel="stylesheet" />
|
||||
<!-- Theme style -->
|
||||
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="loadEffect" id="loading" style="top: 50%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="blankpage-form-field">
|
||||
<div class="page-logo m-0 w-100 align-items-center justify-content-center rounded border-bottom-left-radius-0 border-bottom-right-radius-0 px-4">
|
||||
@ -76,11 +87,6 @@
|
||||
<source src="~/media/video/cc.webm" type="video/webm">
|
||||
<source src="~/media/video/cc.mp4" type="video/mp4">
|
||||
</video>
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="transform: translateY(1150%);">
|
||||
<div class="spinner-border" role="status" id="loading" style="display: none"></div>
|
||||
</div>
|
||||
|
||||
@*
|
||||
|
||||
<div class="login-box">
|
||||
|
||||
@ -11,8 +11,16 @@
|
||||
|
||||
<!-- Your main content goes below here: -->
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative; ">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
@*<div class="row mb-5">*@
|
||||
|
||||
@ -6,8 +6,16 @@
|
||||
@using SolarPower.Models.Role
|
||||
@model RoleLayerEnum
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="container-fluid">
|
||||
|
||||
@ -6,8 +6,16 @@
|
||||
@using SolarPower.Models.Role
|
||||
@model RoleLayerEnum
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<ol class="breadcrumb page-breadcrumb">
|
||||
|
||||
@ -17,8 +17,16 @@
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<!-- Your main content goes below here: -->
|
||||
|
||||
@ -6,8 +6,16 @@
|
||||
@using SolarPower.Models.Role
|
||||
@model RoleLayerEnum
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="container-fluid">
|
||||
|
||||
@ -6,8 +6,16 @@
|
||||
@using SolarPower.Models.Role
|
||||
@model RoleLayerEnum
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<ol class="breadcrumb page-breadcrumb">
|
||||
|
||||
@ -16,8 +16,16 @@
|
||||
|
||||
<!-- Your main content goes below here: -->
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
@ -19,8 +19,16 @@
|
||||
</div>
|
||||
<!-- Your main content goes below here: -->
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
@ -12,8 +12,16 @@
|
||||
|
||||
<!-- Your main content goes below here: -->
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
@ -13,8 +13,16 @@
|
||||
<li class="position-absolute pos-top pos-right d-none d-sm-block"><span class="js-get-date"></span></li>
|
||||
</ol>*@
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
@ -225,10 +233,8 @@
|
||||
var today_format = today.toISOString().slice(0, 10).replace(/-/g, "/");
|
||||
//var dateLimit_format = dateLimit.toISOString().slice(0, 10).replace(/-/g, "/");
|
||||
//datepicker.data('daterangepicker').setStartDate(dateLimit_format);
|
||||
if (datepicker.length != 0) {
|
||||
datepicker.data('daterangepicker').setStartDate(today_format);
|
||||
datepicker.data('daterangepicker').setEndDate(today_format);
|
||||
}
|
||||
//$('#date-range-history').val(dateLimit_format + ' - ' + today_format);
|
||||
$('#date-range-history').val(today_format + ' ~ ' + today_format);
|
||||
//alert(" date-range-history = "+$('#date-range-history').val());
|
||||
@ -1719,6 +1725,7 @@
|
||||
|
||||
datepicker.data('daterangepicker').setStartDate(dateLimit_format);
|
||||
datepicker.data('daterangepicker').setEndDate(today_format);
|
||||
|
||||
$('#date-range-record').val(dateLimit_format + ' - ' + today_format);
|
||||
$('#date-range-record').trigger('change');
|
||||
}
|
||||
@ -2692,7 +2699,7 @@
|
||||
nowDisplayIrrDay = val.irrDayHour.toFixed(2);
|
||||
}
|
||||
else {
|
||||
nowDisplayIrrDay = val.irrDay.toFixed(2);
|
||||
nowDisplayIrrDay = val.irradiance.toFixed(2);
|
||||
}
|
||||
// console.log(val);
|
||||
diffSOLARHOURALL = val.solarhour;
|
||||
|
||||
@ -11,8 +11,16 @@
|
||||
<li class="position-absolute pos-top pos-right d-none d-sm-block"><span class="js-get-date"></span></li>
|
||||
</ol>
|
||||
|
||||
<div class="d-flex justify-content-center text-secondary" style="top: 10%; transform: translateY(50%); z-index: 100; position: relative;">
|
||||
<div class="spinner-border" role="status" style="width: 3rem; height: 3rem; display:none;" id="loading"></div>
|
||||
<link rel="stylesheet" href="~/css/loading.css" />
|
||||
<div class="loadEffect" id="loading" style="top: 10%;">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
|
||||
86
SolarPower/wwwroot/css/loading.css
Normal file
86
SolarPower/wwwroot/css/loading.css
Normal file
@ -0,0 +1,86 @@
|
||||
.loadEffect {
|
||||
z-index: 9999;
|
||||
left: 50%;
|
||||
transform: translate(-50%,-50%);
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
position: absolute;
|
||||
margin: 0 auto;
|
||||
margin-top: 100px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.loadEffect span {
|
||||
display: inline-block;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
border-radius: 50%;
|
||||
background: black;
|
||||
position: absolute;
|
||||
-webkit-animation: load 1.04s ease infinite;
|
||||
}
|
||||
|
||||
@-webkit-keyframes load {
|
||||
0% {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
100% {
|
||||
opacity: 0.2;
|
||||
}
|
||||
}
|
||||
|
||||
.loadEffect span:nth-child(1) {
|
||||
left: 0;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
-webkit-animation-delay: 0.13s;
|
||||
}
|
||||
|
||||
.loadEffect span:nth-child(2) {
|
||||
left: 14px;
|
||||
top: 14px;
|
||||
-webkit-animation-delay: 0.26s;
|
||||
}
|
||||
|
||||
.loadEffect span:nth-child(3) {
|
||||
left: 50%;
|
||||
top: 0;
|
||||
margin-left: -8px;
|
||||
-webkit-animation-delay: 0.39s;
|
||||
}
|
||||
|
||||
.loadEffect span:nth-child(4) {
|
||||
top: 14px;
|
||||
right: 14px;
|
||||
-webkit-animation-delay: 0.52s;
|
||||
}
|
||||
|
||||
.loadEffect span:nth-child(5) {
|
||||
right: 0;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
-webkit-animation-delay: 0.65s;
|
||||
}
|
||||
|
||||
.loadEffect span:nth-child(6) {
|
||||
right: 14px;
|
||||
bottom: 14px;
|
||||
-webkit-animation-delay: 0.78s;
|
||||
}
|
||||
|
||||
.loadEffect span:nth-child(7) {
|
||||
bottom: 0;
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
-webkit-animation-delay: 0.91s;
|
||||
}
|
||||
|
||||
.loadEffect span:nth-child(8) {
|
||||
bottom: 14px;
|
||||
left: 14px;
|
||||
-webkit-animation-delay: 1.04s;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -111,7 +111,7 @@ namespace solarApp
|
||||
}
|
||||
|
||||
//臨時的 累計日照
|
||||
if (DateTime.Now.Minute == 20 && (DateTime.Now.Second >= 0 && DateTime.Now.Second <= 10) && autoTask == false)
|
||||
if (DateTime.Now.Minute == 30 && (DateTime.Now.Second >= 0 && DateTime.Now.Second <= 10) && autoTask == false)
|
||||
{
|
||||
//MessageBox.Show("ok");
|
||||
autoTask = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user