삽질하다 도저히 문제 파악이 안돼서 opcUaManager로 분리 테스트 중

This commit is contained in:
2026-02-25 08:52:03 +09:00
parent 4ea351946a
commit e88ab87771
138 changed files with 1051971 additions and 351 deletions

View File

@@ -1,20 +1,28 @@
using System.ComponentModel.DataAnnotations;
namespace OpcPks.Core.Models
{
public class CertRequestModel
{
// UI에서 asp-for가 이 이름을 찾습니다.
[Required]
public string AdminId { get; set; } = "mngr";
[Required]
[DataType(DataType.Password)]
public string AdminPassword { get; set; } = "mngr";
public string ApplicationName { get; set; } = "OpcPksClient";
public bool IsRedundant { get; set; } = false;
// 서버 호스트네임 (예: HONPKS)
public string PrimaryHostName { get; set; } = "";
public string SecondaryHostName { get; set; } = ""; // Redundant일 때 필수
public string PrimaryHostName { get; set; } = "192.168.0.20";
public string SecondaryHostName { get; set; } = "192.168.1.20";
// FTE 네트워크 구조 반영 (네트워크 대역 분리)
public string PrimaryIpA { get; set; } = ""; // 192.168.0.x 대역
public string PrimaryIpB { get; set; } = ""; // 192.168.1.x 대역 (FTE 이중화 시)
public string? PrimaryIpA { get; set; } = ""; // Yellow
public string? PrimaryIpB { get; set; } = ""; // Green
public string SecondaryIpA { get; set; } = ""; // 192.168.0.y 대역
public string SecondaryIpB { get; set; } = ""; // 192.168.1.y 대역
public string SecondaryIpA { get; set; } = "";
public string SecondaryIpB { get; set; } = "";
public int ValidityYears { get; set; } = 5;
}