90 lines
5.1 KiB
Plaintext
90 lines
5.1 KiB
Plaintext
@using Blazorise
|
|
@using GWMS.UI.Components
|
|
|
|
<div class="card">
|
|
<div class="card-header table-primary h1 py-1">
|
|
@if (currItem != null)
|
|
{
|
|
<div class="row py-0">
|
|
<div class="col-6">
|
|
<b>@currItem.PlantCode</b>
|
|
</div>
|
|
<div class="col-6 text-right">
|
|
@currItem.PlantDesc
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
<div class="card-body p-1">
|
|
<div class="row">
|
|
<div class="col-5 pr-0">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<ul class="list-group">
|
|
<li class="list-group-item d-flex justify-content-between align-items-center p-0">
|
|
<img src="./img/Plant/@(currItem.PlantCode).jpg" class="img-fluid" />
|
|
</li>
|
|
<li class="list-group-item active d-flex justify-content-between align-items-center py-1">PB Alta</li>
|
|
<li class="list-group-item d-flex justify-content-between align-items-center small">
|
|
<span><i class="fas fa-compress-arrows-alt"></i> Stoccaggio</span> <span><b>@currItem.PressAct["BH"].ToString("N1")</b>bar</span>
|
|
</li>
|
|
<li class="list-group-item d-flex justify-content-between align-items-center small">
|
|
<span><i class="fas fa-compress-arrows-alt"></i> Alimentazione</span> <span><b>@currItem.PressAct["BH"].ToString("N1")</b>bar</span>
|
|
</li>
|
|
<li class="list-group-item active d-flex justify-content-between align-items-center py-1">PB Bassa</li>
|
|
<li class="list-group-item d-flex justify-content-between align-items-center small">
|
|
<span><i class="fas fa-compress-arrows-alt"></i> Stoccaggio</span> <span><b>@currItem.PressAct["BL"].ToString("N1")</b>bar</span>
|
|
</li>
|
|
<li class="list-group-item d-flex justify-content-between align-items-center small">
|
|
<span><i class="fas fa-compress-arrows-alt"></i> Alimentazione</span> <span><b>@currItem.PressAct["BL"].ToString("N1")</b>bar</span>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-7">
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<ul class="list-group">
|
|
<li class="list-group-item active d-flex justify-content-between align-items-center">SERBATOIO Principale</li>
|
|
<li class="list-group-item d-flex justify-content-between align-items-center">
|
|
<div class="row">
|
|
<div class="col-12 px-0">
|
|
<LineChart @ref="LevelVal" TItem="double" OptionsObject="lineChartOptions" />
|
|
</div>
|
|
<div class="col-6 small">
|
|
@currItem.LevelAct.ToString("N0")
|
|
</div>
|
|
<div class="col-6 text-right small">
|
|
@currItem.LevelMax.ToString("N0")
|
|
</div>
|
|
<div class="col-12">
|
|
<Progress>
|
|
<ProgressBar Value="@currItem.LevelRatio" Striped="false" Animated="false" />
|
|
</Progress>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
<li class="list-group-item d-flex justify-content-between align-items-center">
|
|
<span><i class="fas fa-database"></i> Livello</span> <span style="font-size:1.2em;"><b>@currItem.LevelRatio</b>%</span>
|
|
</li>
|
|
<li class="list-group-item d-flex justify-content-between align-items-center">
|
|
<span><i class="fas fa-compress-arrows-alt"></i> Pressione</span> <span style="font-size:1.2em;"><b>@currItem.PressAct["Main"].ToString("N1")</b> <span class="small">bar</span></span>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="card-footer alert alert-primary mb-0 p-1">
|
|
<div class="d-flex justify-content-between">
|
|
<div class="py-1 px-2 h2 mb-0">
|
|
Ordini aperti: <b>@currItem.OrderTS.Count</b>
|
|
</div>
|
|
<div class="py-1 px-2">
|
|
<button class="btn btn-block btn-primary" title="Mostra Ordini" @onclick="() => ShowOrders(currItem.PlantId)">Mostra Ordini <i class="fas fa-file-invoice"></i></button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |