private void SaveOffsets(Transformer transformer, OffsetSettings offsets) { offsets.Sway = transformer.Offset_Sway; offsets.Heave = transformer.Offset_Heave; offsets.Surge = transformer.Offset_Surge; offsets.Yaw = transformer.Offset_Yaw; offsets.Pitch = transformer.Offset_Pitch; offsets.Roll = transformer.Offset_Roll; }
private void LoadOffsets(Transformer transformer, OffsetSettings offsets) { transformer.Offset_Sway = offsets.Sway; transformer.Offset_Heave = offsets.Heave; transformer.Offset_Surge = offsets.Surge; transformer.Offset_Yaw = offsets.Yaw; transformer.Offset_Pitch = offsets.Pitch; transformer.Offset_Roll = offsets.Roll; }