private StepsProperties GetStepProperties(ShedulerStep step, int parentStepId, bool isPositive)
 {
     if (step == null)
     {
         return(null);
     }
     return(new StepsProperties
     {
         Id = step.Id,
         ParentId = parentStepId,
         IsPositive = isPositive,
         OperationId = step.OperationType,
         OperationName = MQueryCommand.GetOperationNameRusById(step.OperationType),
         WaitingForSuccessInterval = step.OperationCheckIntervalMs / MILLISECONDS_IN_SECOND,
         RepeatingIntervalOn1cWaiting = (step.RepeatTimeout ?? 0) / MILLISECONDS_IN_SECOND,
         RepeatTimesOnLackOf1cResponse = step.RepeatCount ?? 0
     });
 }