79a77d4e1d
Feature/LocalServer * Major refactor. Switching over to a local server hub style driver allowing multiple programs to control the telescope at one time without the need for the POTH Hub * Unified the setup dialog * Implemented shared serial port, Both Telescope and Driver can connect at the same time. * Ported the focuser implementation from the non server based version. * Ported the telescope driver code. * Fixed problem with # not being stripped from the returned string ends. Fixed issue with RA being returned as degress rather than hours. * Telescope passes validation * Added a lock around the focuser move. * Reimplemented CommandBlind and CommandString * Corrected version information * Removed the Altitude support as there's a bug in the Autostar and Audiostar firmware
148 lines
6.6 KiB
C#
148 lines
6.6 KiB
C#
namespace ASCOM.Meade.net
|
|
{
|
|
partial class SetupDialogForm
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.cmdOK = new System.Windows.Forms.Button();
|
|
this.cmdCancel = new System.Windows.Forms.Button();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.picASCOM = new System.Windows.Forms.PictureBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.chkTrace = new System.Windows.Forms.CheckBox();
|
|
this.comboBoxComPort = new System.Windows.Forms.ComboBox();
|
|
((System.ComponentModel.ISupportInitialize)(this.picASCOM)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// cmdOK
|
|
//
|
|
this.cmdOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.cmdOK.Location = new System.Drawing.Point(281, 112);
|
|
this.cmdOK.Name = "cmdOK";
|
|
this.cmdOK.Size = new System.Drawing.Size(59, 24);
|
|
this.cmdOK.TabIndex = 0;
|
|
this.cmdOK.Text = "OK";
|
|
this.cmdOK.UseVisualStyleBackColor = true;
|
|
//
|
|
// cmdCancel
|
|
//
|
|
this.cmdCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.cmdCancel.Location = new System.Drawing.Point(281, 142);
|
|
this.cmdCancel.Name = "cmdCancel";
|
|
this.cmdCancel.Size = new System.Drawing.Size(59, 25);
|
|
this.cmdCancel.TabIndex = 1;
|
|
this.cmdCancel.Text = "Cancel";
|
|
this.cmdCancel.UseVisualStyleBackColor = true;
|
|
this.cmdCancel.Click += new System.EventHandler(this.cmdCancel_Click);
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.Location = new System.Drawing.Point(12, 9);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(123, 31);
|
|
this.label1.TabIndex = 2;
|
|
this.label1.Text = "Construct your driver\'s setup dialog here.";
|
|
//
|
|
// picASCOM
|
|
//
|
|
this.picASCOM.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.picASCOM.Cursor = System.Windows.Forms.Cursors.Hand;
|
|
this.picASCOM.Image = global::ASCOM.Meade.net.Properties.Resources.ASCOM;
|
|
this.picASCOM.Location = new System.Drawing.Point(292, 9);
|
|
this.picASCOM.Name = "picASCOM";
|
|
this.picASCOM.Size = new System.Drawing.Size(48, 56);
|
|
this.picASCOM.SizeMode = System.Windows.Forms.PictureBoxSizeMode.AutoSize;
|
|
this.picASCOM.TabIndex = 3;
|
|
this.picASCOM.TabStop = false;
|
|
this.picASCOM.Click += new System.EventHandler(this.BrowseToAscom);
|
|
this.picASCOM.DoubleClick += new System.EventHandler(this.BrowseToAscom);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(13, 90);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(58, 13);
|
|
this.label2.TabIndex = 5;
|
|
this.label2.Text = "Comm Port";
|
|
//
|
|
// chkTrace
|
|
//
|
|
this.chkTrace.AutoSize = true;
|
|
this.chkTrace.Location = new System.Drawing.Point(77, 118);
|
|
this.chkTrace.Name = "chkTrace";
|
|
this.chkTrace.Size = new System.Drawing.Size(69, 17);
|
|
this.chkTrace.TabIndex = 6;
|
|
this.chkTrace.Text = "Trace on";
|
|
this.chkTrace.UseVisualStyleBackColor = true;
|
|
//
|
|
// comboBoxComPort
|
|
//
|
|
this.comboBoxComPort.FormattingEnabled = true;
|
|
this.comboBoxComPort.Location = new System.Drawing.Point(77, 87);
|
|
this.comboBoxComPort.Name = "comboBoxComPort";
|
|
this.comboBoxComPort.Size = new System.Drawing.Size(90, 21);
|
|
this.comboBoxComPort.TabIndex = 7;
|
|
//
|
|
// SetupDialogForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(350, 175);
|
|
this.Controls.Add(this.comboBoxComPort);
|
|
this.Controls.Add(this.chkTrace);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.picASCOM);
|
|
this.Controls.Add(this.label1);
|
|
this.Controls.Add(this.cmdCancel);
|
|
this.Controls.Add(this.cmdOK);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "SetupDialogForm";
|
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "Meade.net Setup";
|
|
((System.ComponentModel.ISupportInitialize)(this.picASCOM)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button cmdOK;
|
|
private System.Windows.Forms.Button cmdCancel;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.PictureBox picASCOM;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.CheckBox chkTrace;
|
|
private System.Windows.Forms.ComboBox comboBoxComPort;
|
|
}
|
|
} |