private void SaveGains(Transformer transformer, GainSettings gains) { gains.Master = transformer.Gain_Master; gains.Sway = transformer.Gain_Sway; gains.Heave = transformer.Gain_Heave; gains.Surge = transformer.Gain_Surge; gains.Yaw = transformer.Gain_Yaw; gains.Pitch = transformer.Gain_Pitch; gains.Roll = transformer.Gain_Roll; }
private void LoadGains(Transformer transformer, GainSettings gains) { transformer.Gain_Master = gains.Master; transformer.Gain_Sway = gains.Sway; transformer.Gain_Heave = gains.Heave; transformer.Gain_Surge = gains.Surge; transformer.Gain_Yaw = gains.Yaw; transformer.Gain_Pitch = gains.Pitch; transformer.Gain_Roll = gains.Roll; }