ordinamenti vari

This commit is contained in:
zaccaria.majid
2023-08-09 15:13:19 +02:00
parent 542086ce93
commit 7f1c430ea3
9 changed files with 956 additions and 40 deletions
+7 -1
View File
@@ -1,4 +1,4 @@
namespace SMGen
namespace SMGen.Core
{
public class Enum
{
@@ -7,5 +7,11 @@
LIVELLO_INGRESSI = 1,
LIVELLO_TRANSIZIONI = 2
}
public enum ORDERTYPE
{
stateEvent = 1,
eventState = 2,
eventNextState = 3
}
}
}
+16
View File
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SMGen.Data.Data
{
public class CsvClass
{
public string IdxFamiglia { get; set; } = "";
public int state { get; set; } = 0;
public int event_to_send { get; set; } = 0;
public int next_state { get; set; } = 0;
}
}
+1 -1
View File
@@ -5,7 +5,7 @@
//public int id_state { get; set; } = 0;
public string state { get; set; } = "";
public string expression { get; set; } = "";
//public int id_next_state { get; set; } = 0;
public int id_next_state { get; set; } = 0;
public string next_state { get; set; } = "";
public string event_to_send { get; set; } = "";
public int id_event_to_send { get; set; } = 0;
+65 -18
View File
@@ -8,6 +8,7 @@ using SMGen.Data.Controllers;
using SMGen.Data.Data;
using SMGen.Data.DbModels;
using StackExchange.Redis;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Text;
@@ -563,7 +564,7 @@ namespace SMGen.Data.Services
/// <param name="currFile">Path file *.rul da processare</param>
/// <param name="saveToDb">Indica se salvare sul DB</param>
/// <returns></returns>
public async Task<FilesClass> EvalIn2StateRuleFile(FilesClass currFile, bool saveToDb, bool calcItself, bool calcEmptyState, bool orderByRules)
public async Task<FilesClass> EvalIn2StateRuleFile(FilesClass currFile, bool saveToDb, bool calcItself, bool calcEmptyState, Core.Enum.ORDERTYPE orderType)
{
await Task.Delay(1);
sz_state_machine_name = "";
@@ -644,7 +645,7 @@ namespace SMGen.Data.Services
{
var fileName = $"{currFile.origFileName.Split(".")[0]}.csv";
currFile.DLoadFileName = $"{Path.Combine(procRootDir, statiCsvPath, fileName)}";
currFile = await evalIn2State_transitions(currFile, calcItself, calcEmptyState, orderByRules);
currFile = await evalIn2State_transitions(currFile, calcItself, calcEmptyState, orderType);
}
break;
@@ -660,7 +661,7 @@ namespace SMGen.Data.Services
state = state,
event_to_send = event_to_send,
next_state = next_state,
//id_next_state = StatesAll[next_state],
id_next_state = StatesAll[next_state],
id_event_to_send = Events_to_send[event_to_send]
};
Rules.Add(temp_rule);
@@ -855,13 +856,18 @@ namespace SMGen.Data.Services
}
return currFile;
}
List<string> linesList = new List<string>();
List<CsvClass> csvLines = new List<CsvClass>();
/// <summary>
/// Valutazione schema macchina a stati x Ingressi --> stati
/// </summary>
/// <param name="currFile"></param>
/// <returns></returns>
protected async Task<FilesClass> evalIn2State_transitions(FilesClass currFile, bool calcItself, bool calcEmptyState, bool orderByRules)
protected async Task<FilesClass> evalIn2State_transitions(FilesClass currFile, bool calcItself, bool calcEmptyState, Core.Enum.ORDERTYPE orderType)
{
csvLines.Clear();
TranInList2add.Clear();
StringBuilder sb = new StringBuilder();
@@ -882,13 +888,25 @@ namespace SMGen.Data.Services
}
}
if (!orderByRules)
#if false
if (orderType == Core.Enum.ORDERTYPE.stateEvent)
{
Events_to_send = Events_to_send.OrderBy(x => x.Value).ToDictionary(x => x.Key, x => x.Value);
Rules = Rules.OrderBy(x => x.id_event_to_send).ThenBy(x => x.id_next_state).ToList();
}
else if (orderType == Core.Enum.ORDERTYPE.eventState)
{
Events_to_send = Events_to_send.OrderBy(x => x.Value).ToDictionary(x => x.Key, x => x.Value);
}
else if (orderType == Core.Enum.ORDERTYPE.eventNextState)
{
StatesAll2 = StatesAll2.OrderBy(x => x.Value).ToDictionary(x => x.Key, x => x.Value);
Events_to_send = Events_to_send.OrderBy(x => x.Value).ToDictionary(x => x.Key, x => x.Value);
Rules = Rules.OrderBy(x => x.id_event_to_send).ThenBy(x => x.id_next_state).ToList();
}
#endif
Rules = Rules.OrderBy(x => x.id_event_to_send).ToList();
}
Events_to_send = Events_to_send.OrderBy(x => x.Value).ToDictionary(x => x.Key, x => x.Value);
Rules = Rules.OrderBy(x => x.id_event_to_send).ToList();
@@ -922,15 +940,16 @@ namespace SMGen.Data.Services
if ((nextState == 0 && calcEmptyState) || (nextState > 0))
{
sz_line = $"{n_state_machine_index}" +
$";" +
$"{item.Value}" +
$";" +
$"{Events_to_send[act_rule.event_to_send]}" +
$";" +
$"{nextState}";
sb.AppendLine(sz_line);
//sb.AppendLine(sz_line);
var newLine = new CsvClass()
{
IdxFamiglia = n_state_machine_index,
state = item.Value,
event_to_send = Events_to_send[act_rule.event_to_send],
next_state = nextState
};
csvLines.Add(newLine);
#if false
var newTranIn = new TransizioneIngressiModelTemp()
{
IdxFamigliaIngresso = int.Parse(n_state_machine_index),
@@ -939,7 +958,8 @@ namespace SMGen.Data.Services
next_IdxMicroStato = nextState
};
TranInList2add.Add(newTranIn);
TranInList2add.Add(newTranIn);
#endif
}
}
exitFor = true;
@@ -949,6 +969,33 @@ namespace SMGen.Data.Services
}
//await SMGDService.AnagEventinInsert(events2Add);
if (orderType == Core.Enum.ORDERTYPE.stateEvent)
{
csvLines = csvLines.OrderBy(x => x.state).ThenBy(x => x.event_to_send).ToList();
}
else if (orderType == Core.Enum.ORDERTYPE.eventState)
{
csvLines = csvLines.OrderBy(x => x.event_to_send).ThenBy(x => x.state).ToList();
}
else if (orderType == Core.Enum.ORDERTYPE.eventNextState)
{
csvLines = csvLines.OrderBy(x => x.event_to_send).ThenBy(x => x.next_state).ToList();
}
foreach (var item in csvLines)
{
sz_line = $"{item.IdxFamiglia}" +
$";" +
$"{item.state}" +
$";" +
$"{item.event_to_send}" +
$";" +
$"{item.next_state}";
sb.AppendLine(sz_line);
}
using (StreamWriter sw = new StreamWriter(currFile.DLoadFileName))
{
+2 -2
View File
@@ -14,7 +14,7 @@ namespace SMGen.Components
public bool calcItSelf { get; set; } = false;
[Parameter]
public bool orderByRules { get; set; } = false;
public Core.Enum.ORDERTYPE orderType { get; set; } = Core.Enum.ORDERTYPE.stateEvent;
[Parameter]
public SelectSMIn2EvParams currFilter { get; set; } = null!;
@@ -93,7 +93,7 @@ namespace SMGen.Components
}
else
{
await SMGDService.EvalIn2StateRuleFile(item.Value, false, calcItSelf, calcEmptyState, orderByRules);
await SMGDService.EvalIn2StateRuleFile(item.Value, false, calcItSelf, calcEmptyState, orderType);
}
item.Value.calcRunning = false;
if (item.Value.isOk)
-11
View File
@@ -1,11 +0,0 @@
namespace SMGen
{
public class Enum
{
public enum LEVELS
{
LIVELLO_INGRESSI = 1,
LIVELLO_TRANSIZIONI = 2
}
}
}
+20 -6
View File
@@ -37,16 +37,30 @@
Stato zero
</label>
</div>
<div class="form-check px-2">
<input class="form-check-input" type="checkbox" value="" @bind="@OrderByRules" id="flexCheckDefault3">
<label class="form-check-label" for="flexCheckDefault3">
Ordina per regole
</label>
<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" orderByRules="@OrderByRules"></FilesList>
<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">
+49 -1
View File
@@ -53,7 +53,55 @@ namespace SMGen.Pages
protected bool CalcItself { get; set; } = false;
protected bool CalcEmptyState { get; set; } = true;
protected bool OrderByRules { get; set; } = false;
protected bool _OrderByEvNxSt = false;
protected bool OrderByEvNxSt
{
get => _OrderByEvNxSt;
set
{
_OrderByEvNxSt = value;
if (value)
{
OrderType = Core.Enum.ORDERTYPE.eventNextState;
OrderByStEv = false;
OrderByEvSt = false;
}
}
}
protected bool _OrderByStEv = true;
protected bool OrderByStEv
{
get => _OrderByStEv;
set
{
_OrderByStEv = value;
if (value)
{
OrderType = Core.Enum.ORDERTYPE.stateEvent;
OrderByEvNxSt = false;
OrderByEvSt = false;
}
}
}
protected bool _OrderByEvSt = false;
protected bool OrderByEvSt
{
get => _OrderByEvSt;
set
{
_OrderByEvSt = value;
if (value)
{
OrderType = Core.Enum.ORDERTYPE.eventState;
OrderByEvNxSt = false;
OrderByStEv = false;
}
}
}
protected Core.Enum.ORDERTYPE OrderType { get; set; } = Core.Enum.ORDERTYPE.stateEvent;
protected void ForceReload(int newNum)
{
@@ -0,0 +1,796 @@
IdxFamiglia;IdxStato;IdxTipo;next_IdxStato
12;13;0;0
12;2;0;0
12;3;0;0
12;4;0;0
12;5;0;0
12;6;0;0
12;7;0;0
12;8;0;0
12;9;0;0
12;10;0;0
12;11;0;0
12;30;0;0
12;27;0;0
12;31;0;0
12;32;0;0
12;33;0;0
12;34;0;0
12;35;0;0
12;49;0;0
12;50;0;0
12;12;0;0
12;14;0;0
12;15;0;0
12;24;0;0
12;23;0;0
12;25;0;0
12;26;0;0
12;28;0;0
12;29;0;0
12;0;1;13
12;2;1;13
12;3;1;13
12;4;1;13
12;5;1;13
12;6;1;13
12;7;1;13
12;8;1;13
12;9;1;13
12;10;1;13
12;11;1;13
12;30;1;13
12;27;1;13
12;31;1;13
12;32;1;13
12;33;1;13
12;34;1;13
12;35;1;13
12;49;1;13
12;50;1;13
12;12;1;13
12;14;1;13
12;15;1;13
12;24;1;13
12;23;1;13
12;25;1;13
12;26;1;13
12;28;1;13
12;29;1;13
12;0;2;2
12;13;2;2
12;3;2;2
12;4;2;2
12;5;2;2
12;6;2;2
12;7;2;2
12;8;2;2
12;9;2;2
12;10;2;2
12;11;2;2
12;30;2;2
12;27;2;2
12;31;2;2
12;32;2;2
12;33;2;2
12;34;2;2
12;35;2;2
12;49;2;2
12;50;2;2
12;12;2;2
12;14;2;2
12;15;2;2
12;24;2;2
12;23;2;2
12;25;2;2
12;26;2;2
12;28;2;2
12;29;2;2
12;0;3;3
12;13;3;3
12;2;3;3
12;4;3;3
12;5;3;3
12;6;3;3
12;7;3;3
12;8;3;3
12;9;3;3
12;10;3;3
12;11;3;3
12;30;3;3
12;27;3;3
12;31;3;3
12;32;3;3
12;33;3;3
12;34;3;3
12;35;3;3
12;49;3;3
12;50;3;3
12;12;3;3
12;14;3;3
12;15;3;3
12;24;3;3
12;23;3;3
12;25;3;3
12;26;3;3
12;28;3;3
12;29;3;3
12;0;4;4
12;13;4;4
12;2;4;4
12;3;4;4
12;5;4;4
12;6;4;4
12;7;4;4
12;8;4;4
12;9;4;4
12;10;4;4
12;11;4;4
12;30;4;4
12;27;4;4
12;31;4;4
12;32;4;4
12;33;4;4
12;34;4;4
12;35;4;4
12;49;4;4
12;50;4;4
12;12;4;4
12;14;4;4
12;15;4;4
12;24;4;4
12;23;4;4
12;25;4;4
12;26;4;4
12;28;4;4
12;29;4;4
12;0;5;5
12;13;5;5
12;2;5;5
12;3;5;5
12;4;5;5
12;6;5;5
12;7;5;5
12;8;5;5
12;9;5;5
12;10;5;5
12;11;5;5
12;30;5;5
12;27;5;5
12;31;5;5
12;32;5;5
12;33;5;5
12;34;5;5
12;35;5;5
12;49;5;5
12;50;5;5
12;12;5;5
12;14;5;5
12;15;5;5
12;24;5;5
12;23;5;5
12;25;5;5
12;26;5;5
12;28;5;5
12;29;5;5
12;0;6;6
12;13;6;6
12;2;6;6
12;3;6;6
12;4;6;6
12;5;6;6
12;7;6;6
12;8;6;6
12;9;6;6
12;10;6;6
12;11;6;6
12;30;6;6
12;27;6;6
12;31;6;6
12;32;6;6
12;33;6;6
12;34;6;6
12;35;6;6
12;49;6;6
12;50;6;6
12;12;6;6
12;14;6;6
12;15;6;6
12;24;6;6
12;23;6;6
12;25;6;6
12;26;6;6
12;28;6;6
12;29;6;6
12;0;7;7
12;13;7;7
12;2;7;7
12;3;7;7
12;4;7;7
12;5;7;7
12;6;7;7
12;8;7;7
12;9;7;7
12;10;7;7
12;11;7;7
12;30;7;7
12;27;7;7
12;31;7;7
12;32;7;7
12;33;7;7
12;34;7;7
12;35;7;7
12;49;7;7
12;50;7;7
12;12;7;7
12;14;7;7
12;15;7;7
12;24;7;7
12;23;7;7
12;25;7;7
12;26;7;7
12;28;7;7
12;29;7;7
12;0;8;8
12;13;8;8
12;2;8;8
12;3;8;8
12;4;8;8
12;5;8;8
12;6;8;8
12;7;8;8
12;9;8;8
12;10;8;8
12;11;8;8
12;30;8;8
12;27;8;8
12;31;8;8
12;32;8;8
12;33;8;8
12;34;8;8
12;35;8;8
12;49;8;8
12;50;8;8
12;12;8;8
12;14;8;8
12;15;8;8
12;24;8;8
12;23;8;8
12;25;8;8
12;26;8;8
12;28;8;8
12;29;8;8
12;0;9;9
12;13;9;9
12;2;9;9
12;3;9;9
12;4;9;9
12;5;9;9
12;6;9;9
12;7;9;9
12;8;9;9
12;10;9;9
12;11;9;9
12;30;9;9
12;27;9;9
12;31;9;9
12;32;9;9
12;33;9;9
12;34;9;9
12;35;9;9
12;49;9;9
12;50;9;9
12;12;9;9
12;14;9;9
12;15;9;9
12;24;9;9
12;23;9;9
12;25;9;9
12;26;9;9
12;28;9;9
12;29;9;9
12;0;10;10
12;13;10;10
12;2;10;10
12;3;10;10
12;4;10;10
12;5;10;10
12;6;10;10
12;7;10;10
12;8;10;10
12;9;10;10
12;11;10;10
12;30;10;10
12;27;10;10
12;31;10;10
12;32;10;10
12;33;10;10
12;34;10;10
12;35;10;10
12;49;10;10
12;50;10;10
12;12;10;10
12;14;10;10
12;15;10;10
12;24;10;10
12;23;10;10
12;25;10;10
12;26;10;10
12;28;10;10
12;29;10;10
12;0;12;11
12;13;12;11
12;2;12;11
12;3;12;11
12;4;12;11
12;5;12;11
12;6;12;11
12;7;12;11
12;8;12;11
12;9;12;11
12;10;12;11
12;30;12;11
12;27;12;11
12;31;12;11
12;32;12;11
12;33;12;11
12;34;12;11
12;35;12;11
12;49;12;11
12;50;12;11
12;12;12;11
12;14;12;11
12;15;12;11
12;24;12;11
12;23;12;11
12;25;12;11
12;26;12;11
12;28;12;11
12;29;12;11
12;0;14;11
12;13;14;11
12;2;14;11
12;3;14;11
12;4;14;11
12;5;14;11
12;6;14;11
12;7;14;11
12;8;14;11
12;9;14;11
12;10;14;11
12;30;14;11
12;27;14;11
12;31;14;11
12;32;14;11
12;33;14;11
12;34;14;11
12;35;14;11
12;49;14;11
12;50;14;11
12;12;14;11
12;14;14;11
12;15;14;11
12;24;14;11
12;23;14;11
12;25;14;11
12;26;14;11
12;28;14;11
12;29;14;11
12;13;15;12
12;11;15;12
12;34;15;12
12;14;15;12
12;15;15;12
12;24;15;12
12;23;15;12
12;26;15;12
12;11;16;13
12;34;16;13
12;12;16;13
12;14;16;13
12;15;16;13
12;24;16;13
12;23;16;13
12;25;16;13
12;26;16;13
12;28;16;13
12;29;16;13
12;11;17;14
12;23;17;14
12;25;17;14
12;26;17;14
12;13;18;15
12;11;18;15
12;12;18;15
12;14;18;15
12;24;18;15
12;23;18;15
12;25;18;15
12;26;18;15
12;0;19;30
12;13;19;30
12;2;19;30
12;3;19;30
12;4;19;30
12;5;19;30
12;6;19;30
12;7;19;30
12;8;19;30
12;9;19;30
12;10;19;30
12;11;19;30
12;27;19;30
12;31;19;30
12;32;19;30
12;33;19;30
12;34;19;30
12;35;19;30
12;49;19;30
12;50;19;30
12;12;19;30
12;14;19;30
12;15;19;30
12;24;19;30
12;23;19;30
12;25;19;30
12;26;19;30
12;28;19;30
12;29;19;30
12;11;20;14
12;23;20;14
12;25;20;14
12;26;20;14
12;11;21;13
12;12;21;13
12;14;21;13
12;15;21;13
12;24;21;13
12;23;21;13
12;25;21;13
12;26;21;13
12;11;22;14
12;23;22;14
12;25;22;14
12;26;22;14
12;13;23;23
12;11;23;23
12;12;23;23
12;14;23;23
12;15;23;23
12;24;23;23
12;25;23;23
12;26;23;23
12;13;24;24
12;11;24;24
12;34;24;24
12;12;24;24
12;14;24;24
12;15;24;24
12;23;24;24
12;25;24;24
12;26;24;24
12;29;24;24
12;13;25;25
12;11;25;25
12;12;25;25
12;14;25;25
12;15;25;25
12;24;25;25
12;23;25;25
12;26;25;25
12;0;26;27
12;13;26;27
12;2;26;27
12;3;26;27
12;4;26;27
12;5;26;27
12;6;26;27
12;7;26;27
12;8;26;27
12;9;26;27
12;10;26;27
12;11;26;27
12;30;26;27
12;31;26;27
12;32;26;27
12;33;26;27
12;34;26;27
12;35;26;27
12;49;26;27
12;50;26;27
12;12;26;27
12;14;26;27
12;15;26;27
12;24;26;27
12;23;26;27
12;25;26;27
12;26;26;27
12;28;26;27
12;29;26;27
12;13;27;12
12;13;28;26
12;2;28;26
12;3;28;26
12;4;28;26
12;5;28;26
12;6;28;26
12;7;28;26
12;8;28;26
12;9;28;26
12;10;28;26
12;27;28;26
12;31;28;26
12;32;28;26
12;33;28;26
12;34;28;26
12;35;28;26
12;49;28;26
12;50;28;26
12;12;28;26
12;14;28;26
12;15;28;26
12;24;28;26
12;23;28;26
12;25;28;26
12;13;29;28
12;11;29;28
12;12;29;28
12;14;29;28
12;15;29;28
12;24;29;28
12;23;29;28
12;25;29;28
12;26;29;28
12;13;30;29
12;11;30;29
12;12;30;29
12;14;30;29
12;15;30;29
12;24;30;29
12;23;30;29
12;25;30;29
12;26;30;29
12;0;31;31
12;13;31;31
12;2;31;31
12;3;31;31
12;4;31;31
12;5;31;31
12;6;31;31
12;7;31;31
12;8;31;31
12;9;31;31
12;10;31;31
12;11;31;31
12;30;31;31
12;27;31;31
12;32;31;31
12;33;31;31
12;34;31;31
12;35;31;31
12;49;31;31
12;50;31;31
12;12;31;31
12;14;31;31
12;15;31;31
12;24;31;31
12;23;31;31
12;25;31;31
12;26;31;31
12;28;31;31
12;29;31;31
12;0;32;32
12;13;32;32
12;2;32;32
12;3;32;32
12;4;32;32
12;5;32;32
12;6;32;32
12;7;32;32
12;8;32;32
12;9;32;32
12;10;32;32
12;11;32;32
12;30;32;32
12;27;32;32
12;31;32;32
12;33;32;32
12;34;32;32
12;35;32;32
12;49;32;32
12;50;32;32
12;12;32;32
12;14;32;32
12;15;32;32
12;24;32;32
12;23;32;32
12;25;32;32
12;26;32;32
12;28;32;32
12;29;32;32
12;13;33;15
12;11;33;15
12;12;33;15
12;14;33;15
12;24;33;15
12;23;33;15
12;25;33;15
12;26;33;15
12;11;36;14
12;23;36;14
12;25;36;14
12;26;36;14
12;0;37;33
12;13;37;33
12;2;37;33
12;3;37;33
12;4;37;33
12;5;37;33
12;6;37;33
12;7;37;33
12;8;37;33
12;9;37;33
12;10;37;33
12;11;37;33
12;30;37;33
12;27;37;33
12;31;37;33
12;32;37;33
12;34;37;33
12;35;37;33
12;49;37;33
12;50;37;33
12;12;37;33
12;14;37;33
12;15;37;33
12;24;37;33
12;23;37;33
12;25;37;33
12;26;37;33
12;28;37;33
12;29;37;33
12;0;38;34
12;13;38;34
12;2;38;34
12;3;38;34
12;4;38;34
12;5;38;34
12;6;38;34
12;7;38;34
12;8;38;34
12;9;38;34
12;10;38;34
12;11;38;34
12;30;38;34
12;27;38;34
12;31;38;34
12;32;38;34
12;33;38;34
12;35;38;34
12;49;38;34
12;50;38;34
12;12;38;34
12;14;38;34
12;15;38;34
12;24;38;34
12;23;38;34
12;25;38;34
12;26;38;34
12;28;38;34
12;29;38;34
12;0;39;35
12;13;39;35
12;2;39;35
12;3;39;35
12;4;39;35
12;5;39;35
12;6;39;35
12;7;39;35
12;8;39;35
12;9;39;35
12;10;39;35
12;11;39;35
12;30;39;35
12;27;39;35
12;31;39;35
12;32;39;35
12;33;39;35
12;34;39;35
12;49;39;35
12;50;39;35
12;12;39;35
12;14;39;35
12;15;39;35
12;24;39;35
12;23;39;35
12;25;39;35
12;26;39;35
12;28;39;35
12;29;39;35
12;0;40;34
12;13;40;34
12;2;40;34
12;3;40;34
12;4;40;34
12;5;40;34
12;6;40;34
12;7;40;34
12;8;40;34
12;9;40;34
12;10;40;34
12;11;40;34
12;30;40;34
12;27;40;34
12;31;40;34
12;32;40;34
12;33;40;34
12;35;40;34
12;49;40;34
12;50;40;34
12;12;40;34
12;14;40;34
12;15;40;34
12;24;40;34
12;23;40;34
12;25;40;34
12;26;40;34
12;28;40;34
12;29;40;34
12;0;49;49
12;13;49;49
12;2;49;49
12;3;49;49
12;4;49;49
12;5;49;49
12;6;49;49
12;7;49;49
12;8;49;49
12;9;49;49
12;10;49;49
12;11;49;49
12;30;49;49
12;27;49;49
12;31;49;49
12;32;49;49
12;33;49;49
12;34;49;49
12;35;49;49
12;50;49;49
12;12;49;49
12;14;49;49
12;15;49;49
12;24;49;49
12;23;49;49
12;25;49;49
12;26;49;49
12;28;49;49
12;29;49;49
12;0;50;50
12;13;50;50
12;2;50;50
12;3;50;50
12;4;50;50
12;5;50;50
12;6;50;50
12;7;50;50
12;8;50;50
12;9;50;50
12;10;50;50
12;11;50;50
12;30;50;50
12;27;50;50
12;31;50;50
12;32;50;50
12;33;50;50
12;34;50;50
12;35;50;50
12;49;50;50
12;12;50;50
12;14;50;50
12;15;50;50
12;24;50;50
12;23;50;50
12;25;50;50
12;26;50;50
12;28;50;50
12;29;50;50
1 IdxFamiglia IdxStato IdxTipo next_IdxStato
2 12 13 0 0
3 12 2 0 0
4 12 3 0 0
5 12 4 0 0
6 12 5 0 0
7 12 6 0 0
8 12 7 0 0
9 12 8 0 0
10 12 9 0 0
11 12 10 0 0
12 12 11 0 0
13 12 30 0 0
14 12 27 0 0
15 12 31 0 0
16 12 32 0 0
17 12 33 0 0
18 12 34 0 0
19 12 35 0 0
20 12 49 0 0
21 12 50 0 0
22 12 12 0 0
23 12 14 0 0
24 12 15 0 0
25 12 24 0 0
26 12 23 0 0
27 12 25 0 0
28 12 26 0 0
29 12 28 0 0
30 12 29 0 0
31 12 0 1 13
32 12 2 1 13
33 12 3 1 13
34 12 4 1 13
35 12 5 1 13
36 12 6 1 13
37 12 7 1 13
38 12 8 1 13
39 12 9 1 13
40 12 10 1 13
41 12 11 1 13
42 12 30 1 13
43 12 27 1 13
44 12 31 1 13
45 12 32 1 13
46 12 33 1 13
47 12 34 1 13
48 12 35 1 13
49 12 49 1 13
50 12 50 1 13
51 12 12 1 13
52 12 14 1 13
53 12 15 1 13
54 12 24 1 13
55 12 23 1 13
56 12 25 1 13
57 12 26 1 13
58 12 28 1 13
59 12 29 1 13
60 12 0 2 2
61 12 13 2 2
62 12 3 2 2
63 12 4 2 2
64 12 5 2 2
65 12 6 2 2
66 12 7 2 2
67 12 8 2 2
68 12 9 2 2
69 12 10 2 2
70 12 11 2 2
71 12 30 2 2
72 12 27 2 2
73 12 31 2 2
74 12 32 2 2
75 12 33 2 2
76 12 34 2 2
77 12 35 2 2
78 12 49 2 2
79 12 50 2 2
80 12 12 2 2
81 12 14 2 2
82 12 15 2 2
83 12 24 2 2
84 12 23 2 2
85 12 25 2 2
86 12 26 2 2
87 12 28 2 2
88 12 29 2 2
89 12 0 3 3
90 12 13 3 3
91 12 2 3 3
92 12 4 3 3
93 12 5 3 3
94 12 6 3 3
95 12 7 3 3
96 12 8 3 3
97 12 9 3 3
98 12 10 3 3
99 12 11 3 3
100 12 30 3 3
101 12 27 3 3
102 12 31 3 3
103 12 32 3 3
104 12 33 3 3
105 12 34 3 3
106 12 35 3 3
107 12 49 3 3
108 12 50 3 3
109 12 12 3 3
110 12 14 3 3
111 12 15 3 3
112 12 24 3 3
113 12 23 3 3
114 12 25 3 3
115 12 26 3 3
116 12 28 3 3
117 12 29 3 3
118 12 0 4 4
119 12 13 4 4
120 12 2 4 4
121 12 3 4 4
122 12 5 4 4
123 12 6 4 4
124 12 7 4 4
125 12 8 4 4
126 12 9 4 4
127 12 10 4 4
128 12 11 4 4
129 12 30 4 4
130 12 27 4 4
131 12 31 4 4
132 12 32 4 4
133 12 33 4 4
134 12 34 4 4
135 12 35 4 4
136 12 49 4 4
137 12 50 4 4
138 12 12 4 4
139 12 14 4 4
140 12 15 4 4
141 12 24 4 4
142 12 23 4 4
143 12 25 4 4
144 12 26 4 4
145 12 28 4 4
146 12 29 4 4
147 12 0 5 5
148 12 13 5 5
149 12 2 5 5
150 12 3 5 5
151 12 4 5 5
152 12 6 5 5
153 12 7 5 5
154 12 8 5 5
155 12 9 5 5
156 12 10 5 5
157 12 11 5 5
158 12 30 5 5
159 12 27 5 5
160 12 31 5 5
161 12 32 5 5
162 12 33 5 5
163 12 34 5 5
164 12 35 5 5
165 12 49 5 5
166 12 50 5 5
167 12 12 5 5
168 12 14 5 5
169 12 15 5 5
170 12 24 5 5
171 12 23 5 5
172 12 25 5 5
173 12 26 5 5
174 12 28 5 5
175 12 29 5 5
176 12 0 6 6
177 12 13 6 6
178 12 2 6 6
179 12 3 6 6
180 12 4 6 6
181 12 5 6 6
182 12 7 6 6
183 12 8 6 6
184 12 9 6 6
185 12 10 6 6
186 12 11 6 6
187 12 30 6 6
188 12 27 6 6
189 12 31 6 6
190 12 32 6 6
191 12 33 6 6
192 12 34 6 6
193 12 35 6 6
194 12 49 6 6
195 12 50 6 6
196 12 12 6 6
197 12 14 6 6
198 12 15 6 6
199 12 24 6 6
200 12 23 6 6
201 12 25 6 6
202 12 26 6 6
203 12 28 6 6
204 12 29 6 6
205 12 0 7 7
206 12 13 7 7
207 12 2 7 7
208 12 3 7 7
209 12 4 7 7
210 12 5 7 7
211 12 6 7 7
212 12 8 7 7
213 12 9 7 7
214 12 10 7 7
215 12 11 7 7
216 12 30 7 7
217 12 27 7 7
218 12 31 7 7
219 12 32 7 7
220 12 33 7 7
221 12 34 7 7
222 12 35 7 7
223 12 49 7 7
224 12 50 7 7
225 12 12 7 7
226 12 14 7 7
227 12 15 7 7
228 12 24 7 7
229 12 23 7 7
230 12 25 7 7
231 12 26 7 7
232 12 28 7 7
233 12 29 7 7
234 12 0 8 8
235 12 13 8 8
236 12 2 8 8
237 12 3 8 8
238 12 4 8 8
239 12 5 8 8
240 12 6 8 8
241 12 7 8 8
242 12 9 8 8
243 12 10 8 8
244 12 11 8 8
245 12 30 8 8
246 12 27 8 8
247 12 31 8 8
248 12 32 8 8
249 12 33 8 8
250 12 34 8 8
251 12 35 8 8
252 12 49 8 8
253 12 50 8 8
254 12 12 8 8
255 12 14 8 8
256 12 15 8 8
257 12 24 8 8
258 12 23 8 8
259 12 25 8 8
260 12 26 8 8
261 12 28 8 8
262 12 29 8 8
263 12 0 9 9
264 12 13 9 9
265 12 2 9 9
266 12 3 9 9
267 12 4 9 9
268 12 5 9 9
269 12 6 9 9
270 12 7 9 9
271 12 8 9 9
272 12 10 9 9
273 12 11 9 9
274 12 30 9 9
275 12 27 9 9
276 12 31 9 9
277 12 32 9 9
278 12 33 9 9
279 12 34 9 9
280 12 35 9 9
281 12 49 9 9
282 12 50 9 9
283 12 12 9 9
284 12 14 9 9
285 12 15 9 9
286 12 24 9 9
287 12 23 9 9
288 12 25 9 9
289 12 26 9 9
290 12 28 9 9
291 12 29 9 9
292 12 0 10 10
293 12 13 10 10
294 12 2 10 10
295 12 3 10 10
296 12 4 10 10
297 12 5 10 10
298 12 6 10 10
299 12 7 10 10
300 12 8 10 10
301 12 9 10 10
302 12 11 10 10
303 12 30 10 10
304 12 27 10 10
305 12 31 10 10
306 12 32 10 10
307 12 33 10 10
308 12 34 10 10
309 12 35 10 10
310 12 49 10 10
311 12 50 10 10
312 12 12 10 10
313 12 14 10 10
314 12 15 10 10
315 12 24 10 10
316 12 23 10 10
317 12 25 10 10
318 12 26 10 10
319 12 28 10 10
320 12 29 10 10
321 12 0 12 11
322 12 13 12 11
323 12 2 12 11
324 12 3 12 11
325 12 4 12 11
326 12 5 12 11
327 12 6 12 11
328 12 7 12 11
329 12 8 12 11
330 12 9 12 11
331 12 10 12 11
332 12 30 12 11
333 12 27 12 11
334 12 31 12 11
335 12 32 12 11
336 12 33 12 11
337 12 34 12 11
338 12 35 12 11
339 12 49 12 11
340 12 50 12 11
341 12 12 12 11
342 12 14 12 11
343 12 15 12 11
344 12 24 12 11
345 12 23 12 11
346 12 25 12 11
347 12 26 12 11
348 12 28 12 11
349 12 29 12 11
350 12 0 14 11
351 12 13 14 11
352 12 2 14 11
353 12 3 14 11
354 12 4 14 11
355 12 5 14 11
356 12 6 14 11
357 12 7 14 11
358 12 8 14 11
359 12 9 14 11
360 12 10 14 11
361 12 30 14 11
362 12 27 14 11
363 12 31 14 11
364 12 32 14 11
365 12 33 14 11
366 12 34 14 11
367 12 35 14 11
368 12 49 14 11
369 12 50 14 11
370 12 12 14 11
371 12 14 14 11
372 12 15 14 11
373 12 24 14 11
374 12 23 14 11
375 12 25 14 11
376 12 26 14 11
377 12 28 14 11
378 12 29 14 11
379 12 13 15 12
380 12 11 15 12
381 12 34 15 12
382 12 14 15 12
383 12 15 15 12
384 12 24 15 12
385 12 23 15 12
386 12 26 15 12
387 12 11 16 13
388 12 34 16 13
389 12 12 16 13
390 12 14 16 13
391 12 15 16 13
392 12 24 16 13
393 12 23 16 13
394 12 25 16 13
395 12 26 16 13
396 12 28 16 13
397 12 29 16 13
398 12 11 17 14
399 12 23 17 14
400 12 25 17 14
401 12 26 17 14
402 12 13 18 15
403 12 11 18 15
404 12 12 18 15
405 12 14 18 15
406 12 24 18 15
407 12 23 18 15
408 12 25 18 15
409 12 26 18 15
410 12 0 19 30
411 12 13 19 30
412 12 2 19 30
413 12 3 19 30
414 12 4 19 30
415 12 5 19 30
416 12 6 19 30
417 12 7 19 30
418 12 8 19 30
419 12 9 19 30
420 12 10 19 30
421 12 11 19 30
422 12 27 19 30
423 12 31 19 30
424 12 32 19 30
425 12 33 19 30
426 12 34 19 30
427 12 35 19 30
428 12 49 19 30
429 12 50 19 30
430 12 12 19 30
431 12 14 19 30
432 12 15 19 30
433 12 24 19 30
434 12 23 19 30
435 12 25 19 30
436 12 26 19 30
437 12 28 19 30
438 12 29 19 30
439 12 11 20 14
440 12 23 20 14
441 12 25 20 14
442 12 26 20 14
443 12 11 21 13
444 12 12 21 13
445 12 14 21 13
446 12 15 21 13
447 12 24 21 13
448 12 23 21 13
449 12 25 21 13
450 12 26 21 13
451 12 11 22 14
452 12 23 22 14
453 12 25 22 14
454 12 26 22 14
455 12 13 23 23
456 12 11 23 23
457 12 12 23 23
458 12 14 23 23
459 12 15 23 23
460 12 24 23 23
461 12 25 23 23
462 12 26 23 23
463 12 13 24 24
464 12 11 24 24
465 12 34 24 24
466 12 12 24 24
467 12 14 24 24
468 12 15 24 24
469 12 23 24 24
470 12 25 24 24
471 12 26 24 24
472 12 29 24 24
473 12 13 25 25
474 12 11 25 25
475 12 12 25 25
476 12 14 25 25
477 12 15 25 25
478 12 24 25 25
479 12 23 25 25
480 12 26 25 25
481 12 0 26 27
482 12 13 26 27
483 12 2 26 27
484 12 3 26 27
485 12 4 26 27
486 12 5 26 27
487 12 6 26 27
488 12 7 26 27
489 12 8 26 27
490 12 9 26 27
491 12 10 26 27
492 12 11 26 27
493 12 30 26 27
494 12 31 26 27
495 12 32 26 27
496 12 33 26 27
497 12 34 26 27
498 12 35 26 27
499 12 49 26 27
500 12 50 26 27
501 12 12 26 27
502 12 14 26 27
503 12 15 26 27
504 12 24 26 27
505 12 23 26 27
506 12 25 26 27
507 12 26 26 27
508 12 28 26 27
509 12 29 26 27
510 12 13 27 12
511 12 13 28 26
512 12 2 28 26
513 12 3 28 26
514 12 4 28 26
515 12 5 28 26
516 12 6 28 26
517 12 7 28 26
518 12 8 28 26
519 12 9 28 26
520 12 10 28 26
521 12 27 28 26
522 12 31 28 26
523 12 32 28 26
524 12 33 28 26
525 12 34 28 26
526 12 35 28 26
527 12 49 28 26
528 12 50 28 26
529 12 12 28 26
530 12 14 28 26
531 12 15 28 26
532 12 24 28 26
533 12 23 28 26
534 12 25 28 26
535 12 13 29 28
536 12 11 29 28
537 12 12 29 28
538 12 14 29 28
539 12 15 29 28
540 12 24 29 28
541 12 23 29 28
542 12 25 29 28
543 12 26 29 28
544 12 13 30 29
545 12 11 30 29
546 12 12 30 29
547 12 14 30 29
548 12 15 30 29
549 12 24 30 29
550 12 23 30 29
551 12 25 30 29
552 12 26 30 29
553 12 0 31 31
554 12 13 31 31
555 12 2 31 31
556 12 3 31 31
557 12 4 31 31
558 12 5 31 31
559 12 6 31 31
560 12 7 31 31
561 12 8 31 31
562 12 9 31 31
563 12 10 31 31
564 12 11 31 31
565 12 30 31 31
566 12 27 31 31
567 12 32 31 31
568 12 33 31 31
569 12 34 31 31
570 12 35 31 31
571 12 49 31 31
572 12 50 31 31
573 12 12 31 31
574 12 14 31 31
575 12 15 31 31
576 12 24 31 31
577 12 23 31 31
578 12 25 31 31
579 12 26 31 31
580 12 28 31 31
581 12 29 31 31
582 12 0 32 32
583 12 13 32 32
584 12 2 32 32
585 12 3 32 32
586 12 4 32 32
587 12 5 32 32
588 12 6 32 32
589 12 7 32 32
590 12 8 32 32
591 12 9 32 32
592 12 10 32 32
593 12 11 32 32
594 12 30 32 32
595 12 27 32 32
596 12 31 32 32
597 12 33 32 32
598 12 34 32 32
599 12 35 32 32
600 12 49 32 32
601 12 50 32 32
602 12 12 32 32
603 12 14 32 32
604 12 15 32 32
605 12 24 32 32
606 12 23 32 32
607 12 25 32 32
608 12 26 32 32
609 12 28 32 32
610 12 29 32 32
611 12 13 33 15
612 12 11 33 15
613 12 12 33 15
614 12 14 33 15
615 12 24 33 15
616 12 23 33 15
617 12 25 33 15
618 12 26 33 15
619 12 11 36 14
620 12 23 36 14
621 12 25 36 14
622 12 26 36 14
623 12 0 37 33
624 12 13 37 33
625 12 2 37 33
626 12 3 37 33
627 12 4 37 33
628 12 5 37 33
629 12 6 37 33
630 12 7 37 33
631 12 8 37 33
632 12 9 37 33
633 12 10 37 33
634 12 11 37 33
635 12 30 37 33
636 12 27 37 33
637 12 31 37 33
638 12 32 37 33
639 12 34 37 33
640 12 35 37 33
641 12 49 37 33
642 12 50 37 33
643 12 12 37 33
644 12 14 37 33
645 12 15 37 33
646 12 24 37 33
647 12 23 37 33
648 12 25 37 33
649 12 26 37 33
650 12 28 37 33
651 12 29 37 33
652 12 0 38 34
653 12 13 38 34
654 12 2 38 34
655 12 3 38 34
656 12 4 38 34
657 12 5 38 34
658 12 6 38 34
659 12 7 38 34
660 12 8 38 34
661 12 9 38 34
662 12 10 38 34
663 12 11 38 34
664 12 30 38 34
665 12 27 38 34
666 12 31 38 34
667 12 32 38 34
668 12 33 38 34
669 12 35 38 34
670 12 49 38 34
671 12 50 38 34
672 12 12 38 34
673 12 14 38 34
674 12 15 38 34
675 12 24 38 34
676 12 23 38 34
677 12 25 38 34
678 12 26 38 34
679 12 28 38 34
680 12 29 38 34
681 12 0 39 35
682 12 13 39 35
683 12 2 39 35
684 12 3 39 35
685 12 4 39 35
686 12 5 39 35
687 12 6 39 35
688 12 7 39 35
689 12 8 39 35
690 12 9 39 35
691 12 10 39 35
692 12 11 39 35
693 12 30 39 35
694 12 27 39 35
695 12 31 39 35
696 12 32 39 35
697 12 33 39 35
698 12 34 39 35
699 12 49 39 35
700 12 50 39 35
701 12 12 39 35
702 12 14 39 35
703 12 15 39 35
704 12 24 39 35
705 12 23 39 35
706 12 25 39 35
707 12 26 39 35
708 12 28 39 35
709 12 29 39 35
710 12 0 40 34
711 12 13 40 34
712 12 2 40 34
713 12 3 40 34
714 12 4 40 34
715 12 5 40 34
716 12 6 40 34
717 12 7 40 34
718 12 8 40 34
719 12 9 40 34
720 12 10 40 34
721 12 11 40 34
722 12 30 40 34
723 12 27 40 34
724 12 31 40 34
725 12 32 40 34
726 12 33 40 34
727 12 35 40 34
728 12 49 40 34
729 12 50 40 34
730 12 12 40 34
731 12 14 40 34
732 12 15 40 34
733 12 24 40 34
734 12 23 40 34
735 12 25 40 34
736 12 26 40 34
737 12 28 40 34
738 12 29 40 34
739 12 0 49 49
740 12 13 49 49
741 12 2 49 49
742 12 3 49 49
743 12 4 49 49
744 12 5 49 49
745 12 6 49 49
746 12 7 49 49
747 12 8 49 49
748 12 9 49 49
749 12 10 49 49
750 12 11 49 49
751 12 30 49 49
752 12 27 49 49
753 12 31 49 49
754 12 32 49 49
755 12 33 49 49
756 12 34 49 49
757 12 35 49 49
758 12 50 49 49
759 12 12 49 49
760 12 14 49 49
761 12 15 49 49
762 12 24 49 49
763 12 23 49 49
764 12 25 49 49
765 12 26 49 49
766 12 28 49 49
767 12 29 49 49
768 12 0 50 50
769 12 13 50 50
770 12 2 50 50
771 12 3 50 50
772 12 4 50 50
773 12 5 50 50
774 12 6 50 50
775 12 7 50 50
776 12 8 50 50
777 12 9 50 50
778 12 10 50 50
779 12 11 50 50
780 12 30 50 50
781 12 27 50 50
782 12 31 50 50
783 12 32 50 50
784 12 33 50 50
785 12 34 50 50
786 12 35 50 50
787 12 49 50 50
788 12 12 50 50
789 12 14 50 50
790 12 15 50 50
791 12 24 50 50
792 12 23 50 50
793 12 25 50 50
794 12 26 50 50
795 12 28 50 50
796 12 29 50 50