62 lines
2.0 KiB
Plaintext
62 lines
2.0 KiB
Plaintext
@page "/"
|
|
@page "/Index"
|
|
@page "/StatusMap"
|
|
@page "/status-map"
|
|
|
|
@attribute [StreamRendering(false)]
|
|
@rendermode InteractiveServer
|
|
|
|
<PageTitle>MP-MON</PageTitle>
|
|
|
|
@if (ListMSE == null)
|
|
{
|
|
<div class="row statusMap mx-1 my-1">
|
|
<div class="col-12">
|
|
<LoadingData @rendermode="InteractiveServer"></LoadingData>
|
|
</div>
|
|
</div>
|
|
}
|
|
else if (ListMSE.Count == 0)
|
|
{
|
|
|
|
<div class="row statusMap mx-1 my-1">
|
|
<div class="col-12">
|
|
<div class="alert alert-warning">
|
|
No data found
|
|
</div>
|
|
</div>
|
|
</div>
|
|
}
|
|
else
|
|
{
|
|
int mseIdx = 0;
|
|
for (int i = 0; i < mapNRow; i++)
|
|
{
|
|
<div class="row statusMap mx-1 my-0" style="font-size: @charMult;">
|
|
@for (int j = 0; j < maxCol; j++)
|
|
{
|
|
var currMse = MseById(mseIdx);
|
|
mseIdx++;
|
|
if (currMse != null)
|
|
{
|
|
<div class="col p-0">
|
|
@if (newDisplay)
|
|
{
|
|
<DetailViewMSE CurrRecord="@currMse" currTagConf="@getIobTag(currMse.IdxMacchina)" currTagVal="@getTagVal(currMse.IdxMacchina)" doAnimate="@doAnimate" keepAliveMin="@keepAliveMin" showArt="@showArt" doBlink="@doBlink" maxChar4Scroll="@maxChar4Scroll" scrollText="@scrollText" brightCss="@brightCss" titleMult="@titleMult" showTC="@showTC" @rendermode="InteractiveServer"></DetailViewMSE>
|
|
}
|
|
else
|
|
{
|
|
<DetailMSE CurrRecord="@currMse" currTagConf="@getIobTag(currMse.IdxMacchina)" currTagVal="@getTagVal(currMse.IdxMacchina)" doAnimate="@doAnimate" keepAliveMin="@keepAliveMin" showArt="@showArt" doBlink="@doBlink" maxChar4Scroll="@maxChar4Scroll" cssOverlayOff="@cssOverlayOff" @rendermode="InteractiveServer"></DetailMSE>
|
|
}
|
|
</div>
|
|
}
|
|
else
|
|
{
|
|
<div class="col p-0"> </div>
|
|
}
|
|
}
|
|
</div>
|
|
}
|
|
|
|
}
|