public static FiltedComponentTestResponse CreateNew(Component component) { return new FiltedComponentTestResponse(component); }
//生成板卡通过状态切换事件(在Running 状态下) protected void GenComponentStatusChangeEvent(Component component) { ComponentStatusEventArgs e = new ComponentStatusEventArgs(); e.Component = component; EventHandler temp = OnComponentStatusChange; if (temp != null) { temp(this, e); } }
private FiltedComponentTestResponse(Component component) { this.CommunicatinBoard = component.ParentComponentType.ParentBoard; this.Component = component; this.DtTime = DateTime.Now; }