Exemple #1
0
        public override void Run()
        {
            foreach (var step in _programSteps)
            {
                step.Execute();
            }

            USMTList list = USMTList.Instance();

            list.RemoveProgram(_computer.IPAddress);
        }
        public static USMTList Instance()
        {
            if (_instance == null)
            {
                lock (syncLock)
                {
                    if (_instance == null)
                    {
                        _instance = new USMTList();
                    }
                }
            }

            return(_instance);
        }