Пример #1
0
 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;
 }
Пример #2
0
 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;
 }