This is more a conceptional question, i work within automation where we often process a part throughout a machine.
Example below:
Product A goes through 3 stations on each station I will update so I know the product is processed correctly for that i have a int value representing an enum "Processed OK station 1" but this will be overwritten throughout the process line:
Station 1 - Product A can either be processed on Station 1.1 or Station 1.2
Station 2 - Product A can either be processed on Station 2.1 or Station 2.2 or Station 2.3
Station 3 - Product A can either be processed on Station 3.1 or Station 3.2
Above the is only 3 station in a real life scenario i could have 20 or more stations with 1 or more process place at the station. Is there a good way to structure the data so i can track exaclty how the product was treated through out the line ? Im thinking a bit similar to how the good old save games generated a unique code.
BR
question from:
https://stackoverflow.com/questions/65934540/how-to-serialize-the-process 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…