From 9493a730360fbcf5afb612bcd7b3bcbe0a2174f9 Mon Sep 17 00:00:00 2001 From: Roy Ben-Shabat Date: Mon, 13 Aug 2018 19:50:34 +0300 Subject: Implemented EventTypes excel generator. Added and delete new hardware events according to Events.xlsx document. --- Software/DB/Tango.mdf | Bin 75497472 -> 75497472 bytes Software/DB/Tango_log.ldf | Bin 1835008 -> 15400960 bytes Software/PMR/Messages/Diagnostics/EventType.proto | 488 +++++++++-- Software/Visual_Studio/Resources/Events.xlsx | Bin 0 -> 17108 bytes .../Tango.BL/Enumerations/EventTypes.cs | 908 ++++++++++++++++++--- .../Tango.BL/Enumerations/EventTypesGroups.cs | 30 +- .../Tango.PMR/Diagnostics/EventType.cs | 708 +++++++++++++--- Software/Visual_Studio/Tango.sln | 55 +- .../Tango.EventsTypesGenerator/App.config | 16 + .../Tango.EventsTypesGenerator/Program.cs | 81 ++ .../Properties/AssemblyInfo.cs | 9 + .../Tango.EventsTypesGenerator.csproj | 81 ++ .../Tango.EventsTypesGenerator/packages.config | 4 + .../Utilities/Tango.PMRGenerator.CLI/Program.cs | 8 +- 14 files changed, 2079 insertions(+), 309 deletions(-) create mode 100644 Software/Visual_Studio/Resources/Events.xlsx create mode 100644 Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/App.config create mode 100644 Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Program.cs create mode 100644 Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Properties/AssemblyInfo.cs create mode 100644 Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Tango.EventsTypesGenerator.csproj create mode 100644 Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/packages.config (limited to 'Software') diff --git a/Software/DB/Tango.mdf b/Software/DB/Tango.mdf index 974a3d76f..97c8b24cd 100644 Binary files a/Software/DB/Tango.mdf and b/Software/DB/Tango.mdf differ diff --git a/Software/DB/Tango_log.ldf b/Software/DB/Tango_log.ldf index d7a96e0c8..7beb87baf 100644 Binary files a/Software/DB/Tango_log.ldf and b/Software/DB/Tango_log.ldf differ diff --git a/Software/PMR/Messages/Diagnostics/EventType.proto b/Software/PMR/Messages/Diagnostics/EventType.proto index 5376b870b..1b4db2b85 100644 --- a/Software/PMR/Messages/Diagnostics/EventType.proto +++ b/Software/PMR/Messages/Diagnostics/EventType.proto @@ -16,136 +16,448 @@ option java_package = "com.twine.tango.pmr.diagnostics"; enum EventType { - //Dancer overshot / Thread break sensor (Group = Thread Feeding System, Category = Error, Actions = Abort Running Job, Prevent Job Execution, Soft Visual Notification) - ThreadBreak = 0; + //None (Group = Application, Category = Info, Actions = ) + None = 0; - //Dancer not stable or got down (Group = Thread Feeding System, Category = Error, Actions = Abort Running Job, Soft Visual Notification, Prevent Job Execution) - ThreadTensionControlFailure = 1; + // Thread Break (Group = Thread Feeding System, Category = Error, Actions = ) + ThreadBreak = 1; - //Source thread counter (counter shall be reset upon loading a new cone) (Group = Thread Feeding System, Category = Error, Actions = Abort Running Job, Prevent Job Execution, Soft Visual Notification) - FeederConeInsufficiant = 2; + // Thread Tension Control Failure (Group = Thread Feeding System, Category = Error, Actions = ) + ThreadTensionControlFailure = 2; - //Winder Controller (Group = Thread Feeding System, Category = Error, Actions = Abort Running Job, Prevent Job Execution, Soft Visual Notification) - WinderGeneralError = 3; + // Feeder Cone Insufficiant (Group = Thread Feeding System, Category = Warning, Actions = ) + FeederConeInsufficiant = 3; - //SW_SPOOL_EXISTS='0' or Winder Controller (Group = Thread Feeding System, Category = Error, Actions = Abort Running Job, Prevent Job Execution, Soft Visual Notification) - WinderConeNotExists = 4; + // Winder General Error (Group = Thread Feeding System, Category = Error, Actions = ) + WinderGeneralError = 4; - //Motor Stall (Group = Thread Feeding System, Category = Error, Actions = Abort Running Job, Soft Visual Notification, Prevent Job Execution) - ThreadFeedingGeneralError = 5; + // Winder Cone Not Exists (Group = Thread Feeding System, Category = Warning, Actions = ) + WinderConeNotExists = 5; - //Dyeing Head Thermometers (Group = DH Dryer, Category = Error, Actions = Abort Running Job, Soft Visual Notification, Prevent Job Execution) - DyeingHeadOverTemperature = 6; + // Thread Feeding General Error (Group = Thread Feeding System, Category = Error, Actions = ) + ThreadFeedingGeneralError = 6; - //Current sense in all heaters is 0 (Group = DH Dryer, Category = Error, Actions = Abort Running Job, Soft Visual Notification, Prevent Job Execution) - DHThermalCutoff = 7; + // Dyeing Head 1 Over Temperature (Group = Dryer Head, Category = Critical, Actions = ) + DyeingHead1OverTemperature = 7; - //Dryer Thermometers (Group = DH Dryer, Category = Error, Actions = Prevent Job Execution, Abort Running Job, Soft Visual Notification) - DryerOverTemperature = 8; + // Dyeing Head 2 Over Temperature (Group = Dryer Head, Category = Critical, Actions = ) + DyeingHead2OverTemperature = 8; - //Current sense in all heaters is 0 (Group = DH Dryer, Category = Error, Actions = Abort Running Job, Soft Visual Notification, Prevent Job Execution) - DryerThermalCutoff = 9; + // Dyeing Head 3 Over Temperature (Group = Dryer Head, Category = Critical, Actions = ) + DyeingHead3OverTemperature = 9; - //Dyeing head Heaters failure (Under /Over current) (Group = DH Dryer, Category = Error, Actions = Soft Visual Notification, Prevent Job Execution, Abort Running Job) - DyeingHeadHeatersCurrentOutOfRange = 10; + // Dyeing Head 4 Over Temperature (Group = Dryer Head, Category = Critical, Actions = ) + DyeingHead4OverTemperature = 10; - //Dryer Heaters failure (Under /Over current) (Group = DH Dryer, Category = Error, Actions = Abort Running Job, Soft Visual Notification, Prevent Job Execution) - DryerHeatersCurrentOutOfRange = 11; + // Dyeing Head 5 Over Temperature (Group = Dryer Head, Category = Critical, Actions = ) + DyeingHead5OverTemperature = 11; - //Covers Tampers (Group = DH Dryer, Category = Error, Actions = Prevent Job Execution, Soft Visual Notification) - DryerDHeadCoverOpen = 12; + // Dyeing Head 6 Over Temperature (Group = Dryer Head, Category = Critical, Actions = ) + DyeingHead6OverTemperature = 12; - //Pressure sensor Purex or Air flow sensor (Flap) (Group = Waste Handling System, Category = Error, Actions = Abort Running Job, Prevent Job Execution, Soft Visual Notification) - AirFilterClogged = 13; + // Dyeing Head Thermal Cutoff (Group = Dryer Head, Category = Critical, Actions = ) + DyeingHeadThermalCutoff = 13; - //Micro-switch (Group = Waste Handling System, Category = Error, Actions = Abort Running Job, Prevent Job Execution, Soft Visual Notification) - AirFilterNotInstalled = 14; + // Dryer Over Temperature (Group = Dryer, Category = Critical, Actions = ) + DryerOverTemperature = 14; - //blower techo. Feedback, air flap (Group = Waste Handling System, Category = Error, Actions = Prevent Job Execution, Soft Visual Notification, Abort Running Job) - WHSFailure = 15; + // Dryer Thermal Cutoff (Group = Dryer, Category = Critical, Actions = ) + DryerThermalCutoff = 15; - //Check container float sensor (Group = Waste Handling System, Category = Warning, Actions = Soft Visual Notification) - WasteContainerIsAlmostFull = 16; + // Dyeing Head Heaters Current Out Of Range (Group = Dryer Head, Category = Error, Actions = ) + DyeingHeadHeatersCurrentOutOfRange = 16; - //Check container float sensor (Group = Waste Handling System, Category = Error, Actions = Soft Visual Notification) - WasteContainerIsFull = 17; + // Dryer Heaters Current Out Of Range (Group = Dryer, Category = Error, Actions = ) + DryerHeatersCurrentOutOfRange = 17; - //Dispenser position sensor/s (Group = Ink Delivery System, Category = Error, Actions = Prevent Job Execution, Abort Running Job, Soft Visual Notification) - DispenserEmpty = 18; + // Dryer Dying Head Cover Open (Group = Dryer, Category = Error, Actions = ) + DryerDHeadCoverOpen = 18; - //Check if job can be executor refill needed (Group = Ink Delivery System, Category = Warning, Actions = Soft Visual Notification) - DispenserLowLevel = 19; + // Air Filter Clogged (Group = Waste Handling System, Category = Error, Actions = ) + AirFilterClogged = 19; - //Cartridge float displacement (Group = Ink Delivery System, Category = Error, Actions = Prevent Job Execution, Soft Visual Notification) - DispenserRefillFailure = 20; + // Air Filter Not Installed (Group = Waste Handling System, Category = Error, Actions = ) + AirFilterNotInstalled = 20; - //Mid-Tank (Group = Ink Delivery System, Category = Warning, Actions = Soft Visual Notification) - MidTankEmpty = 21; + // WHS Failure (Group = Waste Handling System, Category = Error, Actions = ) + WHSFailure = 21; - //Cartridge float sensor (Group = Ink Delivery System, Category = Warning, Actions = Soft Visual Notification) - MidTankLowLevel = 22; + // Waste Container Is Almost Full (Group = Waste Handling System, Category = Warning, Actions = ) + WasteContainerIsAlmostFull = 22; - //Cartridge float sensor or Additional micro-switch (Group = Ink Delivery System, Category = Warning, Actions = Soft Visual Notification) - MidTankNotInPlace = 23; + // Waste Container Is Full (Group = Waste Handling System, Category = Error, Actions = ) + WasteContainerIsFull = 23; - //System BIT Failure (Group = General Hardware, Category = Error, Actions = Soft Visual Notification) - SystemBITFail = 24; + // Dispenser 1 Empty (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser1Empty = 24; - //Internal Thermostat (Group = General Hardware, Category = Error, Actions = Prevent Job Execution, Soft Visual Notification, Abort Running Job, Stop Heaters) - GeneralInternalOverTemperature = 25; + // Dispenser 2 Empty (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser2Empty = 25; - //Covers Tampers (Group = General Hardware, Category = Warning, Actions = Soft Visual Notification) - MachineCoverOpen = 26; + // Dispenser 3 Empty (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser3Empty = 26; - //EPB (Group = General Hardware, Category = Critical, Actions = Overall Power Down, Soft Visual Notification) - EmergencyPushButtonPressed = 27; + // Dispenser 4 Empty (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser4Empty = 27; - //System General Error (Group = General Hardware, Category = Warning, Actions = Soft Visual Notification) - SystemGeneralError = 28; + // Dispenser 5 Empty (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser5Empty = 28; - //Occurs a request has been sent to the machine or external bridge service (Group = Transport, Category = Info, Actions = ) - RequestSent = 29; + // Dispenser 6 Empty (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser6Empty = 29; - //Occurs when a response has been received (Group = Transport, Category = Info, Actions = ) - ResponseReceived = 30; + // Dispenser 7 Empty (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser7Empty = 30; - //Occurs when a request to the machine has failed (Group = Transport, Category = Error, Actions = ) - RequestFailed = 31; + // Dispenser 8 Empty (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser8Empty = 31; - //Occurs when the application has encountered some error (Group = Application, Category = Error, Actions = ) - ApplicationException = 32; + // Dispenser 1 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser1LowLevel = 32; - //General application event logs (Group = Application, Category = Info, Actions = ) - ApplicationInformation = 33; + // Dispenser 2 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser2LowLevel = 33; - //Notifies about application succesfully started (Group = Application, Category = Info, Actions = ) - ApplicationStarted = 34; + // Dispenser 3 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser3LowLevel = 34; - //Notifies about application termination (Group = Application, Category = Info, Actions = ) - ApplicationTerminated = 35; + // Dispenser 4 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser4LowLevel = 35; - //Occurs when a diagnostics recording has been started (Group = Application, Category = Info, Actions = ) - RecordingStarted = 36; + // Dispenser 5 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser5LowLevel = 36; - //Occurs when a diagnostics recording has been stopped (Group = Application, Category = Info, Actions = ) - RecordingStopped = 37; + // Dispenser 6 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser6LowLevel = 37; - //Occurs when a job status message has been received from the embedded device (Group = Application, Category = Info, Actions = ) - JobStatus = 38; + // Dispenser 7 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser7LowLevel = 38; - //Occurs when the pressure at the dispenser is too high - DispenserPressure = 39; + // Dispenser 8 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) + Dispenser8LowLevel = 39; - // Occurs when a motor driver reports too high current on the motor - MotorOverCurrent = 40; + // Dispenser 1 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + Dispenser1RefillFailure = 40; - // Occurs when a motor drivershuts down the motor due to a too high temperature - MotorOverTemperature = 41; + // Dispenser 2 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + Dispenser2RefillFailure = 41; - // Occurs when a motor driver reports too low voltage on the motor - MotorUnderVoltage = 42; + // Dispenser 3 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + Dispenser3RefillFailure = 42; - // Occurs when a motor driver reports too high current on the motor - MotorStall = 43; + // Dispenser 4 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + Dispenser4RefillFailure = 43; + + // Dispenser 5 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + Dispenser5RefillFailure = 44; + + // Dispenser 6 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + Dispenser6RefillFailure = 45; + + // Dispenser 7 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + Dispenser7RefillFailure = 46; + + // Dispenser 8 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + Dispenser8RefillFailure = 47; + + // Dispenser 1 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + Dispenser1Pressure = 48; + + // Dispenser 2 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + Dispenser2Pressure = 49; + + // Dispenser 3 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + Dispenser3Pressure = 50; + + // Dispenser 4 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + Dispenser4Pressure = 51; + + // Dispenser 5 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + Dispenser5Pressure = 52; + + // Dispenser 6 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + Dispenser6Pressure = 53; + + // Dispenser 7 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + Dispenser7Pressure = 54; + + // Dispenser 8 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + Dispenser8Pressure = 55; + + // Mid Tank 1 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank1Empty = 56; + + // Mid Tank 2 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank2Empty = 57; + + // Mid Tank 3 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank3Empty = 58; + + // Mid Tank 4 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank4Empty = 59; + + // Mid Tank 5 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank5Empty = 60; + + // Mid Tank 6 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank6Empty = 61; + + // Mid Tank 7 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank7Empty = 62; + + // Mid Tank 8 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank8Empty = 63; + + // Mid Tank 1 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank1Lowlevel = 64; + + // Mid Tank 2 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank2Lowlevel = 65; + + // Mid Tank 3 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank3Lowlevel = 66; + + // Mid Tank 4 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank4Lowlevel = 67; + + // Mid Tank 5 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank5Lowlevel = 68; + + // Mid Tank 6 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank6Lowlevel = 69; + + // Mid Tank 7 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank7Lowlevel = 70; + + // Mid Tank 8 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank8Lowlevel = 71; + + // Mid Tank 1 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank1NotInPlace = 72; + + // Mid Tank 2 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank2NotInPlace = 73; + + // Mid Tank 3 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank3NotInPlace = 74; + + // Mid Tank 4 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank4NotInPlace = 75; + + // Mid Tank 5 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank5NotInPlace = 76; + + // Mid Tank 6 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank6NotInPlace = 77; + + // Mid Tank 7 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank7NotInPlace = 78; + + // Mid Tank 8 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + MidTank8NotInPlace = 79; + + // System Built In Test Fail (Group = General Hardware, Category = Critical, Actions = ) + SystemBITFail = 80; + + // General Internal Over Temperature (Group = General Hardware, Category = Critical, Actions = ) + GeneralInternalOverTemperature = 81; + + // Machine Cover Open (Group = General Hardware, Category = Warning, Actions = ) + MachineCoverOpen = 82; + + // Emergency Push Button Pressed (Group = General Hardware, Category = Critical, Actions = ) + EmergencyPushButtonPressed = 83; + + // System General Error (Group = General Hardware, Category = Error, Actions = ) + SystemGeneralError = 84; + + // Motor Dryer Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + MotorDryerOverCurrent = 93; + + // Motor Feeder Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + MotorFeederOverCurrent = 94; + + // Motor Right Loader Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + MotorRLoaderOverCurrent = 95; + + // Motor Pooler Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + MotorPoolerOverCurrent = 96; + + // Motor Left Loader Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + MotorLLoaderOverCurrent = 97; + + // Motor Winder Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + MotorWinderOverCurrent = 98; + + // Motor Screw Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + MotorScrewOverCurrent = 99; + + // Motor Loading Arm Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + MotorLoadingArmOverCurrent = 100; + + // Motor Dispenser 1 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser1OverCurrent = 101; + + // Motor Dispenser 2 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser2OverCurrent = 102; + + // Motor Dispenser 3 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser3OverCurrent = 103; + + // Motor Dispenser 4 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser4OverCurrent = 104; + + // Motor Dispenser 5 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser5OverCurrent = 105; + + // Motor Dispenser 6 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser6OverCurrent = 106; + + // Motor Dispenser 7 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser7OverCurrent = 107; + + // Motor Dispenser 8 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser8OverCurrent = 108; + + // Motor Dryer Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + MotorDryerOverTemperature = 109; + + // Motor Feeder Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + MotorFeederOverTemperature = 110; + + // Motor Right Loader Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + MotorRLoaderOverTemperature = 111; + + // Motor Pooler Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + MotorPoolerOverTemperature = 112; + + // Motor Left Loader Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + MotorLLoaderOverTemperature = 113; + + // Motor Winder Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + MotorWinderOverTemperature = 114; + + // Motor Screw Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + MotorScrewOverTemperature = 115; + + // Motor Loading Arm Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + MotorLoadingArmOverTemperature = 116; + + // Motor Dispenser 1 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser1OverTemperature = 117; + + // Motor Dispenser 2 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser2OverTemperature = 118; + + // Motor Dispenser 3 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser3OverTemperature = 119; + + // Motor Dispenser 4 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser4OverTemperature = 120; + + // Motor Dispenser 5 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser5OverTemperature = 121; + + // Motor Dispenser 6 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser6OverTemperature = 122; + + // Motor Dispenser 7 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser7OverTemperature = 123; + + // Motor Dispenser 8 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser8OverTemperature = 124; + + // Motor Dryer Stall (Group = Thread Feeding System, Category = Error, Actions = ) + MotorDryerStall = 125; + + // Motor Feeder Stall (Group = Thread Feeding System, Category = Error, Actions = ) + MotorFeederStall = 126; + + // Motor Right Loader Stall (Group = Thread Feeding System, Category = Error, Actions = ) + MotorRLoaderStall = 127; + + // Motor Pooler Stall (Group = Thread Feeding System, Category = Error, Actions = ) + MotorPoolerStall = 128; + + // Motor Left Loader Stall (Group = Thread Feeding System, Category = Error, Actions = ) + MotorLLoaderStall = 129; + + // Motor Winder Stall (Group = Thread Feeding System, Category = Error, Actions = ) + MotorWinderStall = 130; + + // Motor Screw Stall (Group = Thread Feeding System, Category = Error, Actions = ) + MotorScrewStall = 131; + + // Motor Loading Arm Stall (Group = Thread Feeding System, Category = Error, Actions = ) + MotorLoadingArmStall = 132; + + // Motor Dispenser 1 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser1Stall = 133; + + // Motor Dispenser 2 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser2Stall = 134; + + // Motor Dispenser 3 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser3Stall = 135; + + // Motor Dispenser 4 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser4Stall = 136; + + // Motor Dispenser 5 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser5Stall = 137; + + // Motor Dispenser 6 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser6Stall = 138; + + // Motor Dispenser 7 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser7Stall = 139; + + // Motor Dispenser 8 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser8Stall = 140; + + // Motor Dryer Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + MotorDryerUnderVoltage = 141; + + // Motor Feeder Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + MotorFeederUnderVoltage = 142; + + // Motor Right Loader Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + MotorRLoaderUnderVoltage = 143; + + // Motor Pooler Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + MotorPoolerUnderVoltage = 144; + + // Motor Left Loader Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + MotorLLoaderUnderVoltage = 145; + + // Motor Winder Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + MotorWinderUnderVoltage = 146; + + // Motor Screw Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + MotorScrewUnderVoltage = 147; + + // Motor Loading Arm Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + MotorLoadingArmUnderVoltage = 148; + + // Motor Dispenser 1 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser1UnderVoltage = 149; + + // Motor Dispenser 2 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser2UnderVoltage = 150; + + // Motor Dispenser 3 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser3UnderVoltage = 151; + + // Motor Dispenser 4 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser4UnderVoltage = 152; + + // Motor Dispenser 5 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser5UnderVoltage = 153; + + // Motor Dispenser 6 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser6UnderVoltage = 154; + + // Motor Dispenser 7 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + MotorDispenser7UnderVoltage = 155; } diff --git a/Software/Visual_Studio/Resources/Events.xlsx b/Software/Visual_Studio/Resources/Events.xlsx new file mode 100644 index 000000000..0f33f3d16 Binary files /dev/null and b/Software/Visual_Studio/Resources/Events.xlsx differ diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/EventTypes.cs b/Software/Visual_Studio/Tango.BL/Enumerations/EventTypes.cs index 07d37ead7..7d1b7cda3 100644 --- a/Software/Visual_Studio/Tango.BL/Enumerations/EventTypes.cs +++ b/Software/Visual_Studio/Tango.BL/Enumerations/EventTypes.cs @@ -20,238 +20,952 @@ namespace Tango.BL.Enumerations { /// - /// (Dancer overshot / Thread break sensor) + /// (None) /// - [Description("Dancer overshot / Thread break sensor")] - ThreadBreak = 0, + [Description("None")] + None = 0, /// - /// (Dancer not stable or got down) + /// ( Thread Break) /// - [Description("Dancer not stable or got down")] - ThreadTensionControlFailure = 1, + [Description(" Thread Break")] + ThreadBreak = 1, /// - /// (Source thread counter (counter shall be reset upon loading a new cone)) + /// ( Thread Tension Control Failure) /// - [Description("Source thread counter (counter shall be reset upon loading a new cone)")] - FeederConeInsufficiant = 2, + [Description(" Thread Tension Control Failure")] + ThreadTensionControlFailure = 2, /// - /// (Winder Controller) + /// ( Feeder Cone Insufficiant) /// - [Description("Winder Controller")] - WinderGeneralError = 3, + [Description(" Feeder Cone Insufficiant")] + FeederConeInsufficiant = 3, /// - /// (SW_SPOOL_EXISTS='0' or Winder Controller) + /// ( Winder General Error) /// - [Description("SW_SPOOL_EXISTS='0' or Winder Controller")] - WinderConeNotExists = 4, + [Description(" Winder General Error")] + WinderGeneralError = 4, /// - /// (Motor Stall) + /// ( Winder Cone Not Exists) /// - [Description("Motor Stall")] - ThreadFeedingGeneralError = 5, + [Description(" Winder Cone Not Exists")] + WinderConeNotExists = 5, /// - /// (Dyeing Head Thermometers) + /// ( Thread Feeding General Error) /// - [Description("Dyeing Head Thermometers")] - DyeingHeadOverTemperature = 6, + [Description(" Thread Feeding General Error")] + ThreadFeedingGeneralError = 6, /// - /// (Current sense in all heaters is 0) + /// ( Dyeing Head 1 Over Temperature) /// - [Description("Current sense in all heaters is 0")] - DHThermalCutoff = 7, + [Description(" Dyeing Head 1 Over Temperature")] + DyeingHead1OverTemperature = 7, /// - /// (Dryer Thermometers) + /// ( Dyeing Head 2 Over Temperature) /// - [Description("Dryer Thermometers")] - DryerOverTemperature = 8, + [Description(" Dyeing Head 2 Over Temperature")] + DyeingHead2OverTemperature = 8, /// - /// (Current sense in all heaters is 0) + /// ( Dyeing Head 3 Over Temperature) /// - [Description("Current sense in all heaters is 0")] - DryerThermalCutoff = 9, + [Description(" Dyeing Head 3 Over Temperature")] + DyeingHead3OverTemperature = 9, /// - /// (Dyeing head Heaters failure (Under /Over current)) + /// ( Dyeing Head 4 Over Temperature) /// - [Description("Dyeing head Heaters failure (Under /Over current)")] - DyeingHeadHeatersCurrentOutOfRange = 10, + [Description(" Dyeing Head 4 Over Temperature")] + DyeingHead4OverTemperature = 10, /// - /// (Dryer Heaters failure (Under /Over current)) + /// ( Dyeing Head 5 Over Temperature) /// - [Description("Dryer Heaters failure (Under /Over current)")] - DryerHeatersCurrentOutOfRange = 11, + [Description(" Dyeing Head 5 Over Temperature")] + DyeingHead5OverTemperature = 11, /// - /// (Covers Tampers) + /// ( Dyeing Head 6 Over Temperature) /// - [Description("Covers Tampers")] - DryerDHeadCoverOpen = 12, + [Description(" Dyeing Head 6 Over Temperature")] + DyeingHead6OverTemperature = 12, /// - /// (Pressure sensor Purex or Air flow sensor (Flap)) + /// ( Dyeing Head Thermal Cutoff) /// - [Description("Pressure sensor Purex or Air flow sensor (Flap)")] - AirFilterClogged = 13, + [Description(" Dyeing Head Thermal Cutoff")] + DyeingHeadThermalCutoff = 13, /// - /// (Micro-switch) + /// ( Dryer Over Temperature) /// - [Description("Micro-switch")] - AirFilterNotInstalled = 14, + [Description(" Dryer Over Temperature")] + DryerOverTemperature = 14, /// - /// (blower techo. Feedback, air flap) + /// ( Dryer Thermal Cutoff) /// - [Description("blower techo. Feedback, air flap")] - WHSFailure = 15, + [Description(" Dryer Thermal Cutoff")] + DryerThermalCutoff = 15, /// - /// (Check container float sensor) + /// ( Dyeing Head Heaters Current Out Of Range) /// - [Description("Check container float sensor")] - WasteContainerIsAlmostFull = 16, + [Description(" Dyeing Head Heaters Current Out Of Range")] + DyeingHeadHeatersCurrentOutOfRange = 16, /// - /// (Check container float sensor) + /// ( Dryer Heaters Current Out Of Range) /// - [Description("Check container float sensor")] - WasteContainerIsFull = 17, + [Description(" Dryer Heaters Current Out Of Range")] + DryerHeatersCurrentOutOfRange = 17, /// - /// (Dispenser position sensor/s) + /// ( Dryer Dying Head Cover Open) /// - [Description("Dispenser position sensor/s")] - DispenserEmpty = 18, + [Description(" Dryer Dying Head Cover Open")] + DryerDHeadCoverOpen = 18, /// - /// (Check if job can be executor refill needed) + /// ( Air Filter Clogged) /// - [Description("Check if job can be executor refill needed")] - DispenserLowLevel = 19, + [Description(" Air Filter Clogged")] + AirFilterClogged = 19, /// - /// (Cartridge float displacement) + /// ( Air Filter Not Installed) /// - [Description("Cartridge float displacement")] - DispenserRefillFailure = 20, + [Description(" Air Filter Not Installed")] + AirFilterNotInstalled = 20, /// - /// (Mid-Tank ) + /// ( WHS Failure) /// - [Description("Mid-Tank ")] - MidTankEmpty = 21, + [Description(" WHS Failure")] + WHSFailure = 21, /// - /// (Cartridge float sensor) + /// ( Waste Container Is Almost Full) /// - [Description("Cartridge float sensor")] - MidTankLowLevel = 22, + [Description(" Waste Container Is Almost Full")] + WasteContainerIsAlmostFull = 22, /// - /// (Cartridge float sensor or Additional micro-switch) + /// ( Waste Container Is Full) /// - [Description("Cartridge float sensor or Additional micro-switch")] - MidTankNotInPlace = 23, + [Description(" Waste Container Is Full")] + WasteContainerIsFull = 23, /// - /// (System BIT Failure) + /// ( Dispenser 1 Empty) /// - [Description("System BIT Failure")] - SystemBITFail = 24, + [Description(" Dispenser 1 Empty")] + Dispenser1Empty = 24, /// - /// (Internal Thermostat) + /// ( Dispenser 2 Empty) /// - [Description("Internal Thermostat")] - GeneralInternalOverTemperature = 25, + [Description(" Dispenser 2 Empty")] + Dispenser2Empty = 25, /// - /// (Covers Tampers) + /// ( Dispenser 3 Empty) /// - [Description("Covers Tampers")] - MachineCoverOpen = 26, + [Description(" Dispenser 3 Empty")] + Dispenser3Empty = 26, /// - /// (EPB) + /// ( Dispenser 4 Empty) /// - [Description("EPB")] - EmergencyPushButtonPressed = 27, + [Description(" Dispenser 4 Empty")] + Dispenser4Empty = 27, /// - /// (System General Error) + /// ( Dispenser 5 Empty) /// - [Description("System General Error")] - SystemGeneralError = 28, + [Description(" Dispenser 5 Empty")] + Dispenser5Empty = 28, + + /// + /// ( Dispenser 6 Empty) + /// + [Description(" Dispenser 6 Empty")] + Dispenser6Empty = 29, + + /// + /// ( Dispenser 7 Empty) + /// + [Description(" Dispenser 7 Empty")] + Dispenser7Empty = 30, + + /// + /// ( Dispenser 8 Empty) + /// + [Description(" Dispenser 8 Empty")] + Dispenser8Empty = 31, + + /// + /// ( Dispenser 1 Low Level) + /// + [Description(" Dispenser 1 Low Level")] + Dispenser1LowLevel = 32, + + /// + /// ( Dispenser 2 Low Level) + /// + [Description(" Dispenser 2 Low Level")] + Dispenser2LowLevel = 33, + + /// + /// ( Dispenser 3 Low Level) + /// + [Description(" Dispenser 3 Low Level")] + Dispenser3LowLevel = 34, + + /// + /// ( Dispenser 4 Low Level) + /// + [Description(" Dispenser 4 Low Level")] + Dispenser4LowLevel = 35, + + /// + /// ( Dispenser 5 Low Level) + /// + [Description(" Dispenser 5 Low Level")] + Dispenser5LowLevel = 36, + + /// + /// ( Dispenser 6 Low Level) + /// + [Description(" Dispenser 6 Low Level")] + Dispenser6LowLevel = 37, + + /// + /// ( Dispenser 7 Low Level) + /// + [Description(" Dispenser 7 Low Level")] + Dispenser7LowLevel = 38, + + /// + /// ( Dispenser 8 Low Level) + /// + [Description(" Dispenser 8 Low Level")] + Dispenser8LowLevel = 39, + + /// + /// ( Dispenser 1 Refill Failure) + /// + [Description(" Dispenser 1 Refill Failure")] + Dispenser1RefillFailure = 40, + + /// + /// ( Dispenser 2 Refill Failure) + /// + [Description(" Dispenser 2 Refill Failure")] + Dispenser2RefillFailure = 41, + + /// + /// ( Dispenser 3 Refill Failure) + /// + [Description(" Dispenser 3 Refill Failure")] + Dispenser3RefillFailure = 42, + + /// + /// ( Dispenser 4 Refill Failure) + /// + [Description(" Dispenser 4 Refill Failure")] + Dispenser4RefillFailure = 43, + + /// + /// ( Dispenser 5 Refill Failure) + /// + [Description(" Dispenser 5 Refill Failure")] + Dispenser5RefillFailure = 44, + + /// + /// ( Dispenser 6 Refill Failure) + /// + [Description(" Dispenser 6 Refill Failure")] + Dispenser6RefillFailure = 45, + + /// + /// ( Dispenser 7 Refill Failure) + /// + [Description(" Dispenser 7 Refill Failure")] + Dispenser7RefillFailure = 46, + + /// + /// ( Dispenser 8 Refill Failure) + /// + [Description(" Dispenser 8 Refill Failure")] + Dispenser8RefillFailure = 47, + + /// + /// ( Dispenser 1 Pressure) + /// + [Description(" Dispenser 1 Pressure")] + Dispenser1Pressure = 48, + + /// + /// ( Dispenser 2 Pressure) + /// + [Description(" Dispenser 2 Pressure")] + Dispenser2Pressure = 49, + + /// + /// ( Dispenser 3 Pressure) + /// + [Description(" Dispenser 3 Pressure")] + Dispenser3Pressure = 50, + + /// + /// ( Dispenser 4 Pressure) + /// + [Description(" Dispenser 4 Pressure")] + Dispenser4Pressure = 51, + + /// + /// ( Dispenser 5 Pressure) + /// + [Description(" Dispenser 5 Pressure")] + Dispenser5Pressure = 52, + + /// + /// ( Dispenser 6 Pressure) + /// + [Description(" Dispenser 6 Pressure")] + Dispenser6Pressure = 53, + + /// + /// ( Dispenser 7 Pressure) + /// + [Description(" Dispenser 7 Pressure")] + Dispenser7Pressure = 54, + + /// + /// ( Dispenser 8 Pressure) + /// + [Description(" Dispenser 8 Pressure")] + Dispenser8Pressure = 55, + + /// + /// ( Mid Tank 1 Empty) + /// + [Description(" Mid Tank 1 Empty")] + MidTank1Empty = 56, + + /// + /// ( Mid Tank 2 Empty) + /// + [Description(" Mid Tank 2 Empty")] + MidTank2Empty = 57, + + /// + /// ( Mid Tank 3 Empty) + /// + [Description(" Mid Tank 3 Empty")] + MidTank3Empty = 58, + + /// + /// ( Mid Tank 4 Empty) + /// + [Description(" Mid Tank 4 Empty")] + MidTank4Empty = 59, + + /// + /// ( Mid Tank 5 Empty) + /// + [Description(" Mid Tank 5 Empty")] + MidTank5Empty = 60, + + /// + /// ( Mid Tank 6 Empty) + /// + [Description(" Mid Tank 6 Empty")] + MidTank6Empty = 61, + + /// + /// ( Mid Tank 7 Empty) + /// + [Description(" Mid Tank 7 Empty")] + MidTank7Empty = 62, + + /// + /// ( Mid Tank 8 Empty) + /// + [Description(" Mid Tank 8 Empty")] + MidTank8Empty = 63, + + /// + /// ( Mid Tank 1 Lowlevel) + /// + [Description(" Mid Tank 1 Lowlevel")] + MidTank1Lowlevel = 64, + + /// + /// ( Mid Tank 2 Lowlevel) + /// + [Description(" Mid Tank 2 Lowlevel")] + MidTank2Lowlevel = 65, + + /// + /// ( Mid Tank 3 Lowlevel) + /// + [Description(" Mid Tank 3 Lowlevel")] + MidTank3Lowlevel = 66, + + /// + /// ( Mid Tank 4 Lowlevel) + /// + [Description(" Mid Tank 4 Lowlevel")] + MidTank4Lowlevel = 67, + + /// + /// ( Mid Tank 5 Lowlevel) + /// + [Description(" Mid Tank 5 Lowlevel")] + MidTank5Lowlevel = 68, + + /// + /// ( Mid Tank 6 Lowlevel) + /// + [Description(" Mid Tank 6 Lowlevel")] + MidTank6Lowlevel = 69, + + /// + /// ( Mid Tank 7 Lowlevel) + /// + [Description(" Mid Tank 7 Lowlevel")] + MidTank7Lowlevel = 70, + + /// + /// ( Mid Tank 8 Lowlevel) + /// + [Description(" Mid Tank 8 Lowlevel")] + MidTank8Lowlevel = 71, + + /// + /// ( Mid Tank 1 Not In Place) + /// + [Description(" Mid Tank 1 Not In Place")] + MidTank1NotInPlace = 72, + + /// + /// ( Mid Tank 2 Not In Place) + /// + [Description(" Mid Tank 2 Not In Place")] + MidTank2NotInPlace = 73, + + /// + /// ( Mid Tank 3 Not In Place) + /// + [Description(" Mid Tank 3 Not In Place")] + MidTank3NotInPlace = 74, + + /// + /// ( Mid Tank 4 Not In Place) + /// + [Description(" Mid Tank 4 Not In Place")] + MidTank4NotInPlace = 75, + + /// + /// ( Mid Tank 5 Not In Place) + /// + [Description(" Mid Tank 5 Not In Place")] + MidTank5NotInPlace = 76, + + /// + /// ( Mid Tank 6 Not In Place) + /// + [Description(" Mid Tank 6 Not In Place")] + MidTank6NotInPlace = 77, + + /// + /// ( Mid Tank 7 Not In Place) + /// + [Description(" Mid Tank 7 Not In Place")] + MidTank7NotInPlace = 78, + + /// + /// ( Mid Tank 8 Not In Place) + /// + [Description(" Mid Tank 8 Not In Place")] + MidTank8NotInPlace = 79, + + /// + /// ( System Built In Test Fail) + /// + [Description(" System Built In Test Fail")] + SystemBITFail = 80, + + /// + /// ( General Internal Over Temperature) + /// + [Description(" General Internal Over Temperature")] + GeneralInternalOverTemperature = 81, + + /// + /// ( Machine Cover Open) + /// + [Description(" Machine Cover Open")] + MachineCoverOpen = 82, + + /// + /// ( Emergency Push Button Pressed) + /// + [Description(" Emergency Push Button Pressed")] + EmergencyPushButtonPressed = 83, + + /// + /// ( System General Error) + /// + [Description(" System General Error")] + SystemGeneralError = 84, + + /// + /// ( Motor Dryer Over Current) + /// + [Description(" Motor Dryer Over Current")] + MotorDryerOverCurrent = 93, + + /// + /// ( Motor Feeder Over Current) + /// + [Description(" Motor Feeder Over Current")] + MotorFeederOverCurrent = 94, + + /// + /// ( Motor Right Loader Over Current) + /// + [Description(" Motor Right Loader Over Current")] + MotorRLoaderOverCurrent = 95, + + /// + /// ( Motor Pooler Over Current) + /// + [Description(" Motor Pooler Over Current")] + MotorPoolerOverCurrent = 96, + + /// + /// ( Motor Left Loader Over Current) + /// + [Description(" Motor Left Loader Over Current")] + MotorLLoaderOverCurrent = 97, + + /// + /// ( Motor Winder Over Current) + /// + [Description(" Motor Winder Over Current")] + MotorWinderOverCurrent = 98, + + /// + /// ( Motor Screw Over Current) + /// + [Description(" Motor Screw Over Current")] + MotorScrewOverCurrent = 99, + + /// + /// ( Motor Loading Arm Over Current) + /// + [Description(" Motor Loading Arm Over Current")] + MotorLoadingArmOverCurrent = 100, + + /// + /// ( Motor Dispenser 1 Over Current) + /// + [Description(" Motor Dispenser 1 Over Current")] + MotorDispenser1OverCurrent = 101, + + /// + /// ( Motor Dispenser 2 Over Current) + /// + [Description(" Motor Dispenser 2 Over Current")] + MotorDispenser2OverCurrent = 102, + + /// + /// ( Motor Dispenser 3 Over Current) + /// + [Description(" Motor Dispenser 3 Over Current")] + MotorDispenser3OverCurrent = 103, + + /// + /// ( Motor Dispenser 4 Over Current) + /// + [Description(" Motor Dispenser 4 Over Current")] + MotorDispenser4OverCurrent = 104, + + /// + /// ( Motor Dispenser 5 Over Current) + /// + [Description(" Motor Dispenser 5 Over Current")] + MotorDispenser5OverCurrent = 105, + + /// + /// ( Motor Dispenser 6 Over Current) + /// + [Description(" Motor Dispenser 6 Over Current")] + MotorDispenser6OverCurrent = 106, + + /// + /// ( Motor Dispenser 7 Over Current) + /// + [Description(" Motor Dispenser 7 Over Current")] + MotorDispenser7OverCurrent = 107, + + /// + /// ( Motor Dispenser 8 Over Current) + /// + [Description(" Motor Dispenser 8 Over Current")] + MotorDispenser8OverCurrent = 108, + + /// + /// ( Motor Dryer Over Temperature) + /// + [Description(" Motor Dryer Over Temperature")] + MotorDryerOverTemperature = 109, + + /// + /// ( Motor Feeder Over Temperature) + /// + [Description(" Motor Feeder Over Temperature")] + MotorFeederOverTemperature = 110, + + /// + /// ( Motor Right Loader Over Temperature) + /// + [Description(" Motor Right Loader Over Temperature")] + MotorRLoaderOverTemperature = 111, + + /// + /// ( Motor Pooler Over Temperature) + /// + [Description(" Motor Pooler Over Temperature")] + MotorPoolerOverTemperature = 112, + + /// + /// ( Motor Left Loader Over Temperature) + /// + [Description(" Motor Left Loader Over Temperature")] + MotorLLoaderOverTemperature = 113, + + /// + /// ( Motor Winder Over Temperature) + /// + [Description(" Motor Winder Over Temperature")] + MotorWinderOverTemperature = 114, + + /// + /// ( Motor Screw Over Temperature) + /// + [Description(" Motor Screw Over Temperature")] + MotorScrewOverTemperature = 115, + + /// + /// ( Motor Loading Arm Over Temperature) + /// + [Description(" Motor Loading Arm Over Temperature")] + MotorLoadingArmOverTemperature = 116, + + /// + /// ( Motor Dispenser 1 Over Temperature) + /// + [Description(" Motor Dispenser 1 Over Temperature")] + MotorDispenser1OverTemperature = 117, + + /// + /// ( Motor Dispenser 2 Over Temperature) + /// + [Description(" Motor Dispenser 2 Over Temperature")] + MotorDispenser2OverTemperature = 118, + + /// + /// ( Motor Dispenser 3 Over Temperature) + /// + [Description(" Motor Dispenser 3 Over Temperature")] + MotorDispenser3OverTemperature = 119, + + /// + /// ( Motor Dispenser 4 Over Temperature) + /// + [Description(" Motor Dispenser 4 Over Temperature")] + MotorDispenser4OverTemperature = 120, + + /// + /// ( Motor Dispenser 5 Over Temperature) + /// + [Description(" Motor Dispenser 5 Over Temperature")] + MotorDispenser5OverTemperature = 121, + + /// + /// ( Motor Dispenser 6 Over Temperature) + /// + [Description(" Motor Dispenser 6 Over Temperature")] + MotorDispenser6OverTemperature = 122, + + /// + /// ( Motor Dispenser 7 Over Temperature) + /// + [Description(" Motor Dispenser 7 Over Temperature")] + MotorDispenser7OverTemperature = 123, + + /// + /// ( Motor Dispenser 8 Over Temperature) + /// + [Description(" Motor Dispenser 8 Over Temperature")] + MotorDispenser8OverTemperature = 124, + + /// + /// ( Motor Dryer Stall) + /// + [Description(" Motor Dryer Stall")] + MotorDryerStall = 125, + + /// + /// ( Motor Feeder Stall) + /// + [Description(" Motor Feeder Stall")] + MotorFeederStall = 126, + + /// + /// ( Motor Right Loader Stall) + /// + [Description(" Motor Right Loader Stall")] + MotorRLoaderStall = 127, + + /// + /// ( Motor Pooler Stall) + /// + [Description(" Motor Pooler Stall")] + MotorPoolerStall = 128, + + /// + /// ( Motor Left Loader Stall) + /// + [Description(" Motor Left Loader Stall")] + MotorLLoaderStall = 129, + + /// + /// ( Motor Winder Stall) + /// + [Description(" Motor Winder Stall")] + MotorWinderStall = 130, + + /// + /// ( Motor Screw Stall) + /// + [Description(" Motor Screw Stall")] + MotorScrewStall = 131, + + /// + /// ( Motor Loading Arm Stall) + /// + [Description(" Motor Loading Arm Stall")] + MotorLoadingArmStall = 132, + + /// + /// ( Motor Dispenser 1 Stall) + /// + [Description(" Motor Dispenser 1 Stall")] + MotorDispenser1Stall = 133, + + /// + /// ( Motor Dispenser 2 Stall) + /// + [Description(" Motor Dispenser 2 Stall")] + MotorDispenser2Stall = 134, + + /// + /// ( Motor Dispenser 3 Stall) + /// + [Description(" Motor Dispenser 3 Stall")] + MotorDispenser3Stall = 135, + + /// + /// ( Motor Dispenser 4 Stall) + /// + [Description(" Motor Dispenser 4 Stall")] + MotorDispenser4Stall = 136, + + /// + /// ( Motor Dispenser 5 Stall) + /// + [Description(" Motor Dispenser 5 Stall")] + MotorDispenser5Stall = 137, + + /// + /// ( Motor Dispenser 6 Stall) + /// + [Description(" Motor Dispenser 6 Stall")] + MotorDispenser6Stall = 138, + + /// + /// ( Motor Dispenser 7 Stall) + /// + [Description(" Motor Dispenser 7 Stall")] + MotorDispenser7Stall = 139, + + /// + /// ( Motor Dispenser 8 Stall) + /// + [Description(" Motor Dispenser 8 Stall")] + MotorDispenser8Stall = 140, + + /// + /// ( Motor Dryer Under Voltage) + /// + [Description(" Motor Dryer Under Voltage")] + MotorDryerUnderVoltage = 141, + + /// + /// ( Motor Feeder Under Voltage) + /// + [Description(" Motor Feeder Under Voltage")] + MotorFeederUnderVoltage = 142, + + /// + /// ( Motor Right Loader Under Voltage) + /// + [Description(" Motor Right Loader Under Voltage")] + MotorRLoaderUnderVoltage = 143, + + /// + /// ( Motor Pooler Under Voltage) + /// + [Description(" Motor Pooler Under Voltage")] + MotorPoolerUnderVoltage = 144, + + /// + /// ( Motor Left Loader Under Voltage) + /// + [Description(" Motor Left Loader Under Voltage")] + MotorLLoaderUnderVoltage = 145, + + /// + /// ( Motor Winder Under Voltage) + /// + [Description(" Motor Winder Under Voltage")] + MotorWinderUnderVoltage = 146, + + /// + /// ( Motor Screw Under Voltage) + /// + [Description(" Motor Screw Under Voltage")] + MotorScrewUnderVoltage = 147, + + /// + /// ( Motor Loading Arm Under Voltage) + /// + [Description(" Motor Loading Arm Under Voltage")] + MotorLoadingArmUnderVoltage = 148, + + /// + /// ( Motor Dispenser 1 Under Voltage) + /// + [Description(" Motor Dispenser 1 Under Voltage")] + MotorDispenser1UnderVoltage = 149, + + /// + /// ( Motor Dispenser 2 Under Voltage) + /// + [Description(" Motor Dispenser 2 Under Voltage")] + MotorDispenser2UnderVoltage = 150, + + /// + /// ( Motor Dispenser 3 Under Voltage) + /// + [Description(" Motor Dispenser 3 Under Voltage")] + MotorDispenser3UnderVoltage = 151, + + /// + /// ( Motor Dispenser 4 Under Voltage) + /// + [Description(" Motor Dispenser 4 Under Voltage")] + MotorDispenser4UnderVoltage = 152, + + /// + /// ( Motor Dispenser 5 Under Voltage) + /// + [Description(" Motor Dispenser 5 Under Voltage")] + MotorDispenser5UnderVoltage = 153, + + /// + /// ( Motor Dispenser 6 Under Voltage) + /// + [Description(" Motor Dispenser 6 Under Voltage")] + MotorDispenser6UnderVoltage = 154, + + /// + /// ( Motor Dispenser 7 Under Voltage) + /// + [Description(" Motor Dispenser 7 Under Voltage")] + MotorDispenser7UnderVoltage = 155, /// /// (Occurs a request has been sent to the machine or external bridge service) /// [Description("Occurs a request has been sent to the machine or external bridge service")] - RequestSent = 29, + RequestSent = 1000, /// /// (Occures when a response has been received) /// [Description("Occures when a response has been received")] - ResponseReceived = 30, + ResponseReceived = 1001, /// /// (Occures when a request to the machine has failed) /// [Description("Occures when a request to the machine has failed")] - RequestFailed = 31, + RequestFailed = 1002, /// /// (Occures when the application has encountered some error) /// [Description("Occures when the application has encountered some error")] - ApplicationException = 32, + ApplicationException = 1003, /// /// (General application event logs) /// [Description("General application event logs")] - ApplicationInformation = 33, + ApplicationInformation = 1004, /// /// (Notifies about application succesfully started) /// [Description("Notifies about application succesfully started")] - ApplicationStarted = 34, + ApplicationStarted = 1005, /// /// (Notifies about application termination) /// [Description("Notifies about application termination")] - ApplicationTerminated = 35, + ApplicationTerminated = 1006, /// /// (Occures when a diagnostics recording has been started) /// [Description("Occures when a diagnostics recording has been started")] - RecordingStarted = 36, + RecordingStarted = 1007, /// /// (Occures when a diagnostics recording has been stopped) /// [Description("Occures when a diagnostics recording has been stopped")] - RecordingStopped = 37, + RecordingStopped = 1008, /// /// (Occures when a job status message has been received from the embedded device) /// [Description("Occures when a job status message has been received from the embedded device")] - JobStatus = 38, + JobStatus = 1009, } } diff --git a/Software/Visual_Studio/Tango.BL/Enumerations/EventTypesGroups.cs b/Software/Visual_Studio/Tango.BL/Enumerations/EventTypesGroups.cs index 201f57835..f13f432f0 100644 --- a/Software/Visual_Studio/Tango.BL/Enumerations/EventTypesGroups.cs +++ b/Software/Visual_Studio/Tango.BL/Enumerations/EventTypesGroups.cs @@ -26,34 +26,34 @@ namespace Tango.BL.Enumerations ThreadFeedingSystem = 0, /// - /// (DH & Dryer) + /// (Dryer Head) /// - [Description("DH & Dryer")] - DHDryer = 1, + [Description("Dryer Head")] + DryerHead = 1, + + /// + /// (Dryer) + /// + [Description("Dryer")] + Dryer = 2, /// /// (Waste Handling System (WHS)) /// [Description("Waste Handling System (WHS)")] - WasteHandlingSystem = 2, + WasteHandlingSystem = 3, /// /// (Ink Delivery System (IDS)) /// [Description("Ink Delivery System (IDS)")] - InkDeliverySystem = 3, + InkDeliverySystem = 4, /// /// (General Hardware) /// [Description("General Hardware")] - GeneralHardware = 4, - - /// - /// (Messages exchange to and from the machine) - /// - [Description("Messages exchange to and from the machine")] - Transport = 5, + GeneralHardware = 5, /// /// (Application related events) @@ -61,5 +61,11 @@ namespace Tango.BL.Enumerations [Description("Application related events")] Application = 6, + /// + /// (Messages exchange to and from the machine) + /// + [Description("Messages exchange to and from the machine")] + Transport = 7, + } } diff --git a/Software/Visual_Studio/Tango.PMR/Diagnostics/EventType.cs b/Software/Visual_Studio/Tango.PMR/Diagnostics/EventType.cs index 7777381a8..d5c1f81d7 100644 --- a/Software/Visual_Studio/Tango.PMR/Diagnostics/EventType.cs +++ b/Software/Visual_Studio/Tango.PMR/Diagnostics/EventType.cs @@ -22,30 +22,98 @@ namespace Tango.PMR.Diagnostics { static EventTypeReflection() { byte[] descriptorData = global::System.Convert.FromBase64String( string.Concat( - "Cg9FdmVudFR5cGUucHJvdG8SFVRhbmdvLlBNUi5EaWFnbm9zdGljcyrWBwoJ", - "RXZlbnRUeXBlEg8KC1RocmVhZEJyZWFrEAASHwobVGhyZWFkVGVuc2lvbkNv", - "bnRyb2xGYWlsdXJlEAESGgoWRmVlZGVyQ29uZUluc3VmZmljaWFudBACEhYK", - "EldpbmRlckdlbmVyYWxFcnJvchADEhcKE1dpbmRlckNvbmVOb3RFeGlzdHMQ", - "BBIdChlUaHJlYWRGZWVkaW5nR2VuZXJhbEVycm9yEAUSHQoZRHllaW5nSGVh", - "ZE92ZXJUZW1wZXJhdHVyZRAGEhMKD0RIVGhlcm1hbEN1dG9mZhAHEhgKFERy", - "eWVyT3ZlclRlbXBlcmF0dXJlEAgSFgoSRHJ5ZXJUaGVybWFsQ3V0b2ZmEAkS", - "JgoiRHllaW5nSGVhZEhlYXRlcnNDdXJyZW50T3V0T2ZSYW5nZRAKEiEKHURy", - "eWVySGVhdGVyc0N1cnJlbnRPdXRPZlJhbmdlEAsSFwoTRHJ5ZXJESGVhZENv", - "dmVyT3BlbhAMEhQKEEFpckZpbHRlckNsb2dnZWQQDRIZChVBaXJGaWx0ZXJO", - "b3RJbnN0YWxsZWQQDhIOCgpXSFNGYWlsdXJlEA8SHgoaV2FzdGVDb250YWlu", - "ZXJJc0FsbW9zdEZ1bGwQEBIYChRXYXN0ZUNvbnRhaW5lcklzRnVsbBAREhIK", - "DkRpc3BlbnNlckVtcHR5EBISFQoRRGlzcGVuc2VyTG93TGV2ZWwQExIaChZE", - "aXNwZW5zZXJSZWZpbGxGYWlsdXJlEBQSEAoMTWlkVGFua0VtcHR5EBUSEwoP", - "TWlkVGFua0xvd0xldmVsEBYSFQoRTWlkVGFua05vdEluUGxhY2UQFxIRCg1T", - "eXN0ZW1CSVRGYWlsEBgSIgoeR2VuZXJhbEludGVybmFsT3ZlclRlbXBlcmF0", - "dXJlEBkSFAoQTWFjaGluZUNvdmVyT3BlbhAaEh4KGkVtZXJnZW5jeVB1c2hC", - "dXR0b25QcmVzc2VkEBsSFgoSU3lzdGVtR2VuZXJhbEVycm9yEBwSDwoLUmVx", - "dWVzdFNlbnQQHRIUChBSZXNwb25zZVJlY2VpdmVkEB4SEQoNUmVxdWVzdEZh", - "aWxlZBAfEhgKFEFwcGxpY2F0aW9uRXhjZXB0aW9uECASGgoWQXBwbGljYXRp", - "b25JbmZvcm1hdGlvbhAhEhYKEkFwcGxpY2F0aW9uU3RhcnRlZBAiEhkKFUFw", - "cGxpY2F0aW9uVGVybWluYXRlZBAjEhQKEFJlY29yZGluZ1N0YXJ0ZWQQJBIU", - "ChBSZWNvcmRpbmdTdG9wcGVkECUSDQoJSm9iU3RhdHVzECZCIQofY29tLnR3", - "aW5lLnRhbmdvLnBtci5kaWFnbm9zdGljc2IGcHJvdG8z")); + "Cg9FdmVudFR5cGUucHJvdG8SFVRhbmdvLlBNUi5EaWFnbm9zdGljcyq5HwoJ", + "RXZlbnRUeXBlEggKBE5vbmUQABIPCgtUaHJlYWRCcmVhaxABEh8KG1RocmVh", + "ZFRlbnNpb25Db250cm9sRmFpbHVyZRACEhoKFkZlZWRlckNvbmVJbnN1ZmZp", + "Y2lhbnQQAxIWChJXaW5kZXJHZW5lcmFsRXJyb3IQBBIXChNXaW5kZXJDb25l", + "Tm90RXhpc3RzEAUSHQoZVGhyZWFkRmVlZGluZ0dlbmVyYWxFcnJvchAGEh4K", + "GkR5ZWluZ0hlYWQxT3ZlclRlbXBlcmF0dXJlEAcSHgoaRHllaW5nSGVhZDJP", + "dmVyVGVtcGVyYXR1cmUQCBIeChpEeWVpbmdIZWFkM092ZXJUZW1wZXJhdHVy", + "ZRAJEh4KGkR5ZWluZ0hlYWQ0T3ZlclRlbXBlcmF0dXJlEAoSHgoaRHllaW5n", + "SGVhZDVPdmVyVGVtcGVyYXR1cmUQCxIeChpEeWVpbmdIZWFkNk92ZXJUZW1w", + "ZXJhdHVyZRAMEhsKF0R5ZWluZ0hlYWRUaGVybWFsQ3V0b2ZmEA0SGAoURHJ5", + "ZXJPdmVyVGVtcGVyYXR1cmUQDhIWChJEcnllclRoZXJtYWxDdXRvZmYQDxIm", + "CiJEeWVpbmdIZWFkSGVhdGVyc0N1cnJlbnRPdXRPZlJhbmdlEBASIQodRHJ5", + "ZXJIZWF0ZXJzQ3VycmVudE91dE9mUmFuZ2UQERIXChNEcnllckRIZWFkQ292", + "ZXJPcGVuEBISFAoQQWlyRmlsdGVyQ2xvZ2dlZBATEhkKFUFpckZpbHRlck5v", + "dEluc3RhbGxlZBAUEg4KCldIU0ZhaWx1cmUQFRIeChpXYXN0ZUNvbnRhaW5l", + "cklzQWxtb3N0RnVsbBAWEhgKFFdhc3RlQ29udGFpbmVySXNGdWxsEBcSEwoP", + "RGlzcGVuc2VyMUVtcHR5EBgSEwoPRGlzcGVuc2VyMkVtcHR5EBkSEwoPRGlz", + "cGVuc2VyM0VtcHR5EBoSEwoPRGlzcGVuc2VyNEVtcHR5EBsSEwoPRGlzcGVu", + "c2VyNUVtcHR5EBwSEwoPRGlzcGVuc2VyNkVtcHR5EB0SEwoPRGlzcGVuc2Vy", + "N0VtcHR5EB4SEwoPRGlzcGVuc2VyOEVtcHR5EB8SFgoSRGlzcGVuc2VyMUxv", + "d0xldmVsECASFgoSRGlzcGVuc2VyMkxvd0xldmVsECESFgoSRGlzcGVuc2Vy", + "M0xvd0xldmVsECISFgoSRGlzcGVuc2VyNExvd0xldmVsECMSFgoSRGlzcGVu", + "c2VyNUxvd0xldmVsECQSFgoSRGlzcGVuc2VyNkxvd0xldmVsECUSFgoSRGlz", + "cGVuc2VyN0xvd0xldmVsECYSFgoSRGlzcGVuc2VyOExvd0xldmVsECcSGwoX", + "RGlzcGVuc2VyMVJlZmlsbEZhaWx1cmUQKBIbChdEaXNwZW5zZXIyUmVmaWxs", + "RmFpbHVyZRApEhsKF0Rpc3BlbnNlcjNSZWZpbGxGYWlsdXJlECoSGwoXRGlz", + "cGVuc2VyNFJlZmlsbEZhaWx1cmUQKxIbChdEaXNwZW5zZXI1UmVmaWxsRmFp", + "bHVyZRAsEhsKF0Rpc3BlbnNlcjZSZWZpbGxGYWlsdXJlEC0SGwoXRGlzcGVu", + "c2VyN1JlZmlsbEZhaWx1cmUQLhIbChdEaXNwZW5zZXI4UmVmaWxsRmFpbHVy", + "ZRAvEhYKEkRpc3BlbnNlcjFQcmVzc3VyZRAwEhYKEkRpc3BlbnNlcjJQcmVz", + "c3VyZRAxEhYKEkRpc3BlbnNlcjNQcmVzc3VyZRAyEhYKEkRpc3BlbnNlcjRQ", + "cmVzc3VyZRAzEhYKEkRpc3BlbnNlcjVQcmVzc3VyZRA0EhYKEkRpc3BlbnNl", + "cjZQcmVzc3VyZRA1EhYKEkRpc3BlbnNlcjdQcmVzc3VyZRA2EhYKEkRpc3Bl", + "bnNlcjhQcmVzc3VyZRA3EhEKDU1pZFRhbmsxRW1wdHkQOBIRCg1NaWRUYW5r", + "MkVtcHR5EDkSEQoNTWlkVGFuazNFbXB0eRA6EhEKDU1pZFRhbms0RW1wdHkQ", + "OxIRCg1NaWRUYW5rNUVtcHR5EDwSEQoNTWlkVGFuazZFbXB0eRA9EhEKDU1p", + "ZFRhbms3RW1wdHkQPhIRCg1NaWRUYW5rOEVtcHR5ED8SFAoQTWlkVGFuazFM", + "b3dsZXZlbBBAEhQKEE1pZFRhbmsyTG93bGV2ZWwQQRIUChBNaWRUYW5rM0xv", + "d2xldmVsEEISFAoQTWlkVGFuazRMb3dsZXZlbBBDEhQKEE1pZFRhbms1TG93", + "bGV2ZWwQRBIUChBNaWRUYW5rNkxvd2xldmVsEEUSFAoQTWlkVGFuazdMb3ds", + "ZXZlbBBGEhQKEE1pZFRhbms4TG93bGV2ZWwQRxIWChJNaWRUYW5rMU5vdElu", + "UGxhY2UQSBIWChJNaWRUYW5rMk5vdEluUGxhY2UQSRIWChJNaWRUYW5rM05v", + "dEluUGxhY2UQShIWChJNaWRUYW5rNE5vdEluUGxhY2UQSxIWChJNaWRUYW5r", + "NU5vdEluUGxhY2UQTBIWChJNaWRUYW5rNk5vdEluUGxhY2UQTRIWChJNaWRU", + "YW5rN05vdEluUGxhY2UQThIWChJNaWRUYW5rOE5vdEluUGxhY2UQTxIRCg1T", + "eXN0ZW1CSVRGYWlsEFASIgoeR2VuZXJhbEludGVybmFsT3ZlclRlbXBlcmF0", + "dXJlEFESFAoQTWFjaGluZUNvdmVyT3BlbhBSEh4KGkVtZXJnZW5jeVB1c2hC", + "dXR0b25QcmVzc2VkEFMSFgoSU3lzdGVtR2VuZXJhbEVycm9yEFQSGQoVTW90", + "b3JEcnllck92ZXJDdXJyZW50EF0SGgoWTW90b3JGZWVkZXJPdmVyQ3VycmVu", + "dBBeEhsKF01vdG9yUkxvYWRlck92ZXJDdXJyZW50EF8SGgoWTW90b3JQb29s", + "ZXJPdmVyQ3VycmVudBBgEhsKF01vdG9yTExvYWRlck92ZXJDdXJyZW50EGES", + "GgoWTW90b3JXaW5kZXJPdmVyQ3VycmVudBBiEhkKFU1vdG9yU2NyZXdPdmVy", + "Q3VycmVudBBjEh4KGk1vdG9yTG9hZGluZ0FybU92ZXJDdXJyZW50EGQSHgoa", + "TW90b3JEaXNwZW5zZXIxT3ZlckN1cnJlbnQQZRIeChpNb3RvckRpc3BlbnNl", + "cjJPdmVyQ3VycmVudBBmEh4KGk1vdG9yRGlzcGVuc2VyM092ZXJDdXJyZW50", + "EGcSHgoaTW90b3JEaXNwZW5zZXI0T3ZlckN1cnJlbnQQaBIeChpNb3RvckRp", + "c3BlbnNlcjVPdmVyQ3VycmVudBBpEh4KGk1vdG9yRGlzcGVuc2VyNk92ZXJD", + "dXJyZW50EGoSHgoaTW90b3JEaXNwZW5zZXI3T3ZlckN1cnJlbnQQaxIeChpN", + "b3RvckRpc3BlbnNlcjhPdmVyQ3VycmVudBBsEh0KGU1vdG9yRHJ5ZXJPdmVy", + "VGVtcGVyYXR1cmUQbRIeChpNb3RvckZlZWRlck92ZXJUZW1wZXJhdHVyZRBu", + "Eh8KG01vdG9yUkxvYWRlck92ZXJUZW1wZXJhdHVyZRBvEh4KGk1vdG9yUG9v", + "bGVyT3ZlclRlbXBlcmF0dXJlEHASHwobTW90b3JMTG9hZGVyT3ZlclRlbXBl", + "cmF0dXJlEHESHgoaTW90b3JXaW5kZXJPdmVyVGVtcGVyYXR1cmUQchIdChlN", + "b3RvclNjcmV3T3ZlclRlbXBlcmF0dXJlEHMSIgoeTW90b3JMb2FkaW5nQXJt", + "T3ZlclRlbXBlcmF0dXJlEHQSIgoeTW90b3JEaXNwZW5zZXIxT3ZlclRlbXBl", + "cmF0dXJlEHUSIgoeTW90b3JEaXNwZW5zZXIyT3ZlclRlbXBlcmF0dXJlEHYS", + "IgoeTW90b3JEaXNwZW5zZXIzT3ZlclRlbXBlcmF0dXJlEHcSIgoeTW90b3JE", + "aXNwZW5zZXI0T3ZlclRlbXBlcmF0dXJlEHgSIgoeTW90b3JEaXNwZW5zZXI1", + "T3ZlclRlbXBlcmF0dXJlEHkSIgoeTW90b3JEaXNwZW5zZXI2T3ZlclRlbXBl", + "cmF0dXJlEHoSIgoeTW90b3JEaXNwZW5zZXI3T3ZlclRlbXBlcmF0dXJlEHsS", + "IgoeTW90b3JEaXNwZW5zZXI4T3ZlclRlbXBlcmF0dXJlEHwSEwoPTW90b3JE", + "cnllclN0YWxsEH0SFAoQTW90b3JGZWVkZXJTdGFsbBB+EhUKEU1vdG9yUkxv", + "YWRlclN0YWxsEH8SFQoQTW90b3JQb29sZXJTdGFsbBCAARIWChFNb3RvckxM", + "b2FkZXJTdGFsbBCBARIVChBNb3RvcldpbmRlclN0YWxsEIIBEhQKD01vdG9y", + "U2NyZXdTdGFsbBCDARIZChRNb3RvckxvYWRpbmdBcm1TdGFsbBCEARIZChRN", + "b3RvckRpc3BlbnNlcjFTdGFsbBCFARIZChRNb3RvckRpc3BlbnNlcjJTdGFs", + "bBCGARIZChRNb3RvckRpc3BlbnNlcjNTdGFsbBCHARIZChRNb3RvckRpc3Bl", + "bnNlcjRTdGFsbBCIARIZChRNb3RvckRpc3BlbnNlcjVTdGFsbBCJARIZChRN", + "b3RvckRpc3BlbnNlcjZTdGFsbBCKARIZChRNb3RvckRpc3BlbnNlcjdTdGFs", + "bBCLARIZChRNb3RvckRpc3BlbnNlcjhTdGFsbBCMARIbChZNb3RvckRyeWVy", + "VW5kZXJWb2x0YWdlEI0BEhwKF01vdG9yRmVlZGVyVW5kZXJWb2x0YWdlEI4B", + "Eh0KGE1vdG9yUkxvYWRlclVuZGVyVm9sdGFnZRCPARIcChdNb3RvclBvb2xl", + "clVuZGVyVm9sdGFnZRCQARIdChhNb3RvckxMb2FkZXJVbmRlclZvbHRhZ2UQ", + "kQESHAoXTW90b3JXaW5kZXJVbmRlclZvbHRhZ2UQkgESGwoWTW90b3JTY3Jl", + "d1VuZGVyVm9sdGFnZRCTARIgChtNb3RvckxvYWRpbmdBcm1VbmRlclZvbHRh", + "Z2UQlAESIAobTW90b3JEaXNwZW5zZXIxVW5kZXJWb2x0YWdlEJUBEiAKG01v", + "dG9yRGlzcGVuc2VyMlVuZGVyVm9sdGFnZRCWARIgChtNb3RvckRpc3BlbnNl", + "cjNVbmRlclZvbHRhZ2UQlwESIAobTW90b3JEaXNwZW5zZXI0VW5kZXJWb2x0", + "YWdlEJgBEiAKG01vdG9yRGlzcGVuc2VyNVVuZGVyVm9sdGFnZRCZARIgChtN", + "b3RvckRpc3BlbnNlcjZVbmRlclZvbHRhZ2UQmgESIAobTW90b3JEaXNwZW5z", + "ZXI3VW5kZXJWb2x0YWdlEJsBQiEKH2NvbS50d2luZS50YW5nby5wbXIuZGlh", + "Z25vc3RpY3NiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Tango.PMR.Diagnostics.EventType), }, null)); @@ -56,161 +124,597 @@ namespace Tango.PMR.Diagnostics { #region Enums public enum EventType { /// - ///Dancer overshot / Thread break sensor (Group = Thread Feeding System, Category = Error, Actions = Abort Running Job, Prevent Job Execution, Soft Visual Notification) + ///None (Group = Application, Category = Info, Actions = ) /// - [pbr::OriginalName("ThreadBreak")] ThreadBreak = 0, + [pbr::OriginalName("None")] None = 0, /// - ///Dancer not stable or got down (Group = Thread Feeding System, Category = Error, Actions = Abort Running Job, Soft Visual Notification, Prevent Job Execution) + /// Thread Break (Group = Thread Feeding System, Category = Error, Actions = ) /// - [pbr::OriginalName("ThreadTensionControlFailure")] ThreadTensionControlFailure = 1, + [pbr::OriginalName("ThreadBreak")] ThreadBreak = 1, /// - ///Source thread counter (counter shall be reset upon loading a new cone) (Group = Thread Feeding System, Category = Error, Actions = Abort Running Job, Prevent Job Execution, Soft Visual Notification) + /// Thread Tension Control Failure (Group = Thread Feeding System, Category = Error, Actions = ) /// - [pbr::OriginalName("FeederConeInsufficiant")] FeederConeInsufficiant = 2, + [pbr::OriginalName("ThreadTensionControlFailure")] ThreadTensionControlFailure = 2, /// - ///Winder Controller (Group = Thread Feeding System, Category = Error, Actions = Abort Running Job, Prevent Job Execution, Soft Visual Notification) + /// Feeder Cone Insufficiant (Group = Thread Feeding System, Category = Warning, Actions = ) /// - [pbr::OriginalName("WinderGeneralError")] WinderGeneralError = 3, + [pbr::OriginalName("FeederConeInsufficiant")] FeederConeInsufficiant = 3, /// - ///SW_SPOOL_EXISTS='0' or Winder Controller (Group = Thread Feeding System, Category = Error, Actions = Abort Running Job, Prevent Job Execution, Soft Visual Notification) + /// Winder General Error (Group = Thread Feeding System, Category = Error, Actions = ) /// - [pbr::OriginalName("WinderConeNotExists")] WinderConeNotExists = 4, + [pbr::OriginalName("WinderGeneralError")] WinderGeneralError = 4, /// - ///Motor Stall (Group = Thread Feeding System, Category = Error, Actions = Abort Running Job, Soft Visual Notification, Prevent Job Execution) + /// Winder Cone Not Exists (Group = Thread Feeding System, Category = Warning, Actions = ) /// - [pbr::OriginalName("ThreadFeedingGeneralError")] ThreadFeedingGeneralError = 5, + [pbr::OriginalName("WinderConeNotExists")] WinderConeNotExists = 5, /// - ///Dyeing Head Thermometers (Group = DH Dryer, Category = Error, Actions = Abort Running Job, Soft Visual Notification, Prevent Job Execution) + /// Thread Feeding General Error (Group = Thread Feeding System, Category = Error, Actions = ) /// - [pbr::OriginalName("DyeingHeadOverTemperature")] DyeingHeadOverTemperature = 6, + [pbr::OriginalName("ThreadFeedingGeneralError")] ThreadFeedingGeneralError = 6, /// - ///Current sense in all heaters is 0 (Group = DH Dryer, Category = Error, Actions = Abort Running Job, Soft Visual Notification, Prevent Job Execution) + /// Dyeing Head 1 Over Temperature (Group = Dryer Head, Category = Critical, Actions = ) /// - [pbr::OriginalName("DHThermalCutoff")] DhthermalCutoff = 7, + [pbr::OriginalName("DyeingHead1OverTemperature")] DyeingHead1OverTemperature = 7, /// - ///Dryer Thermometers (Group = DH Dryer, Category = Error, Actions = Prevent Job Execution, Abort Running Job, Soft Visual Notification) + /// Dyeing Head 2 Over Temperature (Group = Dryer Head, Category = Critical, Actions = ) /// - [pbr::OriginalName("DryerOverTemperature")] DryerOverTemperature = 8, + [pbr::OriginalName("DyeingHead2OverTemperature")] DyeingHead2OverTemperature = 8, /// - ///Current sense in all heaters is 0 (Group = DH Dryer, Category = Error, Actions = Abort Running Job, Soft Visual Notification, Prevent Job Execution) + /// Dyeing Head 3 Over Temperature (Group = Dryer Head, Category = Critical, Actions = ) /// - [pbr::OriginalName("DryerThermalCutoff")] DryerThermalCutoff = 9, + [pbr::OriginalName("DyeingHead3OverTemperature")] DyeingHead3OverTemperature = 9, /// - ///Dyeing head Heaters failure (Under /Over current) (Group = DH Dryer, Category = Error, Actions = Soft Visual Notification, Prevent Job Execution, Abort Running Job) + /// Dyeing Head 4 Over Temperature (Group = Dryer Head, Category = Critical, Actions = ) /// - [pbr::OriginalName("DyeingHeadHeatersCurrentOutOfRange")] DyeingHeadHeatersCurrentOutOfRange = 10, + [pbr::OriginalName("DyeingHead4OverTemperature")] DyeingHead4OverTemperature = 10, /// - ///Dryer Heaters failure (Under /Over current) (Group = DH Dryer, Category = Error, Actions = Abort Running Job, Soft Visual Notification, Prevent Job Execution) + /// Dyeing Head 5 Over Temperature (Group = Dryer Head, Category = Critical, Actions = ) /// - [pbr::OriginalName("DryerHeatersCurrentOutOfRange")] DryerHeatersCurrentOutOfRange = 11, + [pbr::OriginalName("DyeingHead5OverTemperature")] DyeingHead5OverTemperature = 11, /// - ///Covers Tampers (Group = DH Dryer, Category = Error, Actions = Prevent Job Execution, Soft Visual Notification) + /// Dyeing Head 6 Over Temperature (Group = Dryer Head, Category = Critical, Actions = ) /// - [pbr::OriginalName("DryerDHeadCoverOpen")] DryerDheadCoverOpen = 12, + [pbr::OriginalName("DyeingHead6OverTemperature")] DyeingHead6OverTemperature = 12, /// - ///Pressure sensor Purex or Air flow sensor (Flap) (Group = Waste Handling System, Category = Error, Actions = Abort Running Job, Prevent Job Execution, Soft Visual Notification) + /// Dyeing Head Thermal Cutoff (Group = Dryer Head, Category = Critical, Actions = ) /// - [pbr::OriginalName("AirFilterClogged")] AirFilterClogged = 13, + [pbr::OriginalName("DyeingHeadThermalCutoff")] DyeingHeadThermalCutoff = 13, /// - ///Micro-switch (Group = Waste Handling System, Category = Error, Actions = Abort Running Job, Prevent Job Execution, Soft Visual Notification) + /// Dryer Over Temperature (Group = Dryer, Category = Critical, Actions = ) /// - [pbr::OriginalName("AirFilterNotInstalled")] AirFilterNotInstalled = 14, + [pbr::OriginalName("DryerOverTemperature")] DryerOverTemperature = 14, /// - ///blower techo. Feedback, air flap (Group = Waste Handling System, Category = Error, Actions = Prevent Job Execution, Soft Visual Notification, Abort Running Job) + /// Dryer Thermal Cutoff (Group = Dryer, Category = Critical, Actions = ) /// - [pbr::OriginalName("WHSFailure")] Whsfailure = 15, + [pbr::OriginalName("DryerThermalCutoff")] DryerThermalCutoff = 15, /// - ///Check container float sensor (Group = Waste Handling System, Category = Warning, Actions = Soft Visual Notification) + /// Dyeing Head Heaters Current Out Of Range (Group = Dryer Head, Category = Error, Actions = ) /// - [pbr::OriginalName("WasteContainerIsAlmostFull")] WasteContainerIsAlmostFull = 16, + [pbr::OriginalName("DyeingHeadHeatersCurrentOutOfRange")] DyeingHeadHeatersCurrentOutOfRange = 16, /// - ///Check container float sensor (Group = Waste Handling System, Category = Error, Actions = Soft Visual Notification) + /// Dryer Heaters Current Out Of Range (Group = Dryer, Category = Error, Actions = ) /// - [pbr::OriginalName("WasteContainerIsFull")] WasteContainerIsFull = 17, + [pbr::OriginalName("DryerHeatersCurrentOutOfRange")] DryerHeatersCurrentOutOfRange = 17, /// - ///Dispenser position sensor/s (Group = Ink Delivery System, Category = Error, Actions = Prevent Job Execution, Abort Running Job, Soft Visual Notification) + /// Dryer Dying Head Cover Open (Group = Dryer, Category = Error, Actions = ) /// - [pbr::OriginalName("DispenserEmpty")] DispenserEmpty = 18, + [pbr::OriginalName("DryerDHeadCoverOpen")] DryerDheadCoverOpen = 18, /// - ///Check if job can be executor refill needed (Group = Ink Delivery System, Category = Warning, Actions = Soft Visual Notification) + /// Air Filter Clogged (Group = Waste Handling System, Category = Error, Actions = ) /// - [pbr::OriginalName("DispenserLowLevel")] DispenserLowLevel = 19, + [pbr::OriginalName("AirFilterClogged")] AirFilterClogged = 19, /// - ///Cartridge float displacement (Group = Ink Delivery System, Category = Error, Actions = Prevent Job Execution, Soft Visual Notification) + /// Air Filter Not Installed (Group = Waste Handling System, Category = Error, Actions = ) /// - [pbr::OriginalName("DispenserRefillFailure")] DispenserRefillFailure = 20, + [pbr::OriginalName("AirFilterNotInstalled")] AirFilterNotInstalled = 20, /// - ///Mid-Tank (Group = Ink Delivery System, Category = Warning, Actions = Soft Visual Notification) + /// WHS Failure (Group = Waste Handling System, Category = Error, Actions = ) /// - [pbr::OriginalName("MidTankEmpty")] MidTankEmpty = 21, + [pbr::OriginalName("WHSFailure")] Whsfailure = 21, /// - ///Cartridge float sensor (Group = Ink Delivery System, Category = Warning, Actions = Soft Visual Notification) + /// Waste Container Is Almost Full (Group = Waste Handling System, Category = Warning, Actions = ) /// - [pbr::OriginalName("MidTankLowLevel")] MidTankLowLevel = 22, + [pbr::OriginalName("WasteContainerIsAlmostFull")] WasteContainerIsAlmostFull = 22, /// - ///Cartridge float sensor or Additional micro-switch (Group = Ink Delivery System, Category = Warning, Actions = Soft Visual Notification) + /// Waste Container Is Full (Group = Waste Handling System, Category = Error, Actions = ) /// - [pbr::OriginalName("MidTankNotInPlace")] MidTankNotInPlace = 23, + [pbr::OriginalName("WasteContainerIsFull")] WasteContainerIsFull = 23, /// - ///System BIT Failure (Group = General Hardware, Category = Error, Actions = Soft Visual Notification) + /// Dispenser 1 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("SystemBITFail")] SystemBitfail = 24, + [pbr::OriginalName("Dispenser1Empty")] Dispenser1Empty = 24, /// - ///Internal Thermostat (Group = General Hardware, Category = Error, Actions = Prevent Job Execution, Soft Visual Notification, Abort Running Job, Stop Heaters) + /// Dispenser 2 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("GeneralInternalOverTemperature")] GeneralInternalOverTemperature = 25, + [pbr::OriginalName("Dispenser2Empty")] Dispenser2Empty = 25, /// - ///Covers Tampers (Group = General Hardware, Category = Warning, Actions = Soft Visual Notification) + /// Dispenser 3 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("MachineCoverOpen")] MachineCoverOpen = 26, + [pbr::OriginalName("Dispenser3Empty")] Dispenser3Empty = 26, /// - ///EPB (Group = General Hardware, Category = Critical, Actions = Overall Power Down, Soft Visual Notification) + /// Dispenser 4 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("EmergencyPushButtonPressed")] EmergencyPushButtonPressed = 27, + [pbr::OriginalName("Dispenser4Empty")] Dispenser4Empty = 27, /// - ///System General Error (Group = General Hardware, Category = Warning, Actions = Soft Visual Notification) + /// Dispenser 5 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("SystemGeneralError")] SystemGeneralError = 28, + [pbr::OriginalName("Dispenser5Empty")] Dispenser5Empty = 28, /// - ///Occurs a request has been sent to the machine or external bridge service (Group = Transport, Category = Info, Actions = ) + /// Dispenser 6 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("RequestSent")] RequestSent = 29, + [pbr::OriginalName("Dispenser6Empty")] Dispenser6Empty = 29, /// - ///Occures when a response has been received (Group = Transport, Category = Info, Actions = ) + /// Dispenser 7 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("ResponseReceived")] ResponseReceived = 30, + [pbr::OriginalName("Dispenser7Empty")] Dispenser7Empty = 30, /// - ///Occures when a request to the machine has failed (Group = Transport, Category = Error, Actions = ) + /// Dispenser 8 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("RequestFailed")] RequestFailed = 31, + [pbr::OriginalName("Dispenser8Empty")] Dispenser8Empty = 31, /// - ///Occures when the application has encountered some error (Group = Application, Category = Error, Actions = ) + /// Dispenser 1 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("ApplicationException")] ApplicationException = 32, + [pbr::OriginalName("Dispenser1LowLevel")] Dispenser1LowLevel = 32, /// - ///General application event logs (Group = Application, Category = Info, Actions = ) + /// Dispenser 2 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("ApplicationInformation")] ApplicationInformation = 33, + [pbr::OriginalName("Dispenser2LowLevel")] Dispenser2LowLevel = 33, /// - ///Notifies about application succesfully started (Group = Application, Category = Info, Actions = ) + /// Dispenser 3 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("ApplicationStarted")] ApplicationStarted = 34, + [pbr::OriginalName("Dispenser3LowLevel")] Dispenser3LowLevel = 34, /// - ///Notifies about application termination (Group = Application, Category = Info, Actions = ) + /// Dispenser 4 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("ApplicationTerminated")] ApplicationTerminated = 35, + [pbr::OriginalName("Dispenser4LowLevel")] Dispenser4LowLevel = 35, /// - ///Occures when a diagnostics recording has been started (Group = Application, Category = Info, Actions = ) + /// Dispenser 5 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("RecordingStarted")] RecordingStarted = 36, + [pbr::OriginalName("Dispenser5LowLevel")] Dispenser5LowLevel = 36, /// - ///Occures when a diagnostics recording has been stopped (Group = Application, Category = Info, Actions = ) + /// Dispenser 6 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("RecordingStopped")] RecordingStopped = 37, + [pbr::OriginalName("Dispenser6LowLevel")] Dispenser6LowLevel = 37, /// - ///Occures when a job status message has been received from the embedded device (Group = Application, Category = Info, Actions = ) + /// Dispenser 7 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) /// - [pbr::OriginalName("JobStatus")] JobStatus = 38, + [pbr::OriginalName("Dispenser7LowLevel")] Dispenser7LowLevel = 38, + /// + /// Dispenser 8 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("Dispenser8LowLevel")] Dispenser8LowLevel = 39, + /// + /// Dispenser 1 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("Dispenser1RefillFailure")] Dispenser1RefillFailure = 40, + /// + /// Dispenser 2 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("Dispenser2RefillFailure")] Dispenser2RefillFailure = 41, + /// + /// Dispenser 3 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("Dispenser3RefillFailure")] Dispenser3RefillFailure = 42, + /// + /// Dispenser 4 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("Dispenser4RefillFailure")] Dispenser4RefillFailure = 43, + /// + /// Dispenser 5 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("Dispenser5RefillFailure")] Dispenser5RefillFailure = 44, + /// + /// Dispenser 6 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("Dispenser6RefillFailure")] Dispenser6RefillFailure = 45, + /// + /// Dispenser 7 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("Dispenser7RefillFailure")] Dispenser7RefillFailure = 46, + /// + /// Dispenser 8 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("Dispenser8RefillFailure")] Dispenser8RefillFailure = 47, + /// + /// Dispenser 1 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// + [pbr::OriginalName("Dispenser1Pressure")] Dispenser1Pressure = 48, + /// + /// Dispenser 2 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// + [pbr::OriginalName("Dispenser2Pressure")] Dispenser2Pressure = 49, + /// + /// Dispenser 3 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// + [pbr::OriginalName("Dispenser3Pressure")] Dispenser3Pressure = 50, + /// + /// Dispenser 4 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// + [pbr::OriginalName("Dispenser4Pressure")] Dispenser4Pressure = 51, + /// + /// Dispenser 5 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// + [pbr::OriginalName("Dispenser5Pressure")] Dispenser5Pressure = 52, + /// + /// Dispenser 6 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// + [pbr::OriginalName("Dispenser6Pressure")] Dispenser6Pressure = 53, + /// + /// Dispenser 7 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// + [pbr::OriginalName("Dispenser7Pressure")] Dispenser7Pressure = 54, + /// + /// Dispenser 8 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// + [pbr::OriginalName("Dispenser8Pressure")] Dispenser8Pressure = 55, + /// + /// Mid Tank 1 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank1Empty")] MidTank1Empty = 56, + /// + /// Mid Tank 2 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank2Empty")] MidTank2Empty = 57, + /// + /// Mid Tank 3 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank3Empty")] MidTank3Empty = 58, + /// + /// Mid Tank 4 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank4Empty")] MidTank4Empty = 59, + /// + /// Mid Tank 5 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank5Empty")] MidTank5Empty = 60, + /// + /// Mid Tank 6 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank6Empty")] MidTank6Empty = 61, + /// + /// Mid Tank 7 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank7Empty")] MidTank7Empty = 62, + /// + /// Mid Tank 8 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank8Empty")] MidTank8Empty = 63, + /// + /// Mid Tank 1 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank1Lowlevel")] MidTank1Lowlevel = 64, + /// + /// Mid Tank 2 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank2Lowlevel")] MidTank2Lowlevel = 65, + /// + /// Mid Tank 3 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank3Lowlevel")] MidTank3Lowlevel = 66, + /// + /// Mid Tank 4 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank4Lowlevel")] MidTank4Lowlevel = 67, + /// + /// Mid Tank 5 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank5Lowlevel")] MidTank5Lowlevel = 68, + /// + /// Mid Tank 6 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank6Lowlevel")] MidTank6Lowlevel = 69, + /// + /// Mid Tank 7 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank7Lowlevel")] MidTank7Lowlevel = 70, + /// + /// Mid Tank 8 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank8Lowlevel")] MidTank8Lowlevel = 71, + /// + /// Mid Tank 1 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank1NotInPlace")] MidTank1NotInPlace = 72, + /// + /// Mid Tank 2 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank2NotInPlace")] MidTank2NotInPlace = 73, + /// + /// Mid Tank 3 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank3NotInPlace")] MidTank3NotInPlace = 74, + /// + /// Mid Tank 4 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank4NotInPlace")] MidTank4NotInPlace = 75, + /// + /// Mid Tank 5 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank5NotInPlace")] MidTank5NotInPlace = 76, + /// + /// Mid Tank 6 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank6NotInPlace")] MidTank6NotInPlace = 77, + /// + /// Mid Tank 7 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank7NotInPlace")] MidTank7NotInPlace = 78, + /// + /// Mid Tank 8 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MidTank8NotInPlace")] MidTank8NotInPlace = 79, + /// + /// System Built In Test Fail (Group = General Hardware, Category = Critical, Actions = ) + /// + [pbr::OriginalName("SystemBITFail")] SystemBitfail = 80, + /// + /// General Internal Over Temperature (Group = General Hardware, Category = Critical, Actions = ) + /// + [pbr::OriginalName("GeneralInternalOverTemperature")] GeneralInternalOverTemperature = 81, + /// + /// Machine Cover Open (Group = General Hardware, Category = Warning, Actions = ) + /// + [pbr::OriginalName("MachineCoverOpen")] MachineCoverOpen = 82, + /// + /// Emergency Push Button Pressed (Group = General Hardware, Category = Critical, Actions = ) + /// + [pbr::OriginalName("EmergencyPushButtonPressed")] EmergencyPushButtonPressed = 83, + /// + /// System General Error (Group = General Hardware, Category = Error, Actions = ) + /// + [pbr::OriginalName("SystemGeneralError")] SystemGeneralError = 84, + /// + /// Motor Dryer Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDryerOverCurrent")] MotorDryerOverCurrent = 93, + /// + /// Motor Feeder Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorFeederOverCurrent")] MotorFeederOverCurrent = 94, + /// + /// Motor Right Loader Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorRLoaderOverCurrent")] MotorRloaderOverCurrent = 95, + /// + /// Motor Pooler Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorPoolerOverCurrent")] MotorPoolerOverCurrent = 96, + /// + /// Motor Left Loader Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorLLoaderOverCurrent")] MotorLloaderOverCurrent = 97, + /// + /// Motor Winder Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorWinderOverCurrent")] MotorWinderOverCurrent = 98, + /// + /// Motor Screw Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorScrewOverCurrent")] MotorScrewOverCurrent = 99, + /// + /// Motor Loading Arm Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorLoadingArmOverCurrent")] MotorLoadingArmOverCurrent = 100, + /// + /// Motor Dispenser 1 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser1OverCurrent")] MotorDispenser1OverCurrent = 101, + /// + /// Motor Dispenser 2 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser2OverCurrent")] MotorDispenser2OverCurrent = 102, + /// + /// Motor Dispenser 3 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser3OverCurrent")] MotorDispenser3OverCurrent = 103, + /// + /// Motor Dispenser 4 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser4OverCurrent")] MotorDispenser4OverCurrent = 104, + /// + /// Motor Dispenser 5 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser5OverCurrent")] MotorDispenser5OverCurrent = 105, + /// + /// Motor Dispenser 6 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser6OverCurrent")] MotorDispenser6OverCurrent = 106, + /// + /// Motor Dispenser 7 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser7OverCurrent")] MotorDispenser7OverCurrent = 107, + /// + /// Motor Dispenser 8 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser8OverCurrent")] MotorDispenser8OverCurrent = 108, + /// + /// Motor Dryer Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDryerOverTemperature")] MotorDryerOverTemperature = 109, + /// + /// Motor Feeder Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorFeederOverTemperature")] MotorFeederOverTemperature = 110, + /// + /// Motor Right Loader Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorRLoaderOverTemperature")] MotorRloaderOverTemperature = 111, + /// + /// Motor Pooler Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorPoolerOverTemperature")] MotorPoolerOverTemperature = 112, + /// + /// Motor Left Loader Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorLLoaderOverTemperature")] MotorLloaderOverTemperature = 113, + /// + /// Motor Winder Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorWinderOverTemperature")] MotorWinderOverTemperature = 114, + /// + /// Motor Screw Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorScrewOverTemperature")] MotorScrewOverTemperature = 115, + /// + /// Motor Loading Arm Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorLoadingArmOverTemperature")] MotorLoadingArmOverTemperature = 116, + /// + /// Motor Dispenser 1 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser1OverTemperature")] MotorDispenser1OverTemperature = 117, + /// + /// Motor Dispenser 2 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser2OverTemperature")] MotorDispenser2OverTemperature = 118, + /// + /// Motor Dispenser 3 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser3OverTemperature")] MotorDispenser3OverTemperature = 119, + /// + /// Motor Dispenser 4 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser4OverTemperature")] MotorDispenser4OverTemperature = 120, + /// + /// Motor Dispenser 5 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser5OverTemperature")] MotorDispenser5OverTemperature = 121, + /// + /// Motor Dispenser 6 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser6OverTemperature")] MotorDispenser6OverTemperature = 122, + /// + /// Motor Dispenser 7 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser7OverTemperature")] MotorDispenser7OverTemperature = 123, + /// + /// Motor Dispenser 8 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser8OverTemperature")] MotorDispenser8OverTemperature = 124, + /// + /// Motor Dryer Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDryerStall")] MotorDryerStall = 125, + /// + /// Motor Feeder Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorFeederStall")] MotorFeederStall = 126, + /// + /// Motor Right Loader Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorRLoaderStall")] MotorRloaderStall = 127, + /// + /// Motor Pooler Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorPoolerStall")] MotorPoolerStall = 128, + /// + /// Motor Left Loader Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorLLoaderStall")] MotorLloaderStall = 129, + /// + /// Motor Winder Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorWinderStall")] MotorWinderStall = 130, + /// + /// Motor Screw Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorScrewStall")] MotorScrewStall = 131, + /// + /// Motor Loading Arm Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorLoadingArmStall")] MotorLoadingArmStall = 132, + /// + /// Motor Dispenser 1 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser1Stall")] MotorDispenser1Stall = 133, + /// + /// Motor Dispenser 2 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser2Stall")] MotorDispenser2Stall = 134, + /// + /// Motor Dispenser 3 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser3Stall")] MotorDispenser3Stall = 135, + /// + /// Motor Dispenser 4 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser4Stall")] MotorDispenser4Stall = 136, + /// + /// Motor Dispenser 5 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser5Stall")] MotorDispenser5Stall = 137, + /// + /// Motor Dispenser 6 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser6Stall")] MotorDispenser6Stall = 138, + /// + /// Motor Dispenser 7 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser7Stall")] MotorDispenser7Stall = 139, + /// + /// Motor Dispenser 8 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser8Stall")] MotorDispenser8Stall = 140, + /// + /// Motor Dryer Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDryerUnderVoltage")] MotorDryerUnderVoltage = 141, + /// + /// Motor Feeder Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorFeederUnderVoltage")] MotorFeederUnderVoltage = 142, + /// + /// Motor Right Loader Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorRLoaderUnderVoltage")] MotorRloaderUnderVoltage = 143, + /// + /// Motor Pooler Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorPoolerUnderVoltage")] MotorPoolerUnderVoltage = 144, + /// + /// Motor Left Loader Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorLLoaderUnderVoltage")] MotorLloaderUnderVoltage = 145, + /// + /// Motor Winder Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorWinderUnderVoltage")] MotorWinderUnderVoltage = 146, + /// + /// Motor Screw Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorScrewUnderVoltage")] MotorScrewUnderVoltage = 147, + /// + /// Motor Loading Arm Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorLoadingArmUnderVoltage")] MotorLoadingArmUnderVoltage = 148, + /// + /// Motor Dispenser 1 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser1UnderVoltage")] MotorDispenser1UnderVoltage = 149, + /// + /// Motor Dispenser 2 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser2UnderVoltage")] MotorDispenser2UnderVoltage = 150, + /// + /// Motor Dispenser 3 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser3UnderVoltage")] MotorDispenser3UnderVoltage = 151, + /// + /// Motor Dispenser 4 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser4UnderVoltage")] MotorDispenser4UnderVoltage = 152, + /// + /// Motor Dispenser 5 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser5UnderVoltage")] MotorDispenser5UnderVoltage = 153, + /// + /// Motor Dispenser 6 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser6UnderVoltage")] MotorDispenser6UnderVoltage = 154, + /// + /// Motor Dispenser 7 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// + [pbr::OriginalName("MotorDispenser7UnderVoltage")] MotorDispenser7UnderVoltage = 155, } #endregion diff --git a/Software/Visual_Studio/Tango.sln b/Software/Visual_Studio/Tango.sln index aa5e89dd3..94174e8a4 100644 --- a/Software/Visual_Studio/Tango.sln +++ b/Software/Visual_Studio/Tango.sln @@ -220,6 +220,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tango.PPC.UpdateService", " EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tango.PPC.Updater", "PPC\Tango.PPC.Updater\Tango.PPC.Updater.csproj", "{D0E71A4D-9EEA-4F07-983F-EEB4416C587F}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tango.EventsTypesGenerator", "Utilities\Tango.EventsTypesGenerator\Tango.EventsTypesGenerator.csproj", "{0BDA9B52-9879-4C5E-84E3-81D00B75DACC}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution AppVeyor|Any CPU = AppVeyor|Any CPU @@ -3859,6 +3861,46 @@ Global {D0E71A4D-9EEA-4F07-983F-EEB4416C587F}.Release|x64.Build.0 = Release|Any CPU {D0E71A4D-9EEA-4F07-983F-EEB4416C587F}.Release|x86.ActiveCfg = Release|Any CPU {D0E71A4D-9EEA-4F07-983F-EEB4416C587F}.Release|x86.Build.0 = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.AppVeyor|Any CPU.ActiveCfg = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.AppVeyor|Any CPU.Build.0 = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.AppVeyor|ARM.ActiveCfg = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.AppVeyor|ARM.Build.0 = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.AppVeyor|ARM64.ActiveCfg = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.AppVeyor|ARM64.Build.0 = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.AppVeyor|x64.ActiveCfg = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.AppVeyor|x64.Build.0 = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.AppVeyor|x86.ActiveCfg = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.AppVeyor|x86.Build.0 = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Debug|ARM.ActiveCfg = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Debug|ARM.Build.0 = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Debug|ARM64.Build.0 = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Debug|x64.ActiveCfg = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Debug|x64.Build.0 = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Debug|x86.ActiveCfg = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Debug|x86.Build.0 = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.DefaultBuild|Any CPU.ActiveCfg = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.DefaultBuild|Any CPU.Build.0 = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.DefaultBuild|ARM.ActiveCfg = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.DefaultBuild|ARM.Build.0 = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.DefaultBuild|ARM64.ActiveCfg = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.DefaultBuild|ARM64.Build.0 = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.DefaultBuild|x64.ActiveCfg = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.DefaultBuild|x64.Build.0 = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.DefaultBuild|x86.ActiveCfg = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.DefaultBuild|x86.Build.0 = Debug|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Release|Any CPU.Build.0 = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Release|ARM.ActiveCfg = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Release|ARM.Build.0 = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Release|ARM64.ActiveCfg = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Release|ARM64.Build.0 = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Release|x64.ActiveCfg = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Release|x64.Build.0 = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Release|x86.ActiveCfg = Release|Any CPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -3926,14 +3968,15 @@ Global {FABA6A2B-C7EA-4C58-A125-150FA5B4C72F} = {C81ED1A3-D18C-4D80-A8F5-061994A14A60} {01C3EF89-6A17-4D70-A71F-0395A212F2F8} = {C81ED1A3-D18C-4D80-A8F5-061994A14A60} {D0E71A4D-9EEA-4F07-983F-EEB4416C587F} = {C81ED1A3-D18C-4D80-A8F5-061994A14A60} + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC} = {5F6BBAA8-EAD0-4B18-97E5-55B4F56DD760} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution - BuildVersion_UseGlobalSettings = False - BuildVersion_AssemblyInfoFilename = Properties\AssemblyInfo.cs - BuildVersion_StartDate = 2000/1/1 - BuildVersion_UpdateFileVersion = False - BuildVersion_UpdateAssemblyVersion = True - BuildVersion_BuildVersioningStyle = None.None.Increment.DeltaBaseYearDayOfYear SolutionGuid = {7986F7F4-A86A-4994-B1B6-0988D7F057B6} + BuildVersion_BuildVersioningStyle = None.None.Increment.DeltaBaseYearDayOfYear + BuildVersion_UpdateAssemblyVersion = True + BuildVersion_UpdateFileVersion = False + BuildVersion_StartDate = 2000/1/1 + BuildVersion_AssemblyInfoFilename = Properties\AssemblyInfo.cs + BuildVersion_UseGlobalSettings = False EndGlobalSection EndGlobal diff --git a/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/App.config b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/App.config new file mode 100644 index 000000000..92aa00bf9 --- /dev/null +++ b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/App.config @@ -0,0 +1,16 @@ + + + + +
+ + + + + + + + + + + \ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Program.cs b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Program.cs new file mode 100644 index 000000000..e4fc911ec --- /dev/null +++ b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Program.cs @@ -0,0 +1,81 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Tango.BL; +using Tango.BL.Entities; +using Tango.BL.Enumerations; +using Tango.Core.Helpers; +using Tango.Documents; + +namespace Tango.EventsTypesGenerator +{ + class Program + { + private class ExcelEventType + { + public String Code { get; set; } + public String Name { get; set; } + public String Description { get; set; } + public String Category { get; set; } + public String Group { get; set; } + public String UserInterventionRequired { get; set; } + public String Resolvable { get; set; } + + public override string ToString() + { + return String.Format("{0}, {1}, {2}, {3}, {4}, {5}, {6}", Code, Name, Description, Category, Group, UserInterventionRequired, Resolvable); + } + } + + static void Main(string[] args) + { + Console.WriteLine("Generating hardware event types..."); + + ExcelReader reader = new ExcelReader(PathHelper.GetStartupPath() + "\\Events.xlsx"); + var results = reader.GetDataByIndex("Events", 2); + + Console.WriteLine("Clearing all previous hardware events..."); + + using (ObservablesContext db = ObservablesContext.CreateDefault()) + { + var eventTypes = db.EventTypes.ToList(); + + foreach (var evType in eventTypes) + { + EventTypesGroups group = (EventTypesGroups)evType.EventTypesGroup.Code; + + if (group != EventTypesGroups.Application && group != EventTypesGroups.Transport) + { + db.EventTypes.Remove(evType); + } + } + + Console.WriteLine("Inserting new events..."); + + foreach (var evType in results) + { + Console.WriteLine("Inserting " + evType.ToString()); + + EventType newEvent = new EventType(); + newEvent.Code = int.Parse(evType.Code); + newEvent.Name = evType.Name; + newEvent.Description = evType.Description; + newEvent.EventTypesCategory = db.EventTypesCategories.SingleOrDefault(x => x.Name == evType.Category); + newEvent.EventTypesGroup = db.EventTypesGroups.SingleOrDefault(x => x.Name == evType.Group); + newEvent.RequiresUserIntervention = evType.UserInterventionRequired == "Yes" ? true : false; + newEvent.Resolvable = evType.Resolvable == "Yes" ? true : false; + db.EventTypes.Add(newEvent); + } + + + Console.WriteLine("Saving changed..."); + db.SaveChanges(); + } + + Console.WriteLine("Done!"); + Console.ReadLine(); + } + } +} diff --git a/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Properties/AssemblyInfo.cs b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Properties/AssemblyInfo.cs new file mode 100644 index 000000000..64514b030 --- /dev/null +++ b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Properties/AssemblyInfo.cs @@ -0,0 +1,9 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Tango Event Types Generator")] +[assembly: AssemblyVersion("1.0.0.0")] diff --git a/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Tango.EventsTypesGenerator.csproj b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Tango.EventsTypesGenerator.csproj new file mode 100644 index 000000000..6ab5723a7 --- /dev/null +++ b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/Tango.EventsTypesGenerator.csproj @@ -0,0 +1,81 @@ + + + + + Debug + AnyCPU + {0BDA9B52-9879-4C5E-84E3-81D00B75DACC} + Exe + Tango.EventsTypesGenerator + Tango.EventsTypesGenerator + v4.6 + 512 + true + + + AnyCPU + true + full + false + ..\..\Build\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + ..\..\Build\Debug\ + TRACE + prompt + 4 + + + + ..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll + + + ..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll + + + + + + + + + + + + + + GlobalVersionInfo.cs + + + + + + + Events.xlsx + PreserveNewest + + + + + + + {f441feee-322a-4943-b566-110e12fd3b72} + Tango.BL + + + {a34ee0f0-649d-41c8-8489-b6f1cc6924ee} + Tango.Core + + + {ca87a608-7b17-4c98-88f2-42abee10f4c1} + Tango.Documents + + + + \ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/packages.config b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/packages.config new file mode 100644 index 000000000..9256e1591 --- /dev/null +++ b/Software/Visual_Studio/Utilities/Tango.EventsTypesGenerator/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs b/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs index e3e225bbb..96f0ed441 100644 --- a/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs +++ b/Software/Visual_Studio/Utilities/Tango.PMRGenerator.CLI/Program.cs @@ -52,7 +52,7 @@ namespace Tango.PMRGenerator.CLI GenerateColorLabLiquidTypes(db, pmrFolder); GenerateDiagnosticsValueComponents(db, pmrFolder); GenerateDiagnosticsMonitors(db, pmrFolder); - GenerateDiagnosticsEventTypes(db, pmrFolder); + GenerateEventTypes(db, pmrFolder); } Console.WriteLine("Done"); @@ -573,15 +573,15 @@ namespace Tango.PMRGenerator.CLI File.WriteAllText(Path.Combine(pmrFolder, "Diagnostics", messageFile.Name + ".proto"), messageString); } - private static void GenerateDiagnosticsEventTypes(ObservablesContext db, String pmrFolder) + private static void GenerateEventTypes(ObservablesContext db, String pmrFolder) { - Console.WriteLine("Generating Diagnostics Event Types..."); + Console.WriteLine("Generating Event Types..."); ProtoEnumFile enumFile = new ProtoEnumFile(); enumFile.Name = "EventType"; enumFile.Package = "Tango.PMR.Diagnostics"; - foreach (var field in db.EventTypes.ToList().OrderBy(x => x.Code)) + foreach (var field in db.EventTypes.ToList().Where(x => x.Code < 1000).OrderBy(x => x.Code)) { enumFile.Fields.Add(new EnumerationField() { -- cgit v1.3.1