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