Files
Mapo-IOB/SMGen/Pages/SMEvent2State.razor
T
zaccaria.majid b2679d52e2 fix commenti
2023-08-10 14:40:21 +02:00

70 lines
3.0 KiB
Plaintext

@page "/SMEvent2State"
<h3>Event-state</h3>
@*<p>
Deve permettere upload file *.rul (NUOVO, diverso/semplificato) e generazione righe regole (come x csv)
</p>
<p>
I dati generati potrebbero andare direttamente sul DB, nella tab <b>TransizioneStatiNew</b> (da creare...):
<br />
select * from TransizioneStatiNew
</p>
<p>
Vista in preview si può poi inserire in prod se confermato
</p>*@
<div class="w-100 shadow-lg p-3 rounded mb-2">
<div class="d-flex justify-content-between w-100">
<div class="mb-2 col-6">
<InputFile OnChange="@LoadFiles" multiple />
</div>
<div class="col-6">
<div class="d-flex justify-content-between w-100">
<div class="form-check px-2">
<input class="form-check-input" type="checkbox" value="" @bind="@CalcItself" id="flexCheckDefault">
<label class="form-check-label" for="flexCheckDefault">
Stesso stato
</label>
</div>
<div class="form-check px-2">
<input class="form-check-input" type="checkbox" value="" @bind="@CalcEmptyState" id="flexCheckDefault2">
<label class="form-check-label" for="flexCheckDefault2">
Stato zero
</label>
</div>
<div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="flexRadioDefault" id="flexRadioDefault1" @bind="@OrderByStEv">
<label class="form-check-label" for="flexRadioDefault1">
STATO ed EVENTO
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="flexRadioDefault" id="flexRadioDefault2" @bind="@OrderByEvSt">
<label class="form-check-label" for="flexRadioDefault2">
EVENTO e STATO
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" name="flexRadioDefault" id="flexRadioDefault3" @bind="@OrderByEvNxSt">
<label class="form-check-label" for="flexRadioDefault3">
EVENTO e NEXT STATE
</label>
</div>
</div>
</div>
</div>
</div>
<FilesList PagerResetReq="pgResetReq" updateRecordCount="UpdateTotCount" currFilter="@currFilter" hasBit="false" calcItSelf="@CalcItself" calcEmptyState="@CalcEmptyState" succFiles="@resetSucc" orderType="@OrderType"></FilesList>
</div>
<div class="w-100 shadow-lg p-3 bg-body rounded mb-2">
<DataPager @ref="pagerSMIn2Ev" PageSize="@numRecord" currPage="@currPage" numRecordChanged="@ForceReload" numPageChanged="@ForceReloadPage" totalCount="@totalCount" />
</div>