Esempio n. 1
0
 public CmdMountVersion(long id)
 {
     Id         = id;
     CreatedUtc = Principles.HiResDateTime.UtcNow;
     Successful = false;
     MountQueue.AddCommand(this);
 }
Esempio n. 2
0
 public CmdPulseDecRunning(long id)
 {
     Id         = id;
     CreatedUtc = Principles.HiResDateTime.UtcNow;
     Successful = false;
     MountQueue.AddCommand(this);
 }
Esempio n. 3
0
 public CmdHomeSensor(long id, Axis axis)
 {
     Id         = id;
     CreatedUtc = Principles.HiResDateTime.UtcNow;
     _axis      = axis;
     Successful = false;
     MountQueue.AddCommand(this);
 }
Esempio n. 4
0
 public CmdAxisStop(long id, Axis axis)
 {
     Id         = id;
     CreatedUtc = Principles.HiResDateTime.UtcNow;
     _axis      = axis;
     Successful = false;
     Result     = null;
     MountQueue.AddCommand(this);
 }
Esempio n. 5
0
 public CmdGotoSpeed(long id, int rate)
 {
     Id         = id;
     CreatedUtc = Principles.HiResDateTime.UtcNow;
     _rate      = rate;
     Successful = false;
     Result     = null;
     MountQueue.AddCommand(this);
 }
Esempio n. 6
0
 public CmdSetMonitorPulse(long id, bool on)
 {
     Id         = id;
     _on        = on;
     CreatedUtc = Principles.HiResDateTime.UtcNow;
     Successful = false;
     Result     = null;
     MountQueue.AddCommand(this);
 }
Esempio n. 7
0
 public CmdRate(long id, Axis axis, double rate)
 {
     Id         = id;
     CreatedUtc = Principles.HiResDateTime.UtcNow;
     _axis      = axis;
     _rate      = rate;
     Successful = false;
     Result     = null;
     MountQueue.AddCommand(this);
 }
Esempio n. 8
0
 public CmdAxisToDegrees(long id, Axis axis, double degrees)
 {
     Id         = id;
     CreatedUtc = Principles.HiResDateTime.UtcNow;
     _axis      = axis;
     _degrees   = degrees;
     Successful = false;
     Result     = null;
     MountQueue.AddCommand(this);
 }
Esempio n. 9
0
 public CmdAxisGoToTarget(long id, Axis axis, double targetPosition)
 {
     Id              = id;
     CreatedUtc      = Principles.HiResDateTime.UtcNow;
     _axis           = axis;
     _targetPosition = targetPosition;
     Successful      = false;
     Result          = null;
     MountQueue.AddCommand(this);
 }
Esempio n. 10
0
 public CmdSnapPort(long id, int port, bool on)
 {
     Id         = id;
     CreatedUtc = Principles.HiResDateTime.UtcNow;
     _port      = port;
     _on        = on;
     Successful = false;
     Result     = null;
     MountQueue.AddCommand(this);
 }
Esempio n. 11
0
        //private readonly int _backlash;
        //private readonly double _declination;

        public CmdAxisPulse(long id, Axis axis, double guideRate, int duration)
        {
            Id = id;
            //_backlash = backlash;
            //_declination = declination;
            CreatedUtc = Principles.HiResDateTime.UtcNow;
            _axis      = axis;
            _guideRate = guideRate;
            _duration  = duration;
            Successful = false;
            Result     = null;
            MountQueue.AddCommand(this);
        }