Exemple #1
0
 /// <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);
 }
Exemple #2
0
 public static void BindParms()
 {
     ParmsFactory.Load <UserParams>(UserParmsPath, ref UserParm);
     ParmsFactory.Load <MotionParams>(MontionParmsPath, ref MotionParam);
     ParmsFactory.Load <CalibrationParams>(CalibrationParmsPath, ref CalibrationParam);
 }