//流程器初始化 private void taskInitialize() { homeTask = new ActionTask(); itemHome = new ActionItem("Home", false, null, flowHome); homeTask.Add(itemHome); homeTask.Run(TaskRunType.Cycle, 15); }
private void L122M2X4Form_Load(object sender, EventArgs e) { parameterInitial(); setLanguage(language); actionTask = new ActionTask(TaskRunType.Cycle, 50); itemRepeatMove = new ActionItem("RepeatMove", false, this, flowRepeatMove); actionTask.Add(itemRepeatMove); isInitFinished = true; }