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