Exemple #1
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.Loc == null))
     {
         ISPS locCasted = item.As <ISPS>();
         if ((locCasted != null))
         {
             this._parent.Loc = locCasted;
             return;
         }
     }
     if ((this._parent.OpCntRs == null))
     {
         IINC opCntRsCasted = item.As <IINC>();
         if ((opCntRsCasted != null))
         {
             this._parent.OpCntRs = opCntRsCasted;
             return;
         }
     }
     if ((this._parent.Auto == null))
     {
         ISPS autoCasted = item.As <ISPS>();
         if ((autoCasted != null))
         {
             this._parent.Auto = autoCasted;
             return;
         }
     }
 }
Exemple #2
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.GrAlm == null))
     {
         ISPS grAlmCasted = item.As <ISPS>();
         if ((grAlmCasted != null))
         {
             this._parent.GrAlm = grAlmCasted;
             return;
         }
     }
     if ((this._parent.GrWrn == null))
     {
         ISPS grWrnCasted = item.As <ISPS>();
         if ((grWrnCasted != null))
         {
             this._parent.GrWrn = grWrnCasted;
             return;
         }
     }
     if ((this._parent.AlmLstOv == null))
     {
         ISPS almLstOvCasted = item.As <ISPS>();
         if ((almLstOvCasted != null))
         {
             this._parent.AlmLstOv = almLstOvCasted;
             return;
         }
     }
 }
Exemple #3
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.Vol == null))
     {
         ISAV volCasted = item.As <ISAV>();
         if ((volCasted != null))
         {
             this._parent.Vol = volCasted;
             return;
         }
     }
     if ((this._parent.FuFail == null))
     {
         ISPS fuFailCasted = item.As <ISPS>();
         if ((fuFailCasted != null))
         {
             this._parent.FuFail = fuFailCasted;
             return;
         }
     }
     if ((this._parent.VRtg == null))
     {
         IASG vRtgCasted = item.As <IASG>();
         if ((vRtgCasted != null))
         {
             this._parent.VRtg = vRtgCasted;
             return;
         }
     }
 }
Exemple #4
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.TapChg == null))
     {
         IBSC tapChgCasted = item.As <IBSC>();
         if ((tapChgCasted != null))
         {
             this._parent.TapChg = tapChgCasted;
             return;
         }
     }
     if ((this._parent.BlkEF == null))
     {
         ISPS blkEFCasted = item.As <ISPS>();
         if ((blkEFCasted != null))
         {
             this._parent.BlkEF = blkEFCasted;
             return;
         }
     }
     if ((this._parent.BlkAOv == null))
     {
         ISPS blkAOvCasted = item.As <ISPS>();
         if ((blkAOvCasted != null))
         {
             this._parent.BlkAOv = blkAOvCasted;
             return;
         }
     }
     if ((this._parent.BlkVOv == null))
     {
         ISPS blkVOvCasted = item.As <ISPS>();
         if ((blkVOvCasted != null))
         {
             this._parent.BlkVOv = blkVOvCasted;
             return;
         }
     }
     if ((this._parent.LimAOv == null))
     {
         IASG limAOvCasted = item.As <IASG>();
         if ((limAOvCasted != null))
         {
             this._parent.LimAOv = limAOvCasted;
             return;
         }
     }
     if ((this._parent.LimVOv == null))
     {
         IASG limVOvCasted = item.As <IASG>();
         if ((limVOvCasted != null))
         {
             this._parent.LimVOv = limVOvCasted;
             return;
         }
     }
 }
Exemple #5
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.TmExc == null))
     {
         ISPS tmExcCasted = item.As <ISPS>();
         if ((tmExcCasted != null))
         {
             this._parent.TmExc = tmExcCasted;
             return;
         }
     }
     if ((this._parent.StrPOW == null))
     {
         ISPS strPOWCasted = item.As <ISPS>();
         if ((strPOWCasted != null))
         {
             this._parent.StrPOW = strPOWCasted;
             return;
         }
     }
     if ((this._parent.OpOpn == null))
     {
         IACT opOpnCasted = item.As <IACT>();
         if ((opOpnCasted != null))
         {
             this._parent.OpOpn = opOpnCasted;
             return;
         }
     }
     if ((this._parent.OpCls == null))
     {
         IACT opClsCasted = item.As <IACT>();
         if ((opClsCasted != null))
         {
             this._parent.OpCls = opClsCasted;
             return;
         }
     }
     if ((this._parent.MaxDlTmms == null))
     {
         IING maxDlTmmsCasted = item.As <IING>();
         if ((maxDlTmmsCasted != null))
         {
             this._parent.MaxDlTmms = maxDlTmmsCasted;
             return;
         }
     }
 }
Exemple #6
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.Loc == null))
     {
         ISPS locCasted = item.As <ISPS>();
         if ((locCasted != null))
         {
             this._parent.Loc = locCasted;
             return;
         }
     }
     if ((this._parent.OpTmh == null))
     {
         IINS opTmhCasted = item.As <IINS>();
         if ((opTmhCasted != null))
         {
             this._parent.OpTmh = opTmhCasted;
             return;
         }
     }
     if ((this._parent.ECA == null))
     {
         IMV eCACasted = item.As <IMV>();
         if ((eCACasted != null))
         {
             this._parent.ECA = eCACasted;
             return;
         }
     }
     if ((this._parent.ColTapPos == null))
     {
         IISC colTapPosCasted = item.As <IISC>();
         if ((colTapPosCasted != null))
         {
             this._parent.ColTapPos = colTapPosCasted;
             return;
         }
     }
     if ((this._parent.ColPos == null))
     {
         IAPC colPosCasted = item.As <IAPC>();
         if ((colPosCasted != null))
         {
             this._parent.ColPos = colPosCasted;
             return;
         }
     }
 }
Exemple #7
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.OpTmh == null))
     {
         IINS opTmhCasted = item.As <IINS>();
         if ((opTmhCasted != null))
         {
             this._parent.OpTmh = opTmhCasted;
             return;
         }
     }
     if ((this._parent.DExt == null))
     {
         ISPC dExtCasted = item.As <ISPC>();
         if ((dExtCasted != null))
         {
             this._parent.DExt = dExtCasted;
             return;
         }
     }
     if ((this._parent.LosOil == null))
     {
         ISPS losOilCasted = item.As <ISPS>();
         if ((losOilCasted != null))
         {
             this._parent.LosOil = losOilCasted;
             return;
         }
     }
     if ((this._parent.LosVac == null))
     {
         ISPS losVacCasted = item.As <ISPS>();
         if ((losVacCasted != null))
         {
             this._parent.LosVac = losVacCasted;
             return;
         }
     }
     if ((this._parent.PresAlm == null))
     {
         ISPS presAlmCasted = item.As <ISPS>();
         if ((presAlmCasted != null))
         {
             this._parent.PresAlm = presAlmCasted;
             return;
         }
     }
 }
Exemple #8
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.EnaOpn == null))
     {
         ISPS enaOpnCasted = item.As <ISPS>();
         if ((enaOpnCasted != null))
         {
             this._parent.EnaOpn = enaOpnCasted;
             return;
         }
     }
     if ((this._parent.EnaCls == null))
     {
         ISPS enaClsCasted = item.As <ISPS>();
         if ((enaClsCasted != null))
         {
             this._parent.EnaCls = enaClsCasted;
             return;
         }
     }
 }
Exemple #9
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.OpCnt == null))
     {
         IINS opCntCasted = item.As <IINS>();
         if ((opCntCasted != null))
         {
             this._parent.OpCnt = opCntCasted;
             return;
         }
     }
     if ((this._parent.OPSA == null))
     {
         ISPS oPSACasted = item.As <ISPS>();
         if ((oPSACasted != null))
         {
             this._parent.OPSA = oPSACasted;
             return;
         }
     }
 }
Exemple #10
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.OpTmh == null))
     {
         IINS opTmhCasted = item.As <IINS>();
         if ((opTmhCasted != null))
         {
             this._parent.OpTmh = opTmhCasted;
             return;
         }
     }
     if ((this._parent.CapDS == null))
     {
         ISPC capDSCasted = item.As <ISPC>();
         if ((capDSCasted != null))
         {
             this._parent.CapDS = capDSCasted;
             return;
         }
     }
     if ((this._parent.DschBlk == null))
     {
         ISPS dschBlkCasted = item.As <ISPS>();
         if ((dschBlkCasted != null))
         {
             this._parent.DschBlk = dschBlkCasted;
             return;
         }
     }
     if ((this._parent.CapControl == null))
     {
         IARCO capControlCasted = item.As <IARCO>();
         if ((capControlCasted != null))
         {
             this._parent.CapControl = capControlCasted;
             return;
         }
     }
 }
Exemple #11
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.TapChg == null))
     {
         IBSC tapChgCasted = item.As <IBSC>();
         if ((tapChgCasted != null))
         {
             this._parent.TapChg = tapChgCasted;
             return;
         }
     }
     if ((this._parent.VOvSt == null))
     {
         ISPS vOvStCasted = item.As <ISPS>();
         if ((vOvStCasted != null))
         {
             this._parent.VOvSt = vOvStCasted;
             return;
         }
     }
     if ((this._parent.NeutAlm == null))
     {
         ISPS neutAlmCasted = item.As <ISPS>();
         if ((neutAlmCasted != null))
         {
             this._parent.NeutAlm = neutAlmCasted;
             return;
         }
     }
     if ((this._parent.DschBlk == null))
     {
         ISPS dschBlkCasted = item.As <ISPS>();
         if ((dschBlkCasted != null))
         {
             this._parent.DschBlk = dschBlkCasted;
             return;
         }
     }
 }
Exemple #12
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.Str == null))
     {
         IACD strCasted = item.As <IACD>();
         if ((strCasted != null))
         {
             this._parent.Str = strCasted;
             return;
         }
     }
     if ((this._parent.Op == null))
     {
         IACT opCasted = item.As <IACT>();
         if ((opCasted != null))
         {
             this._parent.Op = opCasted;
             return;
         }
     }
     if ((this._parent.BlkV == null))
     {
         ISPS blkVCasted = item.As <ISPS>();
         if ((blkVCasted != null))
         {
             this._parent.BlkV = blkVCasted;
             return;
         }
     }
     if ((this._parent.StrVal == null))
     {
         IASG strValCasted = item.As <IASG>();
         if ((strValCasted != null))
         {
             this._parent.StrVal = strValCasted;
             return;
         }
     }
     if ((this._parent.BlkVal == null))
     {
         IASG blkValCasted = item.As <IASG>();
         if ((blkValCasted != null))
         {
             this._parent.BlkVal = blkValCasted;
             return;
         }
     }
     if ((this._parent.OpDlTmms == null))
     {
         IING opDlTmmsCasted = item.As <IING>();
         if ((opDlTmmsCasted != null))
         {
             this._parent.OpDlTmms = opDlTmmsCasted;
             return;
         }
     }
     if ((this._parent.RsDlTmms == null))
     {
         IING rsDlTmmsCasted = item.As <IING>();
         if ((rsDlTmmsCasted != null))
         {
             this._parent.RsDlTmms = rsDlTmmsCasted;
             return;
         }
     }
 }
Exemple #13
0
 /// <summary>
 /// Creates a new observable property access proxy
 /// </summary>
 /// <param name="modelElement">The model instance element for which to create the property access proxy</param>
 public SubValProxy(ISPS modelElement) :
     base(modelElement, "subVal")
 {
 }
Exemple #14
0
 /// <summary>
 /// Creates a new observable property access proxy
 /// </summary>
 /// <param name="modelElement">The model instance element for which to create the property access proxy</param>
 public SubEnaProxy(ISPS modelElement) :
     base(modelElement, "subEna")
 {
 }
Exemple #15
0
 /// <summary>
 /// Adds the given element to the collection
 /// </summary>
 /// <param name="item">The item to add</param>
 public override void Add(IModelElement item)
 {
     if ((this._parent.OpCntRs == null))
     {
         IINC opCntRsCasted = item.As <IINC>();
         if ((opCntRsCasted != null))
         {
             this._parent.OpCntRs = opCntRsCasted;
             return;
         }
     }
     if ((this._parent.ChTrg == null))
     {
         ISPS chTrgCasted = item.As <ISPS>();
         if ((chTrgCasted != null))
         {
             this._parent.ChTrg = chTrgCasted;
             return;
         }
     }
     if ((this._parent.ChNum == null))
     {
         IING chNumCasted = item.As <IING>();
         if ((chNumCasted != null))
         {
             this._parent.ChNum = chNumCasted;
             return;
         }
     }
     if ((this._parent.TrgMod == null))
     {
         IING trgModCasted = item.As <IING>();
         if ((trgModCasted != null))
         {
             this._parent.TrgMod = trgModCasted;
             return;
         }
     }
     if ((this._parent.LevMod == null))
     {
         IING levModCasted = item.As <IING>();
         if ((levModCasted != null))
         {
             this._parent.LevMod = levModCasted;
             return;
         }
     }
     if ((this._parent.PreTmms == null))
     {
         IING preTmmsCasted = item.As <IING>();
         if ((preTmmsCasted != null))
         {
             this._parent.PreTmms = preTmmsCasted;
             return;
         }
     }
     if ((this._parent.PstTmms == null))
     {
         IING pstTmmsCasted = item.As <IING>();
         if ((pstTmmsCasted != null))
         {
             this._parent.PstTmms = pstTmmsCasted;
             return;
         }
     }
 }