예제 #1
0
        public void startmodel(String filePath)
        {
            String file = null;

            try
            {
                file = System.IO.File.ReadAllText(filePath);
                AbstractModel model = (AbstractModel)AbstractStorable.newInstance(JObject.Parse(file));
                model.startRun();
            }
            catch (Exception e)
            {
                Console.WriteLine(e.Message);
            }
        }