/// <summary> /// 保存参数 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void bntSaveParams_Click(object sender, EventArgs e) { ParmsFactory.SaveParams <MotionParams>(Global.MontionParmsPath, Global.MotionParam); ParmsFactory.SaveParams <CalibrationParams>(Global.CalibrationParmsPath, Global.CalibrationParam); }
public static void BindParms() { ParmsFactory.Load <UserParams>(UserParmsPath, ref UserParm); ParmsFactory.Load <MotionParams>(MontionParmsPath, ref MotionParam); ParmsFactory.Load <CalibrationParams>(CalibrationParmsPath, ref CalibrationParam); }