- Migliorie varie per adeguamento strategia e funzioni necessarie

This commit is contained in:
andrea.villa
2024-05-13 09:47:42 +02:00
parent d45fc8e89b
commit 59bbf159e4
9 changed files with 161 additions and 36 deletions
+24 -15
View File
@@ -24,13 +24,13 @@ local function GetStrategies_Egalware( Proc)
---------------------------------------------------------------------
-- Feature : Cut
if true or ID.IsHeadCut( Proc) then -- TODO TOGLIERE IL true PER FORZARE IF!!! PROVVISORIO PER PROVARE STRATEGIE
if ID.IsHeadCut( Proc) then -- TODO TOGLIERE IL true PER FORZARE IF!!! PROVVISORIO PER PROVARE STRATEGIE
if Proc.Topology.Name == 'FEATURE' then
Strategy_Egalware = {
StrategyId = 'STR0001',
Parameters = {
{ Value = '15', Name = 'Step', Type = 'd'},
{ Value = 'false', Name = 'AntiSplint', Type = 'b'}
{ Name = 'Step', Value = '15', Type = 'd'},
{ Name = 'AntiSplint', Value = 'false', Type = 'b'}
}
}
table.insert( Strategies_Egalware, Strategy_Egalware)
@@ -57,6 +57,11 @@ local function GetStrategies_Egalware( Proc)
---------------------------------------------------------------------
-- Feature : Slot
elseif ID.IsSlot( Proc) then
if Proc.Topology.Name == 'Pocket-5-Blind' then
Strategy_Egalware = { StrategyId = 'STR0002'}
table.insert( Strategies_Egalware, Strategy_Egalware)
Strategy_Egalware = {}
end
---------------------------------------------------------------------
-- Feature : Front Slot
elseif ID.IsFrontSlot( Proc) then
@@ -96,6 +101,11 @@ local function GetStrategies_Egalware( Proc)
---------------------------------------------------------------------
-- Feature : Pocket
elseif ID.IsPocket( Proc) then
if Proc.Topology.Name == 'Pocket-5-Blind' then
Strategy_Egalware = { StrategyId = 'STR0002'}
table.insert( Strategies_Egalware, Strategy_Egalware)
Strategy_Egalware = {}
end
---------------------------------------------------------------------
-- Feature : Drilling
elseif ID.IsDrilling( Proc) then
@@ -203,18 +213,7 @@ local function GetStrategies_Essetre( Proc)
---------------------------------------------------------------------
-- Feature : Cut
if true or ID.IsHeadCut( Proc) then -- TODO TOGLIERE IL true PER FORZARE IF!!! PROVVISORIO PER PROVARE STRATEGIE
if Proc.Topology.Name == 'FEATURE' then
Strategy_Essetre = {
StrategyId = 'STR0001',
Parameters = {
{ Value = '15', Name = 'Step', Type = 'd'},
{ Value = 'false', Name = 'AntiSplint', Type = 'b'}
}
}
table.insert( Strategies_Essetre, Strategy_Essetre)
Strategy_Essetre = {}
end
if ID.IsHeadCut( Proc) then
---------------------------------------------------------------------
-- Feature : Cut
elseif ID.IsSplitCut( Proc) then
@@ -236,6 +235,11 @@ local function GetStrategies_Essetre( Proc)
---------------------------------------------------------------------
-- Feature : Slot
elseif ID.IsSlot( Proc) then
if Proc.Topology.Name == 'Pocket-5-Blind' then
Strategy_Essetre = { StrategyId = 'STR0002'}
table.insert( Strategies_Essetre, Strategy_Essetre)
Strategy_Essetre = {}
end
---------------------------------------------------------------------
-- Feature : Front Slot
elseif ID.IsFrontSlot( Proc) then
@@ -275,6 +279,11 @@ local function GetStrategies_Essetre( Proc)
---------------------------------------------------------------------
-- Feature : Pocket
elseif ID.IsPocket( Proc) then
if Proc.Topology.Name == 'Pocket-5-Blind' then
Strategy_Essetre = { StrategyId = 'STR0002'}
table.insert( Strategies_Essetre, Strategy_Essetre)
Strategy_Essetre = {}
end
---------------------------------------------------------------------
-- Feature : Drilling
elseif ID.IsDrilling( Proc) then