Exemplo n.º 1
0
 private void UpdSettings(Settings settings)
 {
     PsysSettings            = settings.PsysSettings;
     PaceSettings            = settings.PaceSettings;
     AmmetrSettins           = settings.AmmetrSettins;
     JsonReportSettings      = settings.JsonReportSettings;
     PathToDb                = settings.PathToDb;
     DbPassword              = settings.DbPassword;
     UsedStandDatabase       = settings.UsedStandDatabase;
     UsedRemoteControl       = settings.UsedRemoteControl;
     UsedAutomaticSortingOut = settings.UsedAutomaticSortingOut;
     RemoteControlIp         = settings.RemoteControlIp;
     if (!string.IsNullOrEmpty(settings.RemoteControlVer))
     {
         RemoteControlVer = settings.RemoteControlVer;
     }
     else
     {
         RemoteControlVer = "v1.0";
     }
     PressSystemItem = settings.PressSystemItem;
     ShowVariation   = settings.ShowVariation;
     TestPause100    = settings.TestPause100;
     Password        = settings.Password;
 }
Exemplo n.º 2
0
 public Settings()
 {
     PsysSettings       = new PressureSystemSettings();
     PaceSettings       = new PaceSettings();
     AmmetrSettins      = new AmmetrSettins();
     JsonReportSettings = new JsonReportSettings();
 }
Exemplo n.º 3
0
 public JsonAdapter(JsonReportSettings settings)
 {
     this.settings = settings;
 }