From 511f13d9854473b8be2ee415a7330ecda048153d Mon Sep 17 00:00:00 2001 From: "Samuele E. Locatelli" Date: Thu, 3 Sep 2020 14:06:39 +0200 Subject: [PATCH] riorganizzaizone classi obj --- GPW_Data/Enums.cs | 44 ++++++++++++++++++++++++++++++++++++++++++++ GPW_Data/Objects.cs | 14 ++++++++++++++ GPW_Data/utils.cs | 36 ------------------------------------ 3 files changed, 58 insertions(+), 36 deletions(-) create mode 100644 GPW_Data/Enums.cs create mode 100644 GPW_Data/Objects.cs diff --git a/GPW_Data/Enums.cs b/GPW_Data/Enums.cs new file mode 100644 index 0000000..c0a8cce --- /dev/null +++ b/GPW_Data/Enums.cs @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace GPW_data +{ + /// + /// elenco stato controllo + /// + public enum statoControllo + { + edit, + insert, + item + } + /// + /// definisce i tipi di codice che il barcode può leggere + /// + public enum tipoCodiceBarcode + { + /// + /// Tipo non riconosciuto + /// + ND, + /// + /// [idx] - il barcode rappresenta un codice dipendente tipo "idx" + numero + /// + idxDipendente, + /// + /// [matr] - il barcode rappresenta un codice dipendente tipo "matr" + matricola + /// + matrDipendente, + /// + /// [CF] - il barcode rappresenta un codice dipendente tipo "cf" + cod fiscale dipendente + /// + cfDipendente, + /// + /// codice che indica un comando (prefisso da web.config) + /// + Comando + } +} diff --git a/GPW_Data/Objects.cs b/GPW_Data/Objects.cs new file mode 100644 index 0000000..86a6f42 --- /dev/null +++ b/GPW_Data/Objects.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace GPW_data +{ + public class chartJsTimeSerie + { + public DateTime x { get; set; } + public decimal y { get; set; } + } +} diff --git a/GPW_Data/utils.cs b/GPW_Data/utils.cs index fa14475..428f20f 100644 --- a/GPW_Data/utils.cs +++ b/GPW_Data/utils.cs @@ -355,40 +355,4 @@ namespace GPW_data } } - /// - /// elenco stato controllo - /// - public enum statoControllo - { - edit, - insert, - item - } - /// - /// definisce i tipi di codice che il barcode può leggere - /// - public enum tipoCodiceBarcode - { - /// - /// Tipo non riconosciuto - /// - ND, - /// - /// [idx] - il barcode rappresenta un codice dipendente tipo "idx" + numero - /// - idxDipendente, - /// - /// [matr] - il barcode rappresenta un codice dipendente tipo "matr" + matricola - /// - matrDipendente, - /// - /// [CF] - il barcode rappresenta un codice dipendente tipo "cf" + cod fiscale dipendente - /// - cfDipendente, - /// - /// codice che indica un comando (prefisso da web.config) - /// - Comando - } - }