using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Valg.EVA.Skanning.Contracts.CommonEnums;
using Valg.EVA.Skanning.Resources.Language;

namespace Valg.EVA.Skanning.Scan.Presentation.Sample
{
    public class CountingMetaData
    {
        public int BoxId { get; set; }
        public int Counting { get; set; }
        public CountingType CountingType { get; set; }
        public string ButtonText
        {
            get
            {
                if (CountingType == CountingType.Final)
                {
                    return $"{SampleLanguageString.ModalDialog_MultipleCountings_FinalCount} {Counting}";
                }

                if (CountingType == CountingType.Preliminary)
                {
                    return $"{SampleLanguageString.ModalDialog_MultipleCountings_PreliminaryCount} {Counting}";
                }

                return $"{SampleLanguageString.ModalDialog_MultipleCountings_UnknownCount} {Counting}";
            }
        }
    }
}

