当前位置: 首页>>代码示例>>C#>>正文


C# Generated.acceptor类代码示例

本文整理汇总了C#中DataDictionary.Generated.acceptor的典型用法代码示例。如果您正苦于以下问题:C# acceptor类的具体用法?C# acceptor怎么用?C# acceptor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


acceptor类属于DataDictionary.Generated命名空间,在下文中一共展示了acceptor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: ModelEvent

 /// <summary>
 ///     Constructor
 /// </summary>
 /// <param name="id"></param>
 /// <param name="instance"></param>
 /// <param name="priority"></param>
 public ModelEvent(string id, INamable instance, acceptor.RulePriority? priority)
 {
     Id = id;
     Message = id;
     Instance = instance;
     Priority = priority;
 }
开发者ID:GautierBerck,项目名称:ERTMSFormalSpecs,代码行数:13,代码来源:ModelEvents.cs

示例2: RuleFired

 /// <summary>
 ///     Constructor
 /// </summary>
 /// <param name="id"></param>
 public RuleFired(Runner.Activation activation, acceptor.RulePriority priority)
     : base(activation.RuleCondition.Name, activation.RuleCondition, priority)
 {
     Activation = activation;
     Explanation = Activation.Explanation;
     Updates = new List<VariableUpdate>();
 }
开发者ID:nikiforovandrey,项目名称:ERTMSFormalSpecs,代码行数:11,代码来源:RuleFired.cs

示例3: setMessageType

 public void setMessageType(acceptor.DBMessageType v)
 {
     aMessageType = v;
       __setDirty(true);
       NotifyControllers(null);
 }
开发者ID:GautierBerck,项目名称:ERTMSFormalSpecs,代码行数:6,代码来源:DataDictionary.Generated.cs

示例4: CreateRange

        /// <summary>
        ///     Creates an range in the namespace provided
        /// </summary>
        /// <param name="enclosing"></param>
        /// <param name="name"></param>
        /// <param name="precision"></param>
        /// <param name="minValue"></param>
        /// <param name="maxValue"></param>
        /// <returns></returns>
        protected Range CreateRange(NameSpace enclosing, string name, acceptor.PrecisionEnum precision, string minValue,
            string maxValue)
        {
            Range retVal = (Range) Factory.createRange();

            enclosing.appendRanges(retVal);
            retVal.Name = name;
            retVal.setPrecision(precision);
            retVal.MinValue = minValue;
            retVal.MaxValue = maxValue;

            return retVal;
        }
开发者ID:nikiforovandrey,项目名称:ERTMSFormalSpecs,代码行数:22,代码来源:BaseModelTest.cs

示例5: ApplicableRule

 /// <summary>
 /// Indicates that a rule is applicable for this type at the provided priority
 /// </summary>
 /// <returns></returns>
 public virtual bool ApplicableRule(acceptor.RulePriority priority)
 {
     return false;
 }
开发者ID:ERTMSSolutions,项目名称:ERTMSFormalSpecs,代码行数:8,代码来源:Type.cs

示例6: setVariableMode

 public void setVariableMode(acceptor.VariableModeEnumType v)
 {
     aVariableMode = v;
       __setDirty(true);
       NotifyControllers(null);
 }
开发者ID:GautierBerck,项目名称:ERTMSFormalSpecs,代码行数:6,代码来源:DataDictionary.Generated.cs

示例7: setTimeDelay

 public void setTimeDelay(acceptor.TimeDelay v)
 {
     aTimeDelay = v;
       __setDirty(true);
       NotifyControllers(null);
 }
开发者ID:GautierBerck,项目名称:ERTMSFormalSpecs,代码行数:6,代码来源:DataDictionary.Generated.cs

示例8: setLevelOUT

 public void setLevelOUT(acceptor.ST_LEVEL v)
 {
     aLevelOUT = v;
       __setDirty(true);
       NotifyControllers(null);
 }
开发者ID:GautierBerck,项目名称:ERTMSFormalSpecs,代码行数:6,代码来源:DataDictionary.Generated.cs

示例9: setImplementationStatus

 public void setImplementationStatus(acceptor.SPEC_IMPLEMENTED_ENUM v)
 {
     aImplementationStatus = v;
       __setDirty(true);
       NotifyControllers(null);
 }
开发者ID:GautierBerck,项目名称:ERTMSFormalSpecs,代码行数:6,代码来源:DataDictionary.Generated.cs

示例10: getUnique

 public static acceptor getUnique()
 {
     if (theOne == null) { theOne = new acceptor(); }
       return theOne;
 }
开发者ID:GautierBerck,项目名称:ERTMSFormalSpecs,代码行数:5,代码来源:DataDictionary.Generated.cs

示例11: setMedia

 public void setMedia(acceptor.Message_media v)
 {
     aMedia = v;
       __setDirty(true);
       NotifyControllers(null);
 }
开发者ID:GautierBerck,项目名称:ERTMSFormalSpecs,代码行数:6,代码来源:DataDictionary.Generated.cs

示例12: setType

 public void setType(acceptor.meaning_type v)
 {
     aType = v;
       __setDirty(true);
       NotifyControllers(null);
 }
开发者ID:GautierBerck,项目名称:ERTMSFormalSpecs,代码行数:6,代码来源:DataDictionary.Generated.cs

示例13: setMaximum

 public void setMaximum(acceptor.maximum_Value v)
 {
     aMaximum = v;
       __setDirty(true);
       NotifyControllers(null);
 }
开发者ID:GautierBerck,项目名称:ERTMSFormalSpecs,代码行数:6,代码来源:DataDictionary.Generated.cs

示例14: setKind

 public void setKind(acceptor.ExpectationKind v)
 {
     aKind = v;
       __setDirty(true);
       NotifyControllers(null);
 }
开发者ID:GautierBerck,项目名称:ERTMSFormalSpecs,代码行数:6,代码来源:DataDictionary.Generated.cs

示例15: setCyclePhase

 public void setCyclePhase(acceptor.RulePriority v)
 {
     aCyclePhase = v;
       __setDirty(true);
       NotifyControllers(null);
 }
开发者ID:GautierBerck,项目名称:ERTMSFormalSpecs,代码行数:6,代码来源:DataDictionary.Generated.cs


注:本文中的DataDictionary.Generated.acceptor类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。