From 58531691b558d03fb931ff75cb92588aa5832e5d Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Wed, 8 Feb 2023 09:52:24 +0100 Subject: [PATCH] Update conf --- MP.SPEC/Recipe/Fimat/RecipeConf.json | 117 ++++++++++++++++++++++++- MP.SPEC/Recipe/Fimat/TemplateRows.json | 40 ++++++--- 2 files changed, 141 insertions(+), 16 deletions(-) diff --git a/MP.SPEC/Recipe/Fimat/RecipeConf.json b/MP.SPEC/Recipe/Fimat/RecipeConf.json index dea24c34..ed7ba862 100644 --- a/MP.SPEC/Recipe/Fimat/RecipeConf.json +++ b/MP.SPEC/Recipe/Fimat/RecipeConf.json @@ -1,5 +1,116 @@ { - "TemplateFile": "TemplateOutput.tpl", - "HeadConf": "TemplateHead.json", - "RowsConf": "TemplateRows.json" + "TemplateFile": "TemplateOutput.tpl", + "HeadConf": { + "FixedKeys": { + "CustDrumCode": "", + "Taglio-N": "1", + "Taglio-D": "4", + "ServiceType": "N", + "RecipeType": "C", + "ViscoName": "", + "ViscoValue": "0" + }, + "CalcKeys": { + "LotID": "PODL01", + "OrderCode": "PODL02", + "Article": "Art2PODL01", + "Info1": "Art2PODL02" + }, + "EditKeys": { + "Prio": "Enum:Priority", + "DrumType": "Enum:DrumType", + "Customer": "Tenditalia", + "Design": "DESIGN", + "Screen": "SCREEN", + "Variant": "VARIANT", + "RecName": "CODE000", + "Series": "Enum:Series", + "UM": "Enum:UM", + "DosType": "Enum:DosType", + "Note1": "", + "Note2": "", + "Sequence": "1", + "SequenceTot": "8", + "Quantity-kg": "1.00" + }, + "EnumVal": { + "Priority": { + "N": "Normal", + "H": "Hight" + }, + "DrumType": { + "1": "Small", + "2": "Medium", + "3": "Big" + }, + "Series": { + "1": "Series 1", + "2": "Series 2" + }, + "UM": { + "0": "Percentage", + "1": "g/kg", + "2": "parts for colour and g/kg for thickener", + "3": "gr and parts for thickener", + "4": "g/kg for colour and parts for thickener", + "5": "parts for colour and parts for thickener" + }, + "DosType": { + "P": "Production", + "S": "Sampling" + } + }, + "CalcVal": { + "PODL01": { + "Description": "Idx PODL", + "Type": "int", + "Format": "{0}" + }, + "PODL02": { + "Description": "Codice PODL", + "Type": "string", + "Format": "PODL{0:00000000}" + }, + "Art2PODL01": { + "Description": "Codice Articolo dato PODL", + "Type": "string", + "Format": "" + }, + "Art2PODL02": { + "Description": "Descrizione Articolo dato PODL", + "Type": "string", + "Format": "" + } + } + }, + "RowsConf": { + "FixedKeys": { + "Weight-gr-prev": "0.00" + }, + "CalcKeys": { + "CompNumber": "#" + }, + "EditKeys": { + "ColourCode": "C001", + "Description": "COLOR1", + "TypComp": "ColType", + "PartsWeight": "1.00", + "PartsPerc": "0.10", + "Weight-gr": "30.00" + }, + "EnumVal": { + "ColType": { + "C": "Color", + "A": "Thickener", + "X": "Auxiliaries" + } + }, + "CalcVal": { + "#": { + "Description": "Contatore", + "Type": "int", + "Format": "{0}" + } + } + } } \ No newline at end of file diff --git a/MP.SPEC/Recipe/Fimat/TemplateRows.json b/MP.SPEC/Recipe/Fimat/TemplateRows.json index bfb3539c..c758fd22 100644 --- a/MP.SPEC/Recipe/Fimat/TemplateRows.json +++ b/MP.SPEC/Recipe/Fimat/TemplateRows.json @@ -1,16 +1,30 @@ { - "FixedData": { - "TypComp": "C", - "Weight-gr-prev": "0.00" - }, - "CalcData": { - "CompNumber": "#" - }, - "EditData": { - "ColourCode": "C001", - "Description": "COLOR1", - "PartsWeight": "1.00", - "PartsPerc": "0.10", - "Weight-gr": "30.00" + "FixedKeys": { + "Weight-gr-prev": "0.00" + }, + "CalcKeys": { + "CompNumber": "#" + }, + "EditKeys": { + "ColourCode": "C001", + "Description": "COLOR1", + "TypComp": "ColType", + "PartsWeight": "1.00", + "PartsPerc": "0.10", + "Weight-gr": "30.00" + }, + "EnumVal": { + "ColType": { + "C": "Color", + "A": "Thickener", + "X": "Auxiliaries" } + }, + "CalcVal": { + "#": { + "Description": "Contatore", + "Type": "int", + "Format": "{0}" + } + } } \ No newline at end of file