包 | com.supermap.web.iServerJava6R.networkAnalystServices |
类 | public class SupplyCenter |
继承 | SupplyCenter ![]() |
资源供给中心点,在选址分区分析(FindLocationService)中使用。
属性 | 定义方 | ||
---|---|---|---|
maxWeight : Number
资源供给中心的最大耗费值,必设参数.
|
SupplyCenter | ||
nodeID : int
资源供给中心点的结点 ID 号,必设参数。资源供给中心必须是结点。
|
SupplyCenter | ||
resourceValue : Number
资源供给中心能提供的最大服务量或商品数量,必设参数.
|
SupplyCenter | ||
type : String
资源供给中心点的类型常量,由 SupplyCenterType 类定义。
|
SupplyCenter |
方法 | 定义方 | ||
---|---|---|---|
初始化 SupplyCenter 类的新实例。
|
SupplyCenter |
maxWeight | 属性 |
maxWeight:Number
资源供给中心的最大耗费值,必设参数.
中心点最大耗费值设置越小,表示中心点所提供的资源可影响范围越大。最大耗费值是用来限制需求点到中心点的花费。如果需求点(弧段或结点)到此中心的花费大于最大耗费值,则该需求点不属于该资源供给中心提供资源的范围。
public function get maxWeight():Number
public function set maxWeight(value:Number):void
nodeID | 属性 |
nodeID:int
资源供给中心点的结点 ID 号,必设参数。资源供给中心必须是结点。
public function get nodeID():int
public function set nodeID(value:int):void
resourceValue | 属性 |
resourceValue:Number
资源供给中心能提供的最大服务量或商品数量,必设参数.
例如资源中心为学校,资源中心资源量表示该学校能够接纳多少学生。
public function get resourceValue():Number
public function set resourceValue(value:Number):void
type | 属性 |
type:String
资源供给中心点的类型常量,由 SupplyCenterType 类定义。
public function get type():String
public function set type(value:String):void
另请参见
SupplyCenter | () | 构造函数 |
public function SupplyCenter()
初始化 SupplyCenter 类的新实例。