예제 #1
0
 public Wire AddCustomWire(Wire w, WireAttenuation wa)
 {
     this.rep.Insert(w);
     rep.Commit();
     wa.wire_id = w.id;
     this.wam.AddCustomWireAttenuation(wa);
     return(w);
 }
예제 #2
0
 public WireAttenuation AddCustomWireAttenuation(WireAttenuation wa)
 {
     this.rep.Insert(wa);
     rep.Commit();
     return(wa);
 }