Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,8 @@ private void MoveToPosition()
this.Component._axis1._moveAbsoluteTask._velocity.Synchron = SelectedItem.Axis1.Velocity.Synchron;
this.Component._axis1._moveAbsoluteTask._acceleration.Synchron = SelectedItem.Axis1.Acceleration.Synchron;
this.Component._axis1._moveAbsoluteTask._deceleration.Synchron = SelectedItem.Axis1.Deceleration.Synchron;
this.Component._axis1._moveAbsoluteTask._jerk.Synchron = SelectedItem.Axis1.Jerk.Synchron;



Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The Jerk parameter is placed after Deceleration but before the Axis1MoveAllowed check. For consistency with the existing parameter pattern (Position, Velocity, Acceleration, Deceleration), consider moving the blank line 210 to after the Jerk assignment to maintain the same spacing pattern as other parameters.

Suggested change

Copilot uses AI. Check for mistakes.
if ((bool)Axis1MoveAllowed)
Expand All @@ -218,6 +220,7 @@ private void MoveToPosition()
this.Component._axis2._moveAbsoluteTask._velocity.Synchron = SelectedItem.Axis2.Velocity.Synchron;
this.Component._axis2._moveAbsoluteTask._acceleration.Synchron = SelectedItem.Axis2.Acceleration.Synchron;
this.Component._axis2._moveAbsoluteTask._deceleration.Synchron = SelectedItem.Axis2.Deceleration.Synchron;
this.Component._axis2._moveAbsoluteTask._jerk.Synchron = SelectedItem.Axis2.Jerk.Synchron;


if ((bool)Axis2MoveAllowed)
Expand All @@ -229,6 +232,8 @@ private void MoveToPosition()
this.Component._axis3._moveAbsoluteTask._velocity.Synchron = SelectedItem.Axis3.Velocity.Synchron;
this.Component._axis3._moveAbsoluteTask._acceleration.Synchron = SelectedItem.Axis3.Acceleration.Synchron;
this.Component._axis3._moveAbsoluteTask._deceleration.Synchron = SelectedItem.Axis3.Deceleration.Synchron;
this.Component._axis3._moveAbsoluteTask._jerk.Synchron = SelectedItem.Axis3.Jerk.Synchron;



if ((bool)Axis3MoveAllowed)
Expand All @@ -240,6 +245,8 @@ private void MoveToPosition()
this.Component._axis4._moveAbsoluteTask._velocity.Synchron = SelectedItem.Axis4.Velocity.Synchron;
this.Component._axis4._moveAbsoluteTask._acceleration.Synchron = SelectedItem.Axis4.Acceleration.Synchron;
this.Component._axis4._moveAbsoluteTask._deceleration.Synchron = SelectedItem.Axis4.Deceleration.Synchron;
this.Component._axis4._moveAbsoluteTask._jerk.Synchron = SelectedItem.Axis4.Jerk.Synchron;



if ((bool)Axis4MoveAllowed)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ private void MoveToPosition()
this.Component._axis._moveAbsoluteTask._velocity.Synchron = SelectedItem.Axis1.Velocity.Synchron;
this.Component._axis._moveAbsoluteTask._acceleration.Synchron = SelectedItem.Axis1.Acceleration.Synchron;
this.Component._axis._moveAbsoluteTask._deceleration.Synchron = SelectedItem.Axis1.Deceleration.Synchron;
this.Component._axis._moveAbsoluteTask._jerk.Synchron = SelectedItem.Axis1.Jerk.Synchron;




Comment on lines +181 to 184
Copy link

Copilot AI Oct 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The Jerk parameter is placed after Deceleration with an extra blank line. For consistency with the existing parameter pattern (Position, Velocity, Acceleration, Deceleration), consider removing the blank line 181 to maintain the same spacing as the parameters above.

Suggested change

Copilot uses AI. Check for mistakes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public TcoKrc4_Ecat_v_5_x_xServiceView()
{
if (DesignerProperties.GetIsInDesignMode(this))
{
this.DataContext = new TcoKrc4_v_5_x_xServiceViewModel();
this.DataContext = new TcoKrc4_Ecat_v_5_x_xServiceViewModel();
}

InitializeComponent();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public TcoKrc4_Ecat_v_5_x_xServiceViewModel() :base()

}
}
public class TcoKrc4_Ecat_v_5_x_xViewModel : TcoKrc4_v_5_x_xServiceViewModel
public class TcoKrc4_Ecat_v_5_x_xViewModel : TcoKrc4_Ecat_v_5_x_xServiceViewModel
{ }

}
Loading