Beispiel #1
0
 public override bool Equals(object obj)
 {
     if (base.Equals(obj))
     {
         ACLineSegment y = (ACLineSegment)obj;
         return(y.R == this.R && y.X == this.X && y.X0 == this.X0 && y.R0 == this.R0 && y.G0ch == this.G0ch && y.B0ch == this.B0ch && y.Bch == this.Bch && y.Gch == this.Gch);
     }
     else
     {
         return(false);
     }
 }
Beispiel #2
0
 public override bool Equals(object obj)
 {
     if (base.Equals(obj))
     {
         ACLineSegment x = (ACLineSegment)obj;
         return((x.B0ch == this.B0ch) && (x.G0ch == this.G0ch) && (x.R == this.R) && (x.R0 == this.R0) && (x.X == this.X) && (x.X0 == this.X0) && (x.PerLengthImpedance == this.PerLengthImpedance));
     }
     else
     {
         return(false);
     }
 }
 public override bool Equals(object obj)
 {
     if (base.Equals(obj))
     {
         ACLineSegment x = (ACLineSegment)obj;
         return(x.cable == this.cable && x.r == this.r);
     }
     else
     {
         return(false);
     }
 }
 public override bool Equals(object obj)
 {
     if (base.Equals(obj))
     {
         ACLineSegment x = (ACLineSegment)obj;
         return(x.b0ch == this.b0ch && x.bch == this.bch && x.g0ch == this.g0ch && x.gch == this.gch &&
                x.r == this.r && x.r0 == this.r0 && x.x == this.x && x.x0 == this.x0 && x.perLengthImpedance == this.perLengthImpedance);
     }
     else
     {
         return(false);
     }
 }
Beispiel #5
0
 public override bool Equals(object obj)
 {
     if (base.Equals(obj))
     {
         ACLineSegment x = (ACLineSegment)obj;
         return((x.bch == this.bch) && (x.b0ch == this.b0ch) && (x.gch == this.gch) &&
                (x.g0ch == this.g0ch) && (x.r == this.r) && (x.r0 == this.r0) && (x.x == this.x) && (x.x0 == this.x0));
     }
     else
     {
         return(false);
     }
 }