public FmTaskLocate() { InitializeComponent(); MaximizeBox = false; MinimizeBox = false; rts = new RobotTaskService(); lblinfo.Text = "提示:定位会从指定的任务重新开始下发任务\r\n并且清空电控(倍速链,翻版,机器人)已缓存的任务数据! "; }
/// <summary> /// /// </summary> /// <param name="shpG7">PLC清空与暂停组</param> public FmTaskLocate(Group shpG7) { InitializeComponent(); MaximizeBox = false; MinimizeBox = false; rts = new RobotTaskService(); G7 = shpG7; lblinfo.Text = "提示:定位会从指定的任务重新开始下发任务\r\n并且清空电控(倍速链,翻版,机器人)已缓存的任务数据!\r\n可选择输入定位,即定位输入的内容。 "; }
public FmMain() { InitializeComponent(); this.StartPosition = FormStartPosition.CenterScreen; this.WindowState = FormWindowState.Maximized; CheckForIllegalCrossThreadCalls = false; plc = new Functions.OPC_ToPLC(); Text = "[" + GlobalPara.PackageNo + "号]包装机系统 版本" + System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); pbInfo_Click(null, null); robotService = new RobotTaskService(); CreateOpcClinet(); modbus = new Modbus(); }