Compare commits

1 Commits

Author SHA1 Message Date
72501532fe fix adding two cams with same ip
bump version
2025-05-31 23:47:09 +02:00

View File

@@ -14,7 +14,7 @@ namespace robospot_camera_finder
{
public partial class MainForm : Form
{
public string VERSION = "1.0.0";
public string VERSION = "1.1.0";
private BindingList<Camera> all_cameras = new();
@@ -235,7 +235,7 @@ namespace robospot_camera_finder
{
string ipAddress = manualForm.ipAddress;
Camera camera_to_add = new Camera("Camera " + ipAddress, ipAddress, "", "");
Camera camera_to_add = new Camera("Camera " + ipAddress, ipAddress, "", "CAM_FINDER_" + DateTime.Now.Ticks.ToString());
add_camera(camera_to_add);
}
}