// Copyright © Selmo Technology GmbH. All Rights Reserved

using Novus.Shared.Dto;
using Novus.Shared.Id;
using SelmoStudio.Hmi.Server.SelmoHmi.Group.Model.Ids;
using SelmoStudio.Hmi.Server.SelmoHmi.Sequence.Model.Ids;

namespace SelmoStudio.Hmi.Server.SelmoHmi.Sequence.Model.Dto
{
    public record StepDto : IStorageDto
    {
        IGuidBasedId IDto.Id => Id;
        public StepId Id { get; init; }
        public string Name { get; init; }
        public string Description { get; init; }
        //public string Group { get; init; }
        public string HmiDisplayText { get; init; }
        public double PlcStepTimeout { get; init; }
        public double PlcStepTimeoutAdditional { get; init; }
        public bool PlcStepTimeoutDisable { get; init; }
        public bool PlcEndOfCycle { get; init; }
        public bool ShowIndication { get; init; }
        public GroupId Group { get; init; }
    }
}