update:ip地址

This commit is contained in:
ltx 2025-12-22 09:12:07 +08:00
parent 8ae8397bb2
commit d678b1f856
3 changed files with 4 additions and 4 deletions

View File

@ -56,7 +56,7 @@ namespace Wpf_AiSportsMicrospace.Common
{ {
try try
{ {
_webcamClient = WebcamClient.CreateRTSP("172.17.30.64", "admin", "yd708090", 554u); _webcamClient = WebcamClient.CreateRTSP("172.17.30.66", "admin", "yd708090", 554u);
} }
catch (Exception) catch (Exception)
{ {

View File

@ -304,7 +304,7 @@ namespace Views.JumpLong
var points = db.JumpLongPoints.FirstOrDefault(); var points = db.JumpLongPoints.FirstOrDefault();
var boxes = new List<BoundingBox>() var boxes = new List<BoundingBox>()
{ {
new BoundingBox(){ new(){
ImageWidth = frameWidth, ImageWidth = frameWidth,
ImageHeight = frameHeight, ImageHeight = frameHeight,
Label = new PredictionLabel(){ Label = new PredictionLabel(){
@ -317,7 +317,7 @@ namespace Views.JumpLong
] ]
} }
}, },
new BoundingBox(){ new(){
ImageWidth = frameWidth, ImageWidth = frameWidth,
ImageHeight = frameHeight, ImageHeight = frameHeight,
Label = new PredictionLabel{ Label = new PredictionLabel{

View File

@ -62,7 +62,7 @@ namespace Wpf_AiSportsMicrospace.Views
using var scope = App.AppHost.Services.CreateScope(); using var scope = App.AppHost.Services.CreateScope();
var db = scope.ServiceProvider.GetRequiredService<AppDbContext>(); var db = scope.ServiceProvider.GetRequiredService<AppDbContext>();
var BaseData = await db.BasicConfig.FirstOrDefaultAsync(); var BaseData = await db.BasicConfig.FirstOrDefaultAsync();
var host = "172.17.30.64"; var host = "172.17.30.66";
var name = "admin"; var name = "admin";
var password = "yd708090"; var password = "yd708090";
if (BaseData != null) { if (BaseData != null) {