switch to new discovery method

This commit is contained in:
Kwimbee
2025-05-30 18:08:44 +02:00
parent 38ed61f881
commit 82ed837f62
9 changed files with 567 additions and 189 deletions

View File

@@ -39,8 +39,6 @@ namespace robospot_camera_finder
btnZoomMax = new Button();
tbRtspLink = new TextBox();
lblRtspLink = new Label();
labelSerial = new Label();
tbSerial = new TextBox();
cbTestZoom = new CheckBox();
timerZoomTestSeq = new System.Windows.Forms.Timer(components);
((System.ComponentModel.ISupportInitialize)videoView).BeginInit();
@@ -109,41 +107,22 @@ namespace robospot_camera_finder
// tbRtspLink
//
tbRtspLink.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
tbRtspLink.Location = new Point(312, 492);
tbRtspLink.Location = new Point(75, 492);
tbRtspLink.Name = "tbRtspLink";
tbRtspLink.ReadOnly = true;
tbRtspLink.Size = new Size(215, 23);
tbRtspLink.Size = new Size(559, 23);
tbRtspLink.TabIndex = 8;
//
// lblRtspLink
//
lblRtspLink.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
lblRtspLink.AutoSize = true;
lblRtspLink.Location = new Point(249, 494);
lblRtspLink.Location = new Point(12, 495);
lblRtspLink.Name = "lblRtspLink";
lblRtspLink.Size = new Size(57, 15);
lblRtspLink.TabIndex = 7;
lblRtspLink.Text = "RTSP Link";
//
// labelSerial
//
labelSerial.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
labelSerial.AutoSize = true;
labelSerial.Location = new Point(9, 494);
labelSerial.Name = "labelSerial";
labelSerial.Size = new Size(82, 15);
labelSerial.TabIndex = 6;
labelSerial.Text = "Serial Number";
//
// tbSerial
//
tbSerial.Anchor = AnchorStyles.Bottom | AnchorStyles.Left;
tbSerial.Location = new Point(102, 492);
tbSerial.Name = "tbSerial";
tbSerial.ReadOnly = true;
tbSerial.Size = new Size(124, 23);
tbSerial.TabIndex = 5;
//
// cbTestZoom
//
cbTestZoom.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
@@ -170,9 +149,7 @@ namespace robospot_camera_finder
Controls.Add(tbRtspLink);
Controls.Add(lblRtspLink);
Controls.Add(videoView);
Controls.Add(labelSerial);
Controls.Add(btnZoomMax);
Controls.Add(tbSerial);
Controls.Add(tbZoom);
Controls.Add(btnZoomMin);
Icon = (Icon)resources.GetObject("$this.Icon");
@@ -194,8 +171,6 @@ namespace robospot_camera_finder
private System.Windows.Forms.Timer timerUpdateZoom;
private Button btnZoomMin;
private Button btnZoomMax;
private Label labelSerial;
private TextBox tbSerial;
private TextBox tbRtspLink;
private Label lblRtspLink;
private CheckBox cbTestZoom;