// public AsrsControl.View.AsrsBatchSettingControl AsrsBatchSettingCtl { get { return asrsBatchSettingCtl; } } public AsrsCtlView(string captionText) : base(captionText) { InitializeComponent(); this.Text = captionText; // presenter = new AsrsCtlPresenter(this); this.ctlTaskView = new CtlTaskView("控制任务"); portBufView = new PortBufferView("入库口缓存信息"); this.gsStaView = new GsStatisticsView("出入库统计"); }
// public AsrsControl.View.AsrsBatchSettingControl AsrsBatchSettingCtl { get { return asrsBatchSettingCtl; } } public AsrsCtlView(string captionText) : base(captionText) { InitializeComponent(); this.Text = captionText; // presenter = new AsrsCtlPresenter(this); this.ctlTaskView = new CtlTaskView("控制任务"); portBufView = new PortBufferView("入库口缓存数据"); this.gsStaView = new GsStatisticsView("出入库统计"); this.childViewDic[this.ctlTaskView.Text] = this.ctlTaskView; this.childViewDic[this.portBufView.Text] = this.portBufView; this.childViewDic[this.gsStaView.Text] = this.gsStaView; //this.childViews.Add(this.ctlTaskView); // this.childViews.Add(portBufView); //this.childViews.Add(gsStaView); }