IsoBean控件
# FastWeb IsoBean控件
以下组中包含IsoBean相关功能实现的控件。IsoBean需借助FastWeb实现。
# 1. TUgIsoBeanServer
此组件为IsoBean服务的配置组件。
# 1.1. 属性
属性 | 功能说明 |
---|---|
Server | IsoBean服务器的地址,比如 http://localhost:8888/ |
UserKey | 调用IsoBean的用户的唯一ID |
# 2. TUgIsoBeanSource
此组件为IsoBean的数据源组件,用于配置需要可视化或非可视化的IsoBean。如需要使用可视化的IsoBean,需配合TIsoBeanVision使用。
使用鼠标双击控件,打开属性设置界面。在属性设置界面中输入IsoBean编号、IsoBean授权码与IsoBean服务器地址,点击 [从服务器下载参数]
,将服务器可配置的参数下载至本地。

# 2.1. 属性
# 2.1.1. IsoBeanOptions
property IsoBeanOptions: TUgIsoBeanOptions;
设置IsoBean的选项。
IsoBeanNo:IsoBean的编号名称。
Params:IsoBean接口参数信息。
接口参数使用json格式化,格式如下。
[{"fdcheck":true,"fdparamname":"image","fdparamvalue":"library\/js\/egjs-view360\/examples\/img\/smartphone-panorama-picture.jpg","fdparamdescription":null}]
1Server:IsoBean服务器的地址,示例为
http://localhost:8888/
,如IsoBeanServer已绑定,则此项可不设置。[{"fdcheck":true,"fdparamname":"image","fdparamvalue":"library/js/egjs-view360/examples/img/smartphone-panorama-picture.jpg","fdparamdescription":null}]
UserKey:设置用户授权码,如IsoBeanServer已绑定,则此项可不设置。
UseServerParams:设置是否使用服务器的参数信息,默认设置项为
True
。
# 2.1.2. IsoBeanServer
property IsoBeanServer: TUgIsoBeanserver;
设置组件绑定的服务器名称。详见 TUgIsoBeanServer
# 3. TUgIsoBeanVision
此组件用于展示可视化的IsoBean,可通过绑定 TUgIsoBeanSource 来显示。
# 3.1. 属性
# 3.1.1. Active
property Active: True;
设置是否启用控件。
# 3.1.2. IsoBeanOptions
property IsoBeanOptions: TUgIsoBeanOptions;
设置IsoBean的选项。
IsoBeanNo:IsoBean的编号名称。
Params:IsoBean接口参数信息。
接口参数使用json格式化,格式如下。
[{"fdcheck":true,"fdparamname":"image","fdparamvalue":"library\/js\/egjs-view360\/examples\/img\/smartphone-panorama-picture.jpg","fdparamdescription":null}]
1Server:IsoBean服务器的地址,示例为
http://localhost:8888/
,如IsoBeanServer已绑定,则此项可不设置。[{"fdcheck":true,"fdparamname":"image","fdparamvalue":"library/js/egjs-view360/examples/img/smartphone-panorama-picture.jpg","fdparamdescription":null}]
UserKey:设置用户授权码,如IsoBeanServer已绑定,则此项可不设置。
UseServerParams:设置是否使用服务器的参数信息,默认设置项为
True
。
# 3.1.3. IsoBeanSource
property IsoBeanSource: TIsoBeanSource;
设置IsoBean的数据来源,详见 TUgISoBeanSource。