Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="machine"></param>
        public static void RecoveryMachineState(BaseMachine machine)
        {
            machine.WorksheetNo =
                SerializeUtil.DeserializableObject <string>(WorksheetNoPath);

            machine.ProductionInfo = SerializeUtil.
                                     DeserializableObject <MachineProductionInfo>(ProductionInfoPath);
            if (machine.ProductionInfo != null)
            {
                machine.ProductionInfo.InitializeProductionInfo();
            }
        }