Comment out some params

This commit is contained in:
2025-08-28 10:35:09 +09:00
parent 07e707f022
commit b0501cbed9

View File

@ -50,24 +50,29 @@ namespace Hcs.TestApp.Scenario
contractNumber = "239297999", contractNumber = "239297999",
signingDate = signingDate, signingDate = signingDate,
effectiveDate = effectiveDate, effectiveDate = effectiveDate,
indefiniteTerm = false, // TODO: Очень странно, что сервис не дает отправить значения
// для indefiniteTerm и automaticRollOverOneYear одновременно,
// хотя в выгружаемом шаблоне они оба заполнены
//indefiniteTerm = false,
automaticRollOverOneYear = true, automaticRollOverOneYear = true,
comptetionDate = comptetionDate, comptetionDate = comptetionDate,
period = new SupplyResourceContractTypePeriod() // TODO: Не дает выгрузить период
{ //period = new SupplyResourceContractTypePeriod()
Start = new SupplyResourceContractTypePeriodStart() //{
{ // Start = new SupplyResourceContractTypePeriodStart()
StartDate = 20, // {
NextMonth = false, // StartDate = 20,
NextMonthSpecified = true // // TODO: Ломается если отправить NextMonth = false, если отправить true - то все ОК
}, // //NextMonth = false,
End = new SupplyResourceContractTypePeriodEnd() // //NextMonthSpecified = true
{ // },
EndDate = 25, // End = new SupplyResourceContractTypePeriodEnd()
NextMonth = false, // {
NextMonthSpecified = true // EndDate = 25,
} // //NextMonth = false,
}, // //NextMonthSpecified = true
// }
//},
isPlannedVolume = false, isPlannedVolume = false,
contractSubject = [new SupplyResourceContractTypeContractSubject() contractSubject = [new SupplyResourceContractTypeContractSubject()
{ {
@ -125,6 +130,7 @@ namespace Hcs.TestApp.Scenario
Date = 10, Date = 10,
DateType = SupplyResourceContractTypePaymentDateDateType.N DateType = SupplyResourceContractTypePaymentDateDateType.N
}, },
// TODO: Не дает задать этот параметр, из-за чего приходится удалять период
meteringDeviceInformation = true, meteringDeviceInformation = true,
volumeDepends = false, volumeDepends = false,
oneTimePayment = false, oneTimePayment = false,