fix adding two cams with same ip
This commit is contained in:
@@ -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