【问题标题】:selectOutput5, Linkted to Radio ButtonselectOutput5,链接到单选按钮
【发布时间】:2020-09-26 09:55:53
【问题描述】:

我的问题是如何将“单选按钮”与“选择输出 5”链接起来。这个想法是根据相应的单选按钮选择代理的输出。 Click to Image of the simple problem

提前非常感谢您。

最好的问候, JB

【问题讨论】:

    标签: anylogic


    【解决方案1】:

    单选按钮有一个 getValue() 方法,因此您可以使用条件在您的 selectOutput 上使用它

    radio.getValue()==0
    
    radio.getValue()==1
    

    等等……

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-05-31
      • 1970-01-01
      • 2018-04-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多