Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
206 views
in Technique[技术] by (71.8m points)

serialization - How to serialize the process

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...