A
Property 其值不随仿真时间而变化。 whose value does not change with respect to simulation time.
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
value |
* | 可选 optional 财产价值。 The property value. |
另见: See:
成员 Members
readonly definitionChanged : Event
获取每当此属性的定义更改时引发的事件。每当使用与当前值不同的数据调用 setValue 时,定义都会更改。 Gets the event that is raised whenever the definition of this property changes. The definition is changed whenever setValue is called with data different than the current value.
获取一个值,该值指示该属性是否为常量。该属性总是返回 Gets a value indicating if this property is constant. This property always returns
true.
方法 Methods
将此属性与提供的属性进行比较并返回 Compares this property to the provided property and returns
true 如果它们相等, if they are equal, false otherwise.
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
other |
Property | 可选 optional 其他财产。 The other property. |
返回: Returns:
true 如果左和右相等, if left and right are equal, false otherwise.
获取属性的值。 Gets the value of the property.
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
time |
JulianDate | 可选 optional 检索值的时间。该参数未使用,因为该值不随时间变化。 The time for which to retrieve the value. This parameter is unused since the value does not change with respect to time. |
result |
object | 可选 optional 用于存储值的对象,如果省略,则会创建并返回一个新实例。 The object to store the value into, if omitted, a new instance is created and returned. |
返回: Returns:
修改后的结果参数或新实例(如果未提供结果参数)。 The modified result parameter or a new instance if the result parameter was not supplied.
设置属性的值。 Sets the value of the property.
| 名称 Name | 类型 Type | 说明 Description |
|---|---|---|
value |
* | 财产价值。 The property value. |
创建一个表示该属性值的字符串。 Creates a string representing this property's value.
返回: Returns:
表示属性值的字符串。 A string representing the property's value.
获取该属性的值。 Gets this property's value.
返回: Returns:
该属性的价值。 This property's value.
