Example #1
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }
            IMTelemetryEN t = obj as IMTelemetryEN;

            if (t == null)
            {
                return(false);
            }
            if (Id.Equals(t.Id))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
Example #2
0
 public IMTelemetryEN(IMTelemetryEN iMTelemetry)
 {
     this.init(Id, iMTelemetry.Telemetry, iMTelemetry.Name, iMTelemetry.OriginAssociation, iMTelemetry.TargetAssociation, iMTelemetry.Scenario, iMTelemetry.Description, iMTelemetry.Operations, iMTelemetry.Attributes, iMTelemetry.States);
 }