928e724f5d
- correzioni calcolo periodo - impedito insert se pezzi /articoli 0/vuoti x work o senza durata x fermata
24 lines
629 B
C#
24 lines
629 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MP.Core.DTO
|
|
{
|
|
public class ManualStatusDTO
|
|
{
|
|
public int IdxTipo { get; set; } = 0;
|
|
public double Value { get; set; } = 0;
|
|
public double ValueMax { get; set; } = 1440;
|
|
public double ValuePerc
|
|
{
|
|
get => Value / ValueMax;
|
|
}
|
|
public string Title { get; set; } = "";
|
|
public string CssBlock { get; set; } = "";
|
|
public bool HasError { get; set; } = false;
|
|
}
|
|
}
|