diff --git a/MP-TAB-SERV/Components/FixOdl.razor b/MP-TAB-SERV/Components/FixOdl.razor new file mode 100644 index 00000000..8856ac12 --- /dev/null +++ b/MP-TAB-SERV/Components/FixOdl.razor @@ -0,0 +1,21 @@ + + +@if (forceOdl) +{ +
+
+

Riassegnazione ODL

+
+
+

Ultimi ODL lavorati:

+ ...tabella... +
+
+ cerca/selezione ODL (miei/tutti) +
+
+ +
+
+} + diff --git a/MP-TAB-SERV/Components/FixOdl.razor.cs b/MP-TAB-SERV/Components/FixOdl.razor.cs new file mode 100644 index 00000000..727da193 --- /dev/null +++ b/MP-TAB-SERV/Components/FixOdl.razor.cs @@ -0,0 +1,36 @@ +using Microsoft.AspNetCore.Components; +using MP.Data.DatabaseModels; + +namespace MP_TAB_SERV.Components +{ + public partial class FixOdl + { + #region Public Properties + + [Parameter] + public MappaStatoExpl? RecMSE { get; set; } = null; + + #endregion Public Properties + + #region Protected Properties + + protected string txtBtnFixOdl { get => forceOdl ? "Fix ODL" : "Nascondi Fix"; } + + #endregion Protected Properties + + #region Protected Methods + + protected void toggleFixOdl() + { + forceOdl = !forceOdl; + } + + #endregion Protected Methods + + #region Private Fields + + private bool forceOdl = false; + + #endregion Private Fields + } +} \ No newline at end of file diff --git a/MP-TAB-SERV/Components/OdlMan.razor b/MP-TAB-SERV/Components/OdlMan.razor index f701bc74..7c80034b 100644 --- a/MP-TAB-SERV/Components/OdlMan.razor +++ b/MP-TAB-SERV/Components/OdlMan.razor @@ -1,23 +1,23 @@  -
- -
- -
-
- @if (needConfProd) +
+
+ +
+ @if (needConfProd) + { +
+
@lblWarnHead
+
@lblWarnBody @numPz2Conf pz NC
+
+ @if (!odlOk) { -
-
@lblWarnHead
-
@lblWarnBody @numPz2Conf pz NC
+
+
- @if (!odlOk) - { -
- -
- } } + } +
+ Slave machine man