MqttOptions.cs 503 B

1234567891011121314151617
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Fuel.Application.MqttService
  7. {
  8. public class MqttOptions
  9. {
  10. public string Server { get; set; } = "192.168.5.5";
  11. public int Port { get; set; } = 1883;
  12. public string ClientId { get; set; } = $"client_{Guid.NewGuid()}";
  13. public string Username { get; set; } = "HSClient";
  14. public string Password { get; set; } = "HS202503";
  15. }
  16. }