fix adding two cams with same ip
bump version
This commit is contained in:
@@ -14,7 +14,7 @@ namespace robospot_camera_finder
|
|||||||
{
|
{
|
||||||
public partial class MainForm : Form
|
public partial class MainForm : Form
|
||||||
{
|
{
|
||||||
public string VERSION = "1.0.0";
|
public string VERSION = "1.1.0";
|
||||||
|
|
||||||
private BindingList<Camera> all_cameras = new();
|
private BindingList<Camera> all_cameras = new();
|
||||||
|
|
||||||
@@ -235,7 +235,7 @@ namespace robospot_camera_finder
|
|||||||
{
|
{
|
||||||
string ipAddress = manualForm.ipAddress;
|
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);
|
add_camera(camera_to_add);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user