コード例 #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.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.RsDiTmms == null))
     {
         IING rsDiTmmsCasted = item.As <IING>();
         if ((rsDiTmmsCasted != null))
         {
             this._parent.RsDiTmms = rsDiTmmsCasted;
             return;
         }
     }
 }
コード例 #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.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.DirMod == null))
     {
         IING dirModCasted = item.As <IING>();
         if ((dirModCasted != null))
         {
             this._parent.DirMod = dirModCasted;
             return;
         }
     }
     if ((this._parent.StrVal == null))
     {
         IASG strValCasted = item.As <IASG>();
         if ((strValCasted != null))
         {
             this._parent.StrVal = strValCasted;
             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;
         }
     }
 }
コード例 #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.Str == null))
     {
         IACD strCasted = item.As <IACD>();
         if ((strCasted != null))
         {
             this._parent.Str = strCasted;
             return;
         }
     }
     if ((this._parent.HaRst == null))
     {
         IING haRstCasted = item.As <IING>();
         if ((haRstCasted != null))
         {
             this._parent.HaRst = haRstCasted;
             return;
         }
     }
     if ((this._parent.PhStr == null))
     {
         IASG phStrCasted = item.As <IASG>();
         if ((phStrCasted != null))
         {
             this._parent.PhStr = phStrCasted;
             return;
         }
     }
     if ((this._parent.PhStop == null))
     {
         IASG phStopCasted = item.As <IASG>();
         if ((phStopCasted != null))
         {
             this._parent.PhStop = phStopCasted;
             return;
         }
     }
     if ((this._parent.OpDiTmms == null))
     {
         IING opDiTmmsCasted = item.As <IING>();
         if ((opDiTmmsCasted != null))
         {
             this._parent.OpDiTmms = opDiTmmsCasted;
             return;
         }
     }
     if ((this._parent.RsDiTmms == null))
     {
         IING rsDiTmmsCasted = item.As <IING>();
         if ((rsDiTmmsCasted != null))
         {
             this._parent.RsDiTmms = rsDiTmmsCasted;
             return;
         }
     }
 }
コード例 #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.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.SetA == null))
     {
         IASG setACasted = item.As <IASG>();
         if ((setACasted != null))
         {
             this._parent.SetA = setACasted;
             return;
         }
     }
     if ((this._parent.SetTms == null))
     {
         IING setTmsCasted = item.As <IING>();
         if ((setTmsCasted != null))
         {
             this._parent.SetTms = setTmsCasted;
             return;
         }
     }
     if ((this._parent.MotStr == null))
     {
         IASG motStrCasted = item.As <IASG>();
         if ((motStrCasted != null))
         {
             this._parent.MotStr = motStrCasted;
             return;
         }
     }
     if ((this._parent.LokRotTms == null))
     {
         IING lokRotTmsCasted = item.As <IING>();
         if ((lokRotTmsCasted != null))
         {
             this._parent.LokRotTms = lokRotTmsCasted;
             return;
         }
     }
 }
コード例 #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.Tr == null))
     {
         IACT trCasted = item.As <IACT>();
         if ((trCasted != null))
         {
             this._parent.Tr = trCasted;
             return;
         }
     }
     if ((this._parent.Op == null))
     {
         IACT opCasted = item.As <IACT>();
         if ((opCasted != null))
         {
             this._parent.Op = opCasted;
             return;
         }
     }
     if ((this._parent.Str == null))
     {
         IACD strCasted = item.As <IACD>();
         if ((strCasted != null))
         {
             this._parent.Str = strCasted;
             return;
         }
     }
     if ((this._parent.TrMod == null))
     {
         IING trModCasted = item.As <IING>();
         if ((trModCasted != null))
         {
             this._parent.TrMod = trModCasted;
             return;
         }
     }
     if ((this._parent.TrPlsTmms == null))
     {
         IING trPlsTmmsCasted = item.As <IING>();
         if ((trPlsTmmsCasted != null))
         {
             this._parent.TrPlsTmms = trPlsTmmsCasted;
             return;
         }
     }
 }
コード例 #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.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;
         }
     }
 }
コード例 #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.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.GndStr == null))
     {
         IASG gndStrCasted = item.As <IASG>();
         if ((gndStrCasted != null))
         {
             this._parent.GndStr = gndStrCasted;
             return;
         }
     }
     if ((this._parent.DirMod == null))
     {
         IING dirModCasted = item.As <IING>();
         if ((dirModCasted != null))
         {
             this._parent.DirMod = dirModCasted;
             return;
         }
     }
 }
コード例 #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.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.OpDiTmms == null))
     {
         IING opDiTmmsCasted = item.As <IING>();
         if ((opDiTmmsCasted != null))
         {
             this._parent.OpDiTmms = opDiTmmsCasted;
             return;
         }
     }
     if ((this._parent.RsDiTmms == null))
     {
         IING rsDiTmmsCasted = item.As <IING>();
         if ((rsDiTmmsCasted != null))
         {
             this._parent.RsDiTmms = rsDiTmmsCasted;
             return;
         }
     }
 }
コード例 #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.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.AStr == null))
     {
         IASG aStrCasted = item.As <IASG>();
         if ((aStrCasted != null))
         {
             this._parent.AStr = aStrCasted;
             return;
         }
     }
     if ((this._parent.VStr == null))
     {
         IASG vStrCasted = item.As <IASG>();
         if ((vStrCasted != null))
         {
             this._parent.VStr = vStrCasted;
             return;
         }
     }
     if ((this._parent.HVStr == null))
     {
         IASG hVStrCasted = item.As <IASG>();
         if ((hVStrCasted != null))
         {
             this._parent.HVStr = hVStrCasted;
             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;
         }
     }
 }
コード例 #10
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 StepSizeProxy(IING modelElement) :
     base(modelElement, "stepSize")
 {
 }
コード例 #11
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 MaxValProxy(IING modelElement) :
     base(modelElement, "maxVal")
 {
 }
コード例 #12
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 MinValProxy(IING modelElement) :
     base(modelElement, "minVal")
 {
 }
コード例 #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 SetValProxy(IING modelElement) :
     base(modelElement, "setVal")
 {
 }
コード例 #14
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;
         }
     }
 }