Merge commit '2939dfb09304c048e5441464713ab24544efb9cc'

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