package space.nstart.pcp.complan.settings

import org.springframework.stereotype.Service

@Service
/** Класс хранения настроек автомата планирования */
class AplSettings() {
    /** Типовые настройки работы автомата планирования */
    var settings = _root_ide_package_.space.nstart.pcp.complan.settings.SettingsDTO()
}

/* Типовой набор настроек
 {
  "daysCalc": 1,
  "kaList": [
    1,
    2,
    3
  ],
  "marBeginCorrectionTime": 1,
  "marEndCorrectionTime": 1,
  "marWidth": 30,
  "marOverlap": 1,
  "marMaxLength": 60,
  "marMinLength": 5,
  "maxRevTime": 300,
  "maxDayTime": 2100,
  "contourStepBuild": 1,
  "filterByRegionUUID": true,
  "regionList": ["831abc95-b3c2-4aec-96d7-7023e5256042"],
  "filterByGamma": true,
  "gammaValue": 1
}
Пример записи в БД
"{""daysCalc"":10,""kaList"":[1,2,3],""marBeginCorrectionTime"":1,""marEndCorrectionTime"":1,""marWidth"":30.0,""marOverlap"":1.0,""marMaxLength"":60.0,""marMinLength"":5.0,""maxRevTime"":300.0,""maxDayTime"":2100.0,""contourStepBuild"":1.0,""filterByRegionUUID"":true,""regionList"":[""3fa85f64-5717-4562-b3fc-111111111111""],""filterByGamma"":false,""gammaValue"":6.0,""filterByRevolution"":true,""revolutionType"":0}"

* */
