void loadData(m_If i) { i.type = TheMapData.if_type_FlexionAngle; i.v = TheMapData.getJointName_byDef(comboJ1.Text); i.opt = TheMapData.convertOpt_getMath_byDef(comboOpt.Text); i.value_d = TheTool.adjustRange(TheTool.getDouble(txtValue.Text), 0, 360); }
void loadData(m_If i) { i.type = TheMapData.if_type_SphereAngle; i.value = TheMapData.then_SphereAngle_Polar; if (comboAngle.SelectedIndex == 1) { i.value = TheMapData.then_SphereAngle_Azimuth; } i.v = TheMapData.getJointName_byDef(comboJ1.Text); i.v2 = TheMapData.getJointName_byDef(comboJ2.Text); i.opt = TheMapData.convertOpt_getMath_byDef(comboOpt.Text); i.value_d = TheTool.adjustRange(TheTool.getDouble(txtValue.Text), 0, 360); }