aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Maintenance/Commands/ResetThreadLoadingCommand.cs
blob: 0078cd546c9935843922583af00ad8b7f7eca851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.PMR.Diagnostics;
using Tango.PMR.Hardware;

namespace Tango.PPC.Maintenance.Commands
{
    public class ResetThreadLoadingCommand : HomingMotorCommand
    {
        public ResetThreadLoadingCommand() : base(
            HardwareMotorType.MotoDryerLoadarm,
            MotorDirection.Backward,
            200,
            "Resetting thread loading arm...",
            "Error resetting thread loading arm.",
            "Thread loading arm in now in place.")
        {

        }
    }
}
e view. /// </summary> public String HomeViewName { get; set; } /// <summary> /// Gets or sets a value indicating whether to dock this module menu item to the bottom.. /// </summary> public bool DockToBottom { get; set; } /// <summary> /// Initializes a new instance of the <see cref="PPCModuleAttribute"/> class. /// </summary> /// <param name="index">The module index.</param> public PPCModuleAttribute(int index) { Index = index; } /// <summary> /// Initializes a new instance of the <see cref="PPCModuleAttribute"/> class. /// </summary> /// <param name="index">The module index.</param> /// <param name="homeViewName">Name of the home view.</param> public PPCModuleAttribute(int index, String homeViewName) : this(index) { HomeViewName = homeViewName; } /// <summary> /// Initializes a new instance of the <see cref="PPCModuleAttribute"/> class. /// </summary> /// <param name="index">The module index.</param> /// <param name="homeViewName">Name of the home view.</param> public PPCModuleAttribute(int index, String homeViewName, bool dockToBottom) : this(index, homeViewName) { HomeViewName = homeViewName; DockToBottom = dockToBottom; } } }