README.txt 950 Bytes
函数:double Calculation_of_InstantaneousFlow(struct param_gate *datas)

说明:传入的指向void类型的指针,被转换为指向struct param_gate这个结构体的指针
struct param_gate{
    int wingwall;
    int drop_step;
    double openning_height_of_gate;
    double  water_depth_front_of_gate;
    double  water_depth_behind_of_gate;
    double  gate_width;
};

重要:且该指针指向的内存起始地址,存储的参数必须按照wingwall,drop_step,openning_height_of_gate,water_depth_front_of_gate,water_depth_behind_of_gate,gate_width;这个顺序存储!!!

wingwall:			翼墙的类型 (扭面翼墙为1 平翼墙为2 八字翼墙为3 平行翼墙为4)   
drop_step:			跌槛(根据现场施工状况决定, 有此参数为1,无则为0)
openning_height_of_gate:	闸门开启高度
water_depth_front_of_gate:	闸前水位
water_depth_behind_of_gate:	闸后水位
gate_width:			闸门宽度