using System.Text.RegularExpressions; namespace EgwCoreLib.Lux.Core { public class Enums { public enum OfferStates { /// /// Offerta aperta (da confermare) /// Open, /// /// Offerta convertita in ordine /// Confirmed, /// /// Offerta Scaduta /// Expired, /// /// Offerta Persa /// Lost } public enum OrderStates { /// /// Ordine creato come conferma da offerta /// Created, /// /// Eseguite simulazioni e calcolo lavorazioni/tempi /// Estimated, /// /// Assegnato a impianto (per ogni item/riga) /// Assigned, /// /// Schedulato in produzione (data sulla fase critica) /// Planned, /// /// In produzione /// Running, /// /// Completato in produzione /// Completed, /// /// Completato in produzione /// Delivered, /// /// Ordine chiuso per evasione totale /// Closed } public enum DisplayMode { Standard, Preview, Edit } /// /// Tipologia item /// public enum ItemClassType { ND = 0, /// /// Item acquistato /// Buy, /// /// Item Prodotto /// Make, /// /// Semilavorato /// Wip, /// /// Art da BOM /// Bom, /// /// Art alternativo da BOM /// BomAlt } /// /// Enum risultati verifica lavorabilità part (e tempo) /// public enum PartVerificationResult { CALCULATIONFAILED = -1, NOTMACHINABLE = 0, MACHINABLE = 1, } #if false /// /// Modo chiamata Engine /// public enum EngineQueryType { None = 0, Preview, Bom, HardwareModelList } #endif #if false /// /// SubMode di chiamata Engine /// public enum EngineSubMode { NULL = 0, LIST = 1, CALCSASH = 2, SASHOPTIONS = 3 } #endif #if false /// /// Elenco produttori Hardware /// public enum EngineHwManufacturers { NULL = 0, AGB = 1, MAICO = 2, ROTO = 3 } #endif } }