| 包 | com.supermap.web.iServerJava6R.networkAnalystServices |
| 类 | public class DemandResult |
| 继承 | DemandResult Object |
该类对应于选址分区分析中的资源需求对象(弧段或结点),其中包括需求结点或弧段的 ID、资源供给中心 ID、实际被分配的资源量以及需求结果是弧段还是结点信息。
| 属性 | 定义方 | ||
|---|---|---|---|
| actualResourceValue : Number
[read-only] 该需求对象实际被分配的资源量。
|
DemandResult | ||
| demandID : int
[read-only] 需求结果对应的结点或弧段的 ID.
|
DemandResult | ||
| feature : Feature
需求点要素。
|
DemandResult | ||
| isEdge : Boolean
[read-only] true 表明需求结果对应的要素是弧段,false 表明需求结果对应的要素是结点。
|
DemandResult | ||
| supplyCenter : SupplyCenter
[read-only] 该需求结果对象对应的资源供给中心。
|
DemandResult | ||
| 方法 | 定义方 | ||
|---|---|---|---|
|
初始化 DemandResult 类的新实例。
|
DemandResult | ||
| actualResourceValue | 属性 |
actualResourceValue:Number [read-only]
该需求对象实际被分配的资源量。
public function get actualResourceValue():Number| demandID | 属性 |
demandID:int [read-only]
需求结果对应的结点或弧段的 ID.
当该类中 isEdge 字段为 true 时,该需求对象为弧段的 ID,当 isEdge 为 false 时,为需求结点的 ID。
public function get demandID():int| feature | 属性 |
feature:Feature
需求点要素。
public function get feature():Feature public function set feature(value:Feature):void| isEdge | 属性 |
isEdge:Boolean [read-only]
true 表明需求结果对应的要素是弧段,false 表明需求结果对应的要素是结点。
public function get isEdge():Boolean| supplyCenter | 属性 |
supplyCenter:SupplyCenter [read-only]
该需求结果对象对应的资源供给中心。
public function get supplyCenter():SupplyCenter| DemandResult | () | 构造函数 |
public function DemandResult()
初始化 DemandResult 类的新实例。