Ets_Obj_Extended_Attr_Desc_Range_Set()
摘要
设置属性的取值范围。
语法
Ets_Obj_Extended_Attr_Desc_Range_Set (attr_desc_model_hndl, low_bound_type, low_bound, high_bound_type, high_bound)
| 参数 | 类型 | 说明 |
|---|---|---|
attr_desc_mdl_hndl |
EtsT_Model_Handle |
属性描述模型的句柄 |
low_bound_type |
EtsT_Attr_Bound_Type |
范围最小值的类型。有效属性边界类型的符号常量列于表 31属性子包符号常量。 |
low_bound |
double |
范围的最小值 |
high_bound_type |
EtsT_Attr_Bound_Type |
范围最大值的类型。有效属性边界类型的符号常量列于表 31属性子包符号常量。 |
high_bound |
double |
范围的最大值 |
返回类型
void
无返回值。
头文件
ets_api_extd_attr.h
详情
该属性必须具有数值类型。