ShakerSettingModel.cs 695 B

12345678910111213141516171819202122
  1. using Shaker.Models;
  2. using System;
  3. using System.IO;
  4. namespace ShakerApp.Models
  5. {
  6. public class ShakerSettingModel : BaseModel
  7. {
  8. public string Language = "zh-cn";
  9. public string DataDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory,"Data");
  10. public WorkingMode WorkingMode = WorkingMode.Local;
  11. public string RemoteIP = "127.0.0.1";
  12. public int RemotePort = 61616;
  13. public RemoteControlModel RemoteControlModel = RemoteControlModel.Lan;
  14. public bool EnabledRemote = false;
  15. public bool AutoStartService = false;
  16. public override object Clone()
  17. {
  18. return this.CloneBase();
  19. }
  20. }
  21. }