offline 모드에서 ip/mac 조회하도록 함. ip가 없으면 reel generate 가 동작하지 않음

This commit is contained in:
ChiKyun Kim
2025-09-28 14:43:00 +09:00
parent 16da4a5ffa
commit 1ebbb83866
5 changed files with 69 additions and 48 deletions

View File

@@ -95,7 +95,7 @@ namespace Project
//
if (SETTING.User.LastModelV != "") PUB.SelectModelV(SETTING.User.LastModelV, false);
var motionmodel = SETTING.User.LastModelM;
if (motionmodel.isEmpty()) motionmodel = PUB.Result.vModel.Motion;
if (motionmodel.isEmpty()) motionmodel = PUB.Result.vModel.Motion ?? string.Empty;
if (motionmodel.ToUpper().StartsWith("CONV")) PUB.flag.set(eVarBool.Use_Conveyor, true, "load");
else PUB.flag.set(eVarBool.Use_Conveyor, false, "load");
PUB.SelectModelM(motionmodel, false);