完成Mqtt服务器添加功能

This commit is contained in:
2025-09-06 12:03:39 +08:00
parent 08f9de137e
commit 52f76e2377
18 changed files with 417 additions and 271 deletions

View File

@@ -97,7 +97,7 @@ namespace DMS.Infrastructure.UnitTests
{
var dbMqttServer = new Faker<DbMqttServer>()
.RuleFor(d => d.ServerName, f => f.Company.CompanyName())
.RuleFor(d => d.BrokerAddress, f => f.Internet.Ip())
.RuleFor(d => d.ServerUrl, f => f.Internet.Ip())
.RuleFor(d => d.Username, f => f.Internet.UserName())
.RuleFor(d => d.Password, f => f.Internet.Password())
.RuleFor(d => d.SubscribeTopic, f => "/topic/sub")