public override void InitializeComponent(string blongJob) { if (Form.IsDisposed) { Form = new FormSSZNAcquisitio(this); } base.InitializeComponent(blongJob); }
private HighSpeedDataCallBack _callback; //回调 public SSZNAcquisition() { Form = new FormSSZNAcquisitio(this); var outputImage = new ToolOutput("输出图片", this.Name) { Item = new HObject() }; Output.Add(outputImage); _heightData = new int[15000 * 6400]; for (var i = 0; i < _heightData.Length; i++) { _heightData[i] = -1000000; } _callback = ReceiveHighSpeedData; }