Пример #1
0
        public void Execute()
        {
            if (!Directory.Exists(TempAppDir))
            {
                Directory.CreateDirectory(TempAppDir);
            }
            if (!Directory.Exists(RobotCacheDir))
            {
                Directory.CreateDirectory(RobotCacheDir);
            }

            var robotFile = RobotFile.Download(serverUrl, robotId, RobotCacheDir);

            var interp = new WorkflowInterpreter(robotFile);

            interp.Start();
        }
Пример #2
0
 internal WorkflowInterpreter(RobotFile robotFile)
 {
     this.robotFile = robotFile;
 }