import tkinter as tkfrom tkinter import messageboximport timeimport threadingclass FactorySimulation: def __init__(self, master): self.master = master self.master.title("협동형 로봇 작업 시뮬레이션") self.master.geometry("500x400") self.robot_count = tk.IntVar(value=2) self.workload = tk.IntVar(value=0) self.progress = {} # GUI 구성 tk.Label(master, t..