diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-08-13 19:50:34 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-08-13 19:50:34 +0300 |
| commit | 9493a730360fbcf5afb612bcd7b3bcbe0a2174f9 (patch) | |
| tree | ed60abf7a8402521f929abf65cb943ed6d6ef3b6 | |
| parent | b4643d9c4a6a1d43572eebc628fb0cd311b26923 (diff) | |
| download | Tango-9493a730360fbcf5afb612bcd7b3bcbe0a2174f9.tar.gz Tango-9493a730360fbcf5afb612bcd7b3bcbe0a2174f9.zip | |
Implemented EventTypes excel generator.
Added and delete new hardware events according to Events.xlsx document.
14 files changed, 2079 insertions, 309 deletions
diff --git a/Software/DB/Tango.mdf b/Software/DB/Tango.mdf Binary files differindex 974a3d76f..97c8b24cd 100644 --- a/Software/DB/Tango.mdf +++ b/Software/DB/Tango.mdf diff --git a/Software/DB/Tango_log.ldf b/Software/DB/Tango_log.ldf Binary files differindex d7a96e0c8..7beb87baf 100644 --- a/Software/DB/Tango_log.ldf +++ b/Software/DB/Tango_log.ldf 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 Binary files differnew file mode 100644 index 000000000..0f33f3d16 --- /dev/null +++ b/Software/Visual_Studio/Resources/Events.xlsx 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 { /// <summary> - /// (Dancer overshot / Thread break sensor) + /// (None) /// </summary> - [Description("Dancer overshot / Thread break sensor")] - ThreadBreak = 0, + [Description("None")] + None = 0, /// <summary> - /// (Dancer not stable or got down) + /// ( Thread Break) /// </summary> - [Description("Dancer not stable or got down")] - ThreadTensionControlFailure = 1, + [Description(" Thread Break")] + ThreadBreak = 1, /// <summary> - /// (Source thread counter (counter shall be reset upon loading a new cone)) + /// ( Thread Tension Control Failure) /// </summary> - [Description("Source thread counter (counter shall be reset upon loading a new cone)")] - FeederConeInsufficiant = 2, + [Description(" Thread Tension Control Failure")] + ThreadTensionControlFailure = 2, /// <summary> - /// (Winder Controller) + /// ( Feeder Cone Insufficiant) /// </summary> - [Description("Winder Controller")] - WinderGeneralError = 3, + [Description(" Feeder Cone Insufficiant")] + FeederConeInsufficiant = 3, /// <summary> - /// (SW_SPOOL_EXISTS='0' or Winder Controller) + /// ( Winder General Error) /// </summary> - [Description("SW_SPOOL_EXISTS='0' or Winder Controller")] - WinderConeNotExists = 4, + [Description(" Winder General Error")] + WinderGeneralError = 4, /// <summary> - /// (Motor Stall) + /// ( Winder Cone Not Exists) /// </summary> - [Description("Motor Stall")] - ThreadFeedingGeneralError = 5, + [Description(" Winder Cone Not Exists")] + WinderConeNotExists = 5, /// <summary> - /// (Dyeing Head Thermometers) + /// ( Thread Feeding General Error) /// </summary> - [Description("Dyeing Head Thermometers")] - DyeingHeadOverTemperature = 6, + [Description(" Thread Feeding General Error")] + ThreadFeedingGeneralError = 6, /// <summary> - /// (Current sense in all heaters is 0) + /// ( Dyeing Head 1 Over Temperature) /// </summary> - [Description("Current sense in all heaters is 0")] - DHThermalCutoff = 7, + [Description(" Dyeing Head 1 Over Temperature")] + DyeingHead1OverTemperature = 7, /// <summary> - /// (Dryer Thermometers) + /// ( Dyeing Head 2 Over Temperature) /// </summary> - [Description("Dryer Thermometers")] - DryerOverTemperature = 8, + [Description(" Dyeing Head 2 Over Temperature")] + DyeingHead2OverTemperature = 8, /// <summary> - /// (Current sense in all heaters is 0) + /// ( Dyeing Head 3 Over Temperature) /// </summary> - [Description("Current sense in all heaters is 0")] - DryerThermalCutoff = 9, + [Description(" Dyeing Head 3 Over Temperature")] + DyeingHead3OverTemperature = 9, /// <summary> - /// (Dyeing head Heaters failure (Under /Over current)) + /// ( Dyeing Head 4 Over Temperature) /// </summary> - [Description("Dyeing head Heaters failure (Under /Over current)")] - DyeingHeadHeatersCurrentOutOfRange = 10, + [Description(" Dyeing Head 4 Over Temperature")] + DyeingHead4OverTemperature = 10, /// <summary> - /// (Dryer Heaters failure (Under /Over current)) + /// ( Dyeing Head 5 Over Temperature) /// </summary> - [Description("Dryer Heaters failure (Under /Over current)")] - DryerHeatersCurrentOutOfRange = 11, + [Description(" Dyeing Head 5 Over Temperature")] + DyeingHead5OverTemperature = 11, /// <summary> - /// (Covers Tampers) + /// ( Dyeing Head 6 Over Temperature) /// </summary> - [Description("Covers Tampers")] - DryerDHeadCoverOpen = 12, + [Description(" Dyeing Head 6 Over Temperature")] + DyeingHead6OverTemperature = 12, /// <summary> - /// (Pressure sensor Purex or Air flow sensor (Flap)) + /// ( Dyeing Head Thermal Cutoff) /// </summary> - [Description("Pressure sensor Purex or Air flow sensor (Flap)")] - AirFilterClogged = 13, + [Description(" Dyeing Head Thermal Cutoff")] + DyeingHeadThermalCutoff = 13, /// <summary> - /// (Micro-switch) + /// ( Dryer Over Temperature) /// </summary> - [Description("Micro-switch")] - AirFilterNotInstalled = 14, + [Description(" Dryer Over Temperature")] + DryerOverTemperature = 14, /// <summary> - /// (blower techo. Feedback, air flap) + /// ( Dryer Thermal Cutoff) /// </summary> - [Description("blower techo. Feedback, air flap")] - WHSFailure = 15, + [Description(" Dryer Thermal Cutoff")] + DryerThermalCutoff = 15, /// <summary> - /// (Check container float sensor) + /// ( Dyeing Head Heaters Current Out Of Range) /// </summary> - [Description("Check container float sensor")] - WasteContainerIsAlmostFull = 16, + [Description(" Dyeing Head Heaters Current Out Of Range")] + DyeingHeadHeatersCurrentOutOfRange = 16, /// <summary> - /// (Check container float sensor) + /// ( Dryer Heaters Current Out Of Range) /// </summary> - [Description("Check container float sensor")] - WasteContainerIsFull = 17, + [Description(" Dryer Heaters Current Out Of Range")] + DryerHeatersCurrentOutOfRange = 17, /// <summary> - /// (Dispenser position sensor/s) + /// ( Dryer Dying Head Cover Open) /// </summary> - [Description("Dispenser position sensor/s")] - DispenserEmpty = 18, + [Description(" Dryer Dying Head Cover Open")] + DryerDHeadCoverOpen = 18, /// <summary> - /// (Check if job can be executor refill needed) + /// ( Air Filter Clogged) /// </summary> - [Description("Check if job can be executor refill needed")] - DispenserLowLevel = 19, + [Description(" Air Filter Clogged")] + AirFilterClogged = 19, /// <summary> - /// (Cartridge float displacement) + /// ( Air Filter Not Installed) /// </summary> - [Description("Cartridge float displacement")] - DispenserRefillFailure = 20, + [Description(" Air Filter Not Installed")] + AirFilterNotInstalled = 20, /// <summary> - /// (Mid-Tank ) + /// ( WHS Failure) /// </summary> - [Description("Mid-Tank ")] - MidTankEmpty = 21, + [Description(" WHS Failure")] + WHSFailure = 21, /// <summary> - /// (Cartridge float sensor) + /// ( Waste Container Is Almost Full) /// </summary> - [Description("Cartridge float sensor")] - MidTankLowLevel = 22, + [Description(" Waste Container Is Almost Full")] + WasteContainerIsAlmostFull = 22, /// <summary> - /// (Cartridge float sensor or Additional micro-switch) + /// ( Waste Container Is Full) /// </summary> - [Description("Cartridge float sensor or Additional micro-switch")] - MidTankNotInPlace = 23, + [Description(" Waste Container Is Full")] + WasteContainerIsFull = 23, /// <summary> - /// (System BIT Failure) + /// ( Dispenser 1 Empty) /// </summary> - [Description("System BIT Failure")] - SystemBITFail = 24, + [Description(" Dispenser 1 Empty")] + Dispenser1Empty = 24, /// <summary> - /// (Internal Thermostat) + /// ( Dispenser 2 Empty) /// </summary> - [Description("Internal Thermostat")] - GeneralInternalOverTemperature = 25, + [Description(" Dispenser 2 Empty")] + Dispenser2Empty = 25, /// <summary> - /// (Covers Tampers) + /// ( Dispenser 3 Empty) /// </summary> - [Description("Covers Tampers")] - MachineCoverOpen = 26, + [Description(" Dispenser 3 Empty")] + Dispenser3Empty = 26, /// <summary> - /// (EPB) + /// ( Dispenser 4 Empty) /// </summary> - [Description("EPB")] - EmergencyPushButtonPressed = 27, + [Description(" Dispenser 4 Empty")] + Dispenser4Empty = 27, /// <summary> - /// (System General Error) + /// ( Dispenser 5 Empty) /// </summary> - [Description("System General Error")] - SystemGeneralError = 28, + [Description(" Dispenser 5 Empty")] + Dispenser5Empty = 28, + + /// <summary> + /// ( Dispenser 6 Empty) + /// </summary> + [Description(" Dispenser 6 Empty")] + Dispenser6Empty = 29, + + /// <summary> + /// ( Dispenser 7 Empty) + /// </summary> + [Description(" Dispenser 7 Empty")] + Dispenser7Empty = 30, + + /// <summary> + /// ( Dispenser 8 Empty) + /// </summary> + [Description(" Dispenser 8 Empty")] + Dispenser8Empty = 31, + + /// <summary> + /// ( Dispenser 1 Low Level) + /// </summary> + [Description(" Dispenser 1 Low Level")] + Dispenser1LowLevel = 32, + + /// <summary> + /// ( Dispenser 2 Low Level) + /// </summary> + [Description(" Dispenser 2 Low Level")] + Dispenser2LowLevel = 33, + + /// <summary> + /// ( Dispenser 3 Low Level) + /// </summary> + [Description(" Dispenser 3 Low Level")] + Dispenser3LowLevel = 34, + + /// <summary> + /// ( Dispenser 4 Low Level) + /// </summary> + [Description(" Dispenser 4 Low Level")] + Dispenser4LowLevel = 35, + + /// <summary> + /// ( Dispenser 5 Low Level) + /// </summary> + [Description(" Dispenser 5 Low Level")] + Dispenser5LowLevel = 36, + + /// <summary> + /// ( Dispenser 6 Low Level) + /// </summary> + [Description(" Dispenser 6 Low Level")] + Dispenser6LowLevel = 37, + + /// <summary> + /// ( Dispenser 7 Low Level) + /// </summary> + [Description(" Dispenser 7 Low Level")] + Dispenser7LowLevel = 38, + + /// <summary> + /// ( Dispenser 8 Low Level) + /// </summary> + [Description(" Dispenser 8 Low Level")] + Dispenser8LowLevel = 39, + + /// <summary> + /// ( Dispenser 1 Refill Failure) + /// </summary> + [Description(" Dispenser 1 Refill Failure")] + Dispenser1RefillFailure = 40, + + /// <summary> + /// ( Dispenser 2 Refill Failure) + /// </summary> + [Description(" Dispenser 2 Refill Failure")] + Dispenser2RefillFailure = 41, + + /// <summary> + /// ( Dispenser 3 Refill Failure) + /// </summary> + [Description(" Dispenser 3 Refill Failure")] + Dispenser3RefillFailure = 42, + + /// <summary> + /// ( Dispenser 4 Refill Failure) + /// </summary> + [Description(" Dispenser 4 Refill Failure")] + Dispenser4RefillFailure = 43, + + /// <summary> + /// ( Dispenser 5 Refill Failure) + /// </summary> + [Description(" Dispenser 5 Refill Failure")] + Dispenser5RefillFailure = 44, + + /// <summary> + /// ( Dispenser 6 Refill Failure) + /// </summary> + [Description(" Dispenser 6 Refill Failure")] + Dispenser6RefillFailure = 45, + + /// <summary> + /// ( Dispenser 7 Refill Failure) + /// </summary> + [Description(" Dispenser 7 Refill Failure")] + Dispenser7RefillFailure = 46, + + /// <summary> + /// ( Dispenser 8 Refill Failure) + /// </summary> + [Description(" Dispenser 8 Refill Failure")] + Dispenser8RefillFailure = 47, + + /// <summary> + /// ( Dispenser 1 Pressure) + /// </summary> + [Description(" Dispenser 1 Pressure")] + Dispenser1Pressure = 48, + + /// <summary> + /// ( Dispenser 2 Pressure) + /// </summary> + [Description(" Dispenser 2 Pressure")] + Dispenser2Pressure = 49, + + /// <summary> + /// ( Dispenser 3 Pressure) + /// </summary> + [Description(" Dispenser 3 Pressure")] + Dispenser3Pressure = 50, + + /// <summary> + /// ( Dispenser 4 Pressure) + /// </summary> + [Description(" Dispenser 4 Pressure")] + Dispenser4Pressure = 51, + + /// <summary> + /// ( Dispenser 5 Pressure) + /// </summary> + [Description(" Dispenser 5 Pressure")] + Dispenser5Pressure = 52, + + /// <summary> + /// ( Dispenser 6 Pressure) + /// </summary> + [Description(" Dispenser 6 Pressure")] + Dispenser6Pressure = 53, + + /// <summary> + /// ( Dispenser 7 Pressure) + /// </summary> + [Description(" Dispenser 7 Pressure")] + Dispenser7Pressure = 54, + + /// <summary> + /// ( Dispenser 8 Pressure) + /// </summary> + [Description(" Dispenser 8 Pressure")] + Dispenser8Pressure = 55, + + /// <summary> + /// ( Mid Tank 1 Empty) + /// </summary> + [Description(" Mid Tank 1 Empty")] + MidTank1Empty = 56, + + /// <summary> + /// ( Mid Tank 2 Empty) + /// </summary> + [Description(" Mid Tank 2 Empty")] + MidTank2Empty = 57, + + /// <summary> + /// ( Mid Tank 3 Empty) + /// </summary> + [Description(" Mid Tank 3 Empty")] + MidTank3Empty = 58, + + /// <summary> + /// ( Mid Tank 4 Empty) + /// </summary> + [Description(" Mid Tank 4 Empty")] + MidTank4Empty = 59, + + /// <summary> + /// ( Mid Tank 5 Empty) + /// </summary> + [Description(" Mid Tank 5 Empty")] + MidTank5Empty = 60, + + /// <summary> + /// ( Mid Tank 6 Empty) + /// </summary> + [Description(" Mid Tank 6 Empty")] + MidTank6Empty = 61, + + /// <summary> + /// ( Mid Tank 7 Empty) + /// </summary> + [Description(" Mid Tank 7 Empty")] + MidTank7Empty = 62, + + /// <summary> + /// ( Mid Tank 8 Empty) + /// </summary> + [Description(" Mid Tank 8 Empty")] + MidTank8Empty = 63, + + /// <summary> + /// ( Mid Tank 1 Lowlevel) + /// </summary> + [Description(" Mid Tank 1 Lowlevel")] + MidTank1Lowlevel = 64, + + /// <summary> + /// ( Mid Tank 2 Lowlevel) + /// </summary> + [Description(" Mid Tank 2 Lowlevel")] + MidTank2Lowlevel = 65, + + /// <summary> + /// ( Mid Tank 3 Lowlevel) + /// </summary> + [Description(" Mid Tank 3 Lowlevel")] + MidTank3Lowlevel = 66, + + /// <summary> + /// ( Mid Tank 4 Lowlevel) + /// </summary> + [Description(" Mid Tank 4 Lowlevel")] + MidTank4Lowlevel = 67, + + /// <summary> + /// ( Mid Tank 5 Lowlevel) + /// </summary> + [Description(" Mid Tank 5 Lowlevel")] + MidTank5Lowlevel = 68, + + /// <summary> + /// ( Mid Tank 6 Lowlevel) + /// </summary> + [Description(" Mid Tank 6 Lowlevel")] + MidTank6Lowlevel = 69, + + /// <summary> + /// ( Mid Tank 7 Lowlevel) + /// </summary> + [Description(" Mid Tank 7 Lowlevel")] + MidTank7Lowlevel = 70, + + /// <summary> + /// ( Mid Tank 8 Lowlevel) + /// </summary> + [Description(" Mid Tank 8 Lowlevel")] + MidTank8Lowlevel = 71, + + /// <summary> + /// ( Mid Tank 1 Not In Place) + /// </summary> + [Description(" Mid Tank 1 Not In Place")] + MidTank1NotInPlace = 72, + + /// <summary> + /// ( Mid Tank 2 Not In Place) + /// </summary> + [Description(" Mid Tank 2 Not In Place")] + MidTank2NotInPlace = 73, + + /// <summary> + /// ( Mid Tank 3 Not In Place) + /// </summary> + [Description(" Mid Tank 3 Not In Place")] + MidTank3NotInPlace = 74, + + /// <summary> + /// ( Mid Tank 4 Not In Place) + /// </summary> + [Description(" Mid Tank 4 Not In Place")] + MidTank4NotInPlace = 75, + + /// <summary> + /// ( Mid Tank 5 Not In Place) + /// </summary> + [Description(" Mid Tank 5 Not In Place")] + MidTank5NotInPlace = 76, + + /// <summary> + /// ( Mid Tank 6 Not In Place) + /// </summary> + [Description(" Mid Tank 6 Not In Place")] + MidTank6NotInPlace = 77, + + /// <summary> + /// ( Mid Tank 7 Not In Place) + /// </summary> + [Description(" Mid Tank 7 Not In Place")] + MidTank7NotInPlace = 78, + + /// <summary> + /// ( Mid Tank 8 Not In Place) + /// </summary> + [Description(" Mid Tank 8 Not In Place")] + MidTank8NotInPlace = 79, + + /// <summary> + /// ( System Built In Test Fail) + /// </summary> + [Description(" System Built In Test Fail")] + SystemBITFail = 80, + + /// <summary> + /// ( General Internal Over Temperature) + /// </summary> + [Description(" General Internal Over Temperature")] + GeneralInternalOverTemperature = 81, + + /// <summary> + /// ( Machine Cover Open) + /// </summary> + [Description(" Machine Cover Open")] + MachineCoverOpen = 82, + + /// <summary> + /// ( Emergency Push Button Pressed) + /// </summary> + [Description(" Emergency Push Button Pressed")] + EmergencyPushButtonPressed = 83, + + /// <summary> + /// ( System General Error) + /// </summary> + [Description(" System General Error")] + SystemGeneralError = 84, + + /// <summary> + /// ( Motor Dryer Over Current) + /// </summary> + [Description(" Motor Dryer Over Current")] + MotorDryerOverCurrent = 93, + + /// <summary> + /// ( Motor Feeder Over Current) + /// </summary> + [Description(" Motor Feeder Over Current")] + MotorFeederOverCurrent = 94, + + /// <summary> + /// ( Motor Right Loader Over Current) + /// </summary> + [Description(" Motor Right Loader Over Current")] + MotorRLoaderOverCurrent = 95, + + /// <summary> + /// ( Motor Pooler Over Current) + /// </summary> + [Description(" Motor Pooler Over Current")] + MotorPoolerOverCurrent = 96, + + /// <summary> + /// ( Motor Left Loader Over Current) + /// </summary> + [Description(" Motor Left Loader Over Current")] + MotorLLoaderOverCurrent = 97, + + /// <summary> + /// ( Motor Winder Over Current) + /// </summary> + [Description(" Motor Winder Over Current")] + MotorWinderOverCurrent = 98, + + /// <summary> + /// ( Motor Screw Over Current) + /// </summary> + [Description(" Motor Screw Over Current")] + MotorScrewOverCurrent = 99, + + /// <summary> + /// ( Motor Loading Arm Over Current) + /// </summary> + [Description(" Motor Loading Arm Over Current")] + MotorLoadingArmOverCurrent = 100, + + /// <summary> + /// ( Motor Dispenser 1 Over Current) + /// </summary> + [Description(" Motor Dispenser 1 Over Current")] + MotorDispenser1OverCurrent = 101, + + /// <summary> + /// ( Motor Dispenser 2 Over Current) + /// </summary> + [Description(" Motor Dispenser 2 Over Current")] + MotorDispenser2OverCurrent = 102, + + /// <summary> + /// ( Motor Dispenser 3 Over Current) + /// </summary> + [Description(" Motor Dispenser 3 Over Current")] + MotorDispenser3OverCurrent = 103, + + /// <summary> + /// ( Motor Dispenser 4 Over Current) + /// </summary> + [Description(" Motor Dispenser 4 Over Current")] + MotorDispenser4OverCurrent = 104, + + /// <summary> + /// ( Motor Dispenser 5 Over Current) + /// </summary> + [Description(" Motor Dispenser 5 Over Current")] + MotorDispenser5OverCurrent = 105, + + /// <summary> + /// ( Motor Dispenser 6 Over Current) + /// </summary> + [Description(" Motor Dispenser 6 Over Current")] + MotorDispenser6OverCurrent = 106, + + /// <summary> + /// ( Motor Dispenser 7 Over Current) + /// </summary> + [Description(" Motor Dispenser 7 Over Current")] + MotorDispenser7OverCurrent = 107, + + /// <summary> + /// ( Motor Dispenser 8 Over Current) + /// </summary> + [Description(" Motor Dispenser 8 Over Current")] + MotorDispenser8OverCurrent = 108, + + /// <summary> + /// ( Motor Dryer Over Temperature) + /// </summary> + [Description(" Motor Dryer Over Temperature")] + MotorDryerOverTemperature = 109, + + /// <summary> + /// ( Motor Feeder Over Temperature) + /// </summary> + [Description(" Motor Feeder Over Temperature")] + MotorFeederOverTemperature = 110, + + /// <summary> + /// ( Motor Right Loader Over Temperature) + /// </summary> + [Description(" Motor Right Loader Over Temperature")] + MotorRLoaderOverTemperature = 111, + + /// <summary> + /// ( Motor Pooler Over Temperature) + /// </summary> + [Description(" Motor Pooler Over Temperature")] + MotorPoolerOverTemperature = 112, + + /// <summary> + /// ( Motor Left Loader Over Temperature) + /// </summary> + [Description(" Motor Left Loader Over Temperature")] + MotorLLoaderOverTemperature = 113, + + /// <summary> + /// ( Motor Winder Over Temperature) + /// </summary> + [Description(" Motor Winder Over Temperature")] + MotorWinderOverTemperature = 114, + + /// <summary> + /// ( Motor Screw Over Temperature) + /// </summary> + [Description(" Motor Screw Over Temperature")] + MotorScrewOverTemperature = 115, + + /// <summary> + /// ( Motor Loading Arm Over Temperature) + /// </summary> + [Description(" Motor Loading Arm Over Temperature")] + MotorLoadingArmOverTemperature = 116, + + /// <summary> + /// ( Motor Dispenser 1 Over Temperature) + /// </summary> + [Description(" Motor Dispenser 1 Over Temperature")] + MotorDispenser1OverTemperature = 117, + + /// <summary> + /// ( Motor Dispenser 2 Over Temperature) + /// </summary> + [Description(" Motor Dispenser 2 Over Temperature")] + MotorDispenser2OverTemperature = 118, + + /// <summary> + /// ( Motor Dispenser 3 Over Temperature) + /// </summary> + [Description(" Motor Dispenser 3 Over Temperature")] + MotorDispenser3OverTemperature = 119, + + /// <summary> + /// ( Motor Dispenser 4 Over Temperature) + /// </summary> + [Description(" Motor Dispenser 4 Over Temperature")] + MotorDispenser4OverTemperature = 120, + + /// <summary> + /// ( Motor Dispenser 5 Over Temperature) + /// </summary> + [Description(" Motor Dispenser 5 Over Temperature")] + MotorDispenser5OverTemperature = 121, + + /// <summary> + /// ( Motor Dispenser 6 Over Temperature) + /// </summary> + [Description(" Motor Dispenser 6 Over Temperature")] + MotorDispenser6OverTemperature = 122, + + /// <summary> + /// ( Motor Dispenser 7 Over Temperature) + /// </summary> + [Description(" Motor Dispenser 7 Over Temperature")] + MotorDispenser7OverTemperature = 123, + + /// <summary> + /// ( Motor Dispenser 8 Over Temperature) + /// </summary> + [Description(" Motor Dispenser 8 Over Temperature")] + MotorDispenser8OverTemperature = 124, + + /// <summary> + /// ( Motor Dryer Stall) + /// </summary> + [Description(" Motor Dryer Stall")] + MotorDryerStall = 125, + + /// <summary> + /// ( Motor Feeder Stall) + /// </summary> + [Description(" Motor Feeder Stall")] + MotorFeederStall = 126, + + /// <summary> + /// ( Motor Right Loader Stall) + /// </summary> + [Description(" Motor Right Loader Stall")] + MotorRLoaderStall = 127, + + /// <summary> + /// ( Motor Pooler Stall) + /// </summary> + [Description(" Motor Pooler Stall")] + MotorPoolerStall = 128, + + /// <summary> + /// ( Motor Left Loader Stall) + /// </summary> + [Description(" Motor Left Loader Stall")] + MotorLLoaderStall = 129, + + /// <summary> + /// ( Motor Winder Stall) + /// </summary> + [Description(" Motor Winder Stall")] + MotorWinderStall = 130, + + /// <summary> + /// ( Motor Screw Stall) + /// </summary> + [Description(" Motor Screw Stall")] + MotorScrewStall = 131, + + /// <summary> + /// ( Motor Loading Arm Stall) + /// </summary> + [Description(" Motor Loading Arm Stall")] + MotorLoadingArmStall = 132, + + /// <summary> + /// ( Motor Dispenser 1 Stall) + /// </summary> + [Description(" Motor Dispenser 1 Stall")] + MotorDispenser1Stall = 133, + + /// <summary> + /// ( Motor Dispenser 2 Stall) + /// </summary> + [Description(" Motor Dispenser 2 Stall")] + MotorDispenser2Stall = 134, + + /// <summary> + /// ( Motor Dispenser 3 Stall) + /// </summary> + [Description(" Motor Dispenser 3 Stall")] + MotorDispenser3Stall = 135, + + /// <summary> + /// ( Motor Dispenser 4 Stall) + /// </summary> + [Description(" Motor Dispenser 4 Stall")] + MotorDispenser4Stall = 136, + + /// <summary> + /// ( Motor Dispenser 5 Stall) + /// </summary> + [Description(" Motor Dispenser 5 Stall")] + MotorDispenser5Stall = 137, + + /// <summary> + /// ( Motor Dispenser 6 Stall) + /// </summary> + [Description(" Motor Dispenser 6 Stall")] + MotorDispenser6Stall = 138, + + /// <summary> + /// ( Motor Dispenser 7 Stall) + /// </summary> + [Description(" Motor Dispenser 7 Stall")] + MotorDispenser7Stall = 139, + + /// <summary> + /// ( Motor Dispenser 8 Stall) + /// </summary> + [Description(" Motor Dispenser 8 Stall")] + MotorDispenser8Stall = 140, + + /// <summary> + /// ( Motor Dryer Under Voltage) + /// </summary> + [Description(" Motor Dryer Under Voltage")] + MotorDryerUnderVoltage = 141, + + /// <summary> + /// ( Motor Feeder Under Voltage) + /// </summary> + [Description(" Motor Feeder Under Voltage")] + MotorFeederUnderVoltage = 142, + + /// <summary> + /// ( Motor Right Loader Under Voltage) + /// </summary> + [Description(" Motor Right Loader Under Voltage")] + MotorRLoaderUnderVoltage = 143, + + /// <summary> + /// ( Motor Pooler Under Voltage) + /// </summary> + [Description(" Motor Pooler Under Voltage")] + MotorPoolerUnderVoltage = 144, + + /// <summary> + /// ( Motor Left Loader Under Voltage) + /// </summary> + [Description(" Motor Left Loader Under Voltage")] + MotorLLoaderUnderVoltage = 145, + + /// <summary> + /// ( Motor Winder Under Voltage) + /// </summary> + [Description(" Motor Winder Under Voltage")] + MotorWinderUnderVoltage = 146, + + /// <summary> + /// ( Motor Screw Under Voltage) + /// </summary> + [Description(" Motor Screw Under Voltage")] + MotorScrewUnderVoltage = 147, + + /// <summary> + /// ( Motor Loading Arm Under Voltage) + /// </summary> + [Description(" Motor Loading Arm Under Voltage")] + MotorLoadingArmUnderVoltage = 148, + + /// <summary> + /// ( Motor Dispenser 1 Under Voltage) + /// </summary> + [Description(" Motor Dispenser 1 Under Voltage")] + MotorDispenser1UnderVoltage = 149, + + /// <summary> + /// ( Motor Dispenser 2 Under Voltage) + /// </summary> + [Description(" Motor Dispenser 2 Under Voltage")] + MotorDispenser2UnderVoltage = 150, + + /// <summary> + /// ( Motor Dispenser 3 Under Voltage) + /// </summary> + [Description(" Motor Dispenser 3 Under Voltage")] + MotorDispenser3UnderVoltage = 151, + + /// <summary> + /// ( Motor Dispenser 4 Under Voltage) + /// </summary> + [Description(" Motor Dispenser 4 Under Voltage")] + MotorDispenser4UnderVoltage = 152, + + /// <summary> + /// ( Motor Dispenser 5 Under Voltage) + /// </summary> + [Description(" Motor Dispenser 5 Under Voltage")] + MotorDispenser5UnderVoltage = 153, + + /// <summary> + /// ( Motor Dispenser 6 Under Voltage) + /// </summary> + [Description(" Motor Dispenser 6 Under Voltage")] + MotorDispenser6UnderVoltage = 154, + + /// <summary> + /// ( Motor Dispenser 7 Under Voltage) + /// </summary> + [Description(" Motor Dispenser 7 Under Voltage")] + MotorDispenser7UnderVoltage = 155, /// <summary> /// (Occurs a request has been sent to the machine or external bridge service) /// </summary> [Description("Occurs a request has been sent to the machine or external bridge service")] - RequestSent = 29, + RequestSent = 1000, /// <summary> /// (Occures when a response has been received) /// </summary> [Description("Occures when a response has been received")] - ResponseReceived = 30, + ResponseReceived = 1001, /// <summary> /// (Occures when a request to the machine has failed) /// </summary> [Description("Occures when a request to the machine has failed")] - RequestFailed = 31, + RequestFailed = 1002, /// <summary> /// (Occures when the application has encountered some error) /// </summary> [Description("Occures when the application has encountered some error")] - ApplicationException = 32, + ApplicationException = 1003, /// <summary> /// (General application event logs) /// </summary> [Description("General application event logs")] - ApplicationInformation = 33, + ApplicationInformation = 1004, /// <summary> /// (Notifies about application succesfully started) /// </summary> [Description("Notifies about application succesfully started")] - ApplicationStarted = 34, + ApplicationStarted = 1005, /// <summary> /// (Notifies about application termination) /// </summary> [Description("Notifies about application termination")] - ApplicationTerminated = 35, + ApplicationTerminated = 1006, /// <summary> /// (Occures when a diagnostics recording has been started) /// </summary> [Description("Occures when a diagnostics recording has been started")] - RecordingStarted = 36, + RecordingStarted = 1007, /// <summary> /// (Occures when a diagnostics recording has been stopped) /// </summary> [Description("Occures when a diagnostics recording has been stopped")] - RecordingStopped = 37, + RecordingStopped = 1008, /// <summary> /// (Occures when a job status message has been received from the embedded device) /// </summary> [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, /// <summary> - /// (DH & Dryer) + /// (Dryer Head) /// </summary> - [Description("DH & Dryer")] - DHDryer = 1, + [Description("Dryer Head")] + DryerHead = 1, + + /// <summary> + /// (Dryer) + /// </summary> + [Description("Dryer")] + Dryer = 2, /// <summary> /// (Waste Handling System (WHS)) /// </summary> [Description("Waste Handling System (WHS)")] - WasteHandlingSystem = 2, + WasteHandlingSystem = 3, /// <summary> /// (Ink Delivery System (IDS)) /// </summary> [Description("Ink Delivery System (IDS)")] - InkDeliverySystem = 3, + InkDeliverySystem = 4, /// <summary> /// (General Hardware) /// </summary> [Description("General Hardware")] - GeneralHardware = 4, - - /// <summary> - /// (Messages exchange to and from the machine) - /// </summary> - [Description("Messages exchange to and from the machine")] - Transport = 5, + GeneralHardware = 5, /// <summary> /// (Application related events) @@ -61,5 +61,11 @@ namespace Tango.BL.Enumerations [Description("Application related events")] Application = 6, + /// <summary> + /// (Messages exchange to and from the machine) + /// </summary> + [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 { /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("ThreadBreak")] ThreadBreak = 0, + [pbr::OriginalName("None")] None = 0, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("ThreadTensionControlFailure")] ThreadTensionControlFailure = 1, + [pbr::OriginalName("ThreadBreak")] ThreadBreak = 1, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("FeederConeInsufficiant")] FeederConeInsufficiant = 2, + [pbr::OriginalName("ThreadTensionControlFailure")] ThreadTensionControlFailure = 2, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("WinderGeneralError")] WinderGeneralError = 3, + [pbr::OriginalName("FeederConeInsufficiant")] FeederConeInsufficiant = 3, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("WinderConeNotExists")] WinderConeNotExists = 4, + [pbr::OriginalName("WinderGeneralError")] WinderGeneralError = 4, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("ThreadFeedingGeneralError")] ThreadFeedingGeneralError = 5, + [pbr::OriginalName("WinderConeNotExists")] WinderConeNotExists = 5, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("DyeingHeadOverTemperature")] DyeingHeadOverTemperature = 6, + [pbr::OriginalName("ThreadFeedingGeneralError")] ThreadFeedingGeneralError = 6, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("DHThermalCutoff")] DhthermalCutoff = 7, + [pbr::OriginalName("DyeingHead1OverTemperature")] DyeingHead1OverTemperature = 7, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("DryerOverTemperature")] DryerOverTemperature = 8, + [pbr::OriginalName("DyeingHead2OverTemperature")] DyeingHead2OverTemperature = 8, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("DryerThermalCutoff")] DryerThermalCutoff = 9, + [pbr::OriginalName("DyeingHead3OverTemperature")] DyeingHead3OverTemperature = 9, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("DyeingHeadHeatersCurrentOutOfRange")] DyeingHeadHeatersCurrentOutOfRange = 10, + [pbr::OriginalName("DyeingHead4OverTemperature")] DyeingHead4OverTemperature = 10, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("DryerHeatersCurrentOutOfRange")] DryerHeatersCurrentOutOfRange = 11, + [pbr::OriginalName("DyeingHead5OverTemperature")] DyeingHead5OverTemperature = 11, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("DryerDHeadCoverOpen")] DryerDheadCoverOpen = 12, + [pbr::OriginalName("DyeingHead6OverTemperature")] DyeingHead6OverTemperature = 12, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("AirFilterClogged")] AirFilterClogged = 13, + [pbr::OriginalName("DyeingHeadThermalCutoff")] DyeingHeadThermalCutoff = 13, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("AirFilterNotInstalled")] AirFilterNotInstalled = 14, + [pbr::OriginalName("DryerOverTemperature")] DryerOverTemperature = 14, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("WHSFailure")] Whsfailure = 15, + [pbr::OriginalName("DryerThermalCutoff")] DryerThermalCutoff = 15, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("WasteContainerIsAlmostFull")] WasteContainerIsAlmostFull = 16, + [pbr::OriginalName("DyeingHeadHeatersCurrentOutOfRange")] DyeingHeadHeatersCurrentOutOfRange = 16, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("WasteContainerIsFull")] WasteContainerIsFull = 17, + [pbr::OriginalName("DryerHeatersCurrentOutOfRange")] DryerHeatersCurrentOutOfRange = 17, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("DispenserEmpty")] DispenserEmpty = 18, + [pbr::OriginalName("DryerDHeadCoverOpen")] DryerDheadCoverOpen = 18, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("DispenserLowLevel")] DispenserLowLevel = 19, + [pbr::OriginalName("AirFilterClogged")] AirFilterClogged = 19, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("DispenserRefillFailure")] DispenserRefillFailure = 20, + [pbr::OriginalName("AirFilterNotInstalled")] AirFilterNotInstalled = 20, /// <summary> - ///Mid-Tank (Group = Ink Delivery System, Category = Warning, Actions = Soft Visual Notification) + /// WHS Failure (Group = Waste Handling System, Category = Error, Actions = ) /// </summary> - [pbr::OriginalName("MidTankEmpty")] MidTankEmpty = 21, + [pbr::OriginalName("WHSFailure")] Whsfailure = 21, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("MidTankLowLevel")] MidTankLowLevel = 22, + [pbr::OriginalName("WasteContainerIsAlmostFull")] WasteContainerIsAlmostFull = 22, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("MidTankNotInPlace")] MidTankNotInPlace = 23, + [pbr::OriginalName("WasteContainerIsFull")] WasteContainerIsFull = 23, /// <summary> - ///System BIT Failure (Group = General Hardware, Category = Error, Actions = Soft Visual Notification) + /// Dispenser 1 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// </summary> - [pbr::OriginalName("SystemBITFail")] SystemBitfail = 24, + [pbr::OriginalName("Dispenser1Empty")] Dispenser1Empty = 24, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("GeneralInternalOverTemperature")] GeneralInternalOverTemperature = 25, + [pbr::OriginalName("Dispenser2Empty")] Dispenser2Empty = 25, /// <summary> - ///Covers Tampers (Group = General Hardware, Category = Warning, Actions = Soft Visual Notification) + /// Dispenser 3 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// </summary> - [pbr::OriginalName("MachineCoverOpen")] MachineCoverOpen = 26, + [pbr::OriginalName("Dispenser3Empty")] Dispenser3Empty = 26, /// <summary> - ///EPB (Group = General Hardware, Category = Critical, Actions = Overall Power Down, Soft Visual Notification) + /// Dispenser 4 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// </summary> - [pbr::OriginalName("EmergencyPushButtonPressed")] EmergencyPushButtonPressed = 27, + [pbr::OriginalName("Dispenser4Empty")] Dispenser4Empty = 27, /// <summary> - ///System General Error (Group = General Hardware, Category = Warning, Actions = Soft Visual Notification) + /// Dispenser 5 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// </summary> - [pbr::OriginalName("SystemGeneralError")] SystemGeneralError = 28, + [pbr::OriginalName("Dispenser5Empty")] Dispenser5Empty = 28, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("RequestSent")] RequestSent = 29, + [pbr::OriginalName("Dispenser6Empty")] Dispenser6Empty = 29, /// <summary> - ///Occures when a response has been received (Group = Transport, Category = Info, Actions = ) + /// Dispenser 7 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// </summary> - [pbr::OriginalName("ResponseReceived")] ResponseReceived = 30, + [pbr::OriginalName("Dispenser7Empty")] Dispenser7Empty = 30, /// <summary> - ///Occures when a request to the machine has failed (Group = Transport, Category = Error, Actions = ) + /// Dispenser 8 Empty (Group = Ink Delivery System, Category = Error, Actions = ) /// </summary> - [pbr::OriginalName("RequestFailed")] RequestFailed = 31, + [pbr::OriginalName("Dispenser8Empty")] Dispenser8Empty = 31, /// <summary> - ///Occures when the application has encountered some error (Group = Application, Category = Error, Actions = ) + /// Dispenser 1 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) /// </summary> - [pbr::OriginalName("ApplicationException")] ApplicationException = 32, + [pbr::OriginalName("Dispenser1LowLevel")] Dispenser1LowLevel = 32, /// <summary> - ///General application event logs (Group = Application, Category = Info, Actions = ) + /// Dispenser 2 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) /// </summary> - [pbr::OriginalName("ApplicationInformation")] ApplicationInformation = 33, + [pbr::OriginalName("Dispenser2LowLevel")] Dispenser2LowLevel = 33, /// <summary> - ///Notifies about application succesfully started (Group = Application, Category = Info, Actions = ) + /// Dispenser 3 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) /// </summary> - [pbr::OriginalName("ApplicationStarted")] ApplicationStarted = 34, + [pbr::OriginalName("Dispenser3LowLevel")] Dispenser3LowLevel = 34, /// <summary> - ///Notifies about application termination (Group = Application, Category = Info, Actions = ) + /// Dispenser 4 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) /// </summary> - [pbr::OriginalName("ApplicationTerminated")] ApplicationTerminated = 35, + [pbr::OriginalName("Dispenser4LowLevel")] Dispenser4LowLevel = 35, /// <summary> - ///Occures when a diagnostics recording has been started (Group = Application, Category = Info, Actions = ) + /// Dispenser 5 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) /// </summary> - [pbr::OriginalName("RecordingStarted")] RecordingStarted = 36, + [pbr::OriginalName("Dispenser5LowLevel")] Dispenser5LowLevel = 36, /// <summary> - ///Occures when a diagnostics recording has been stopped (Group = Application, Category = Info, Actions = ) + /// Dispenser 6 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) /// </summary> - [pbr::OriginalName("RecordingStopped")] RecordingStopped = 37, + [pbr::OriginalName("Dispenser6LowLevel")] Dispenser6LowLevel = 37, /// <summary> - ///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 = ) /// </summary> - [pbr::OriginalName("JobStatus")] JobStatus = 38, + [pbr::OriginalName("Dispenser7LowLevel")] Dispenser7LowLevel = 38, + /// <summary> + /// Dispenser 8 Low Level (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser8LowLevel")] Dispenser8LowLevel = 39, + /// <summary> + /// Dispenser 1 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser1RefillFailure")] Dispenser1RefillFailure = 40, + /// <summary> + /// Dispenser 2 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser2RefillFailure")] Dispenser2RefillFailure = 41, + /// <summary> + /// Dispenser 3 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser3RefillFailure")] Dispenser3RefillFailure = 42, + /// <summary> + /// Dispenser 4 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser4RefillFailure")] Dispenser4RefillFailure = 43, + /// <summary> + /// Dispenser 5 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser5RefillFailure")] Dispenser5RefillFailure = 44, + /// <summary> + /// Dispenser 6 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser6RefillFailure")] Dispenser6RefillFailure = 45, + /// <summary> + /// Dispenser 7 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser7RefillFailure")] Dispenser7RefillFailure = 46, + /// <summary> + /// Dispenser 8 Refill Failure (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser8RefillFailure")] Dispenser8RefillFailure = 47, + /// <summary> + /// Dispenser 1 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser1Pressure")] Dispenser1Pressure = 48, + /// <summary> + /// Dispenser 2 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser2Pressure")] Dispenser2Pressure = 49, + /// <summary> + /// Dispenser 3 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser3Pressure")] Dispenser3Pressure = 50, + /// <summary> + /// Dispenser 4 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser4Pressure")] Dispenser4Pressure = 51, + /// <summary> + /// Dispenser 5 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser5Pressure")] Dispenser5Pressure = 52, + /// <summary> + /// Dispenser 6 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser6Pressure")] Dispenser6Pressure = 53, + /// <summary> + /// Dispenser 7 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser7Pressure")] Dispenser7Pressure = 54, + /// <summary> + /// Dispenser 8 Pressure (Group = Ink Delivery System, Category = Critical, Actions = ) + /// </summary> + [pbr::OriginalName("Dispenser8Pressure")] Dispenser8Pressure = 55, + /// <summary> + /// Mid Tank 1 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank1Empty")] MidTank1Empty = 56, + /// <summary> + /// Mid Tank 2 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank2Empty")] MidTank2Empty = 57, + /// <summary> + /// Mid Tank 3 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank3Empty")] MidTank3Empty = 58, + /// <summary> + /// Mid Tank 4 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank4Empty")] MidTank4Empty = 59, + /// <summary> + /// Mid Tank 5 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank5Empty")] MidTank5Empty = 60, + /// <summary> + /// Mid Tank 6 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank6Empty")] MidTank6Empty = 61, + /// <summary> + /// Mid Tank 7 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank7Empty")] MidTank7Empty = 62, + /// <summary> + /// Mid Tank 8 Empty (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank8Empty")] MidTank8Empty = 63, + /// <summary> + /// Mid Tank 1 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank1Lowlevel")] MidTank1Lowlevel = 64, + /// <summary> + /// Mid Tank 2 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank2Lowlevel")] MidTank2Lowlevel = 65, + /// <summary> + /// Mid Tank 3 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank3Lowlevel")] MidTank3Lowlevel = 66, + /// <summary> + /// Mid Tank 4 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank4Lowlevel")] MidTank4Lowlevel = 67, + /// <summary> + /// Mid Tank 5 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank5Lowlevel")] MidTank5Lowlevel = 68, + /// <summary> + /// Mid Tank 6 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank6Lowlevel")] MidTank6Lowlevel = 69, + /// <summary> + /// Mid Tank 7 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank7Lowlevel")] MidTank7Lowlevel = 70, + /// <summary> + /// Mid Tank 8 Lowlevel (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank8Lowlevel")] MidTank8Lowlevel = 71, + /// <summary> + /// Mid Tank 1 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank1NotInPlace")] MidTank1NotInPlace = 72, + /// <summary> + /// Mid Tank 2 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank2NotInPlace")] MidTank2NotInPlace = 73, + /// <summary> + /// Mid Tank 3 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank3NotInPlace")] MidTank3NotInPlace = 74, + /// <summary> + /// Mid Tank 4 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank4NotInPlace")] MidTank4NotInPlace = 75, + /// <summary> + /// Mid Tank 5 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank5NotInPlace")] MidTank5NotInPlace = 76, + /// <summary> + /// Mid Tank 6 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank6NotInPlace")] MidTank6NotInPlace = 77, + /// <summary> + /// Mid Tank 7 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank7NotInPlace")] MidTank7NotInPlace = 78, + /// <summary> + /// Mid Tank 8 Not In Place (Group = Ink Delivery System, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MidTank8NotInPlace")] MidTank8NotInPlace = 79, + /// <summary> + /// System Built In Test Fail (Group = General Hardware, Category = Critical, Actions = ) + /// </summary> + [pbr::OriginalName("SystemBITFail")] SystemBitfail = 80, + /// <summary> + /// General Internal Over Temperature (Group = General Hardware, Category = Critical, Actions = ) + /// </summary> + [pbr::OriginalName("GeneralInternalOverTemperature")] GeneralInternalOverTemperature = 81, + /// <summary> + /// Machine Cover Open (Group = General Hardware, Category = Warning, Actions = ) + /// </summary> + [pbr::OriginalName("MachineCoverOpen")] MachineCoverOpen = 82, + /// <summary> + /// Emergency Push Button Pressed (Group = General Hardware, Category = Critical, Actions = ) + /// </summary> + [pbr::OriginalName("EmergencyPushButtonPressed")] EmergencyPushButtonPressed = 83, + /// <summary> + /// System General Error (Group = General Hardware, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("SystemGeneralError")] SystemGeneralError = 84, + /// <summary> + /// Motor Dryer Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDryerOverCurrent")] MotorDryerOverCurrent = 93, + /// <summary> + /// Motor Feeder Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorFeederOverCurrent")] MotorFeederOverCurrent = 94, + /// <summary> + /// Motor Right Loader Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorRLoaderOverCurrent")] MotorRloaderOverCurrent = 95, + /// <summary> + /// Motor Pooler Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorPoolerOverCurrent")] MotorPoolerOverCurrent = 96, + /// <summary> + /// Motor Left Loader Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorLLoaderOverCurrent")] MotorLloaderOverCurrent = 97, + /// <summary> + /// Motor Winder Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorWinderOverCurrent")] MotorWinderOverCurrent = 98, + /// <summary> + /// Motor Screw Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorScrewOverCurrent")] MotorScrewOverCurrent = 99, + /// <summary> + /// Motor Loading Arm Over Current (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorLoadingArmOverCurrent")] MotorLoadingArmOverCurrent = 100, + /// <summary> + /// Motor Dispenser 1 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser1OverCurrent")] MotorDispenser1OverCurrent = 101, + /// <summary> + /// Motor Dispenser 2 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser2OverCurrent")] MotorDispenser2OverCurrent = 102, + /// <summary> + /// Motor Dispenser 3 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser3OverCurrent")] MotorDispenser3OverCurrent = 103, + /// <summary> + /// Motor Dispenser 4 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser4OverCurrent")] MotorDispenser4OverCurrent = 104, + /// <summary> + /// Motor Dispenser 5 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser5OverCurrent")] MotorDispenser5OverCurrent = 105, + /// <summary> + /// Motor Dispenser 6 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser6OverCurrent")] MotorDispenser6OverCurrent = 106, + /// <summary> + /// Motor Dispenser 7 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser7OverCurrent")] MotorDispenser7OverCurrent = 107, + /// <summary> + /// Motor Dispenser 8 Over Current (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser8OverCurrent")] MotorDispenser8OverCurrent = 108, + /// <summary> + /// Motor Dryer Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDryerOverTemperature")] MotorDryerOverTemperature = 109, + /// <summary> + /// Motor Feeder Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorFeederOverTemperature")] MotorFeederOverTemperature = 110, + /// <summary> + /// Motor Right Loader Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorRLoaderOverTemperature")] MotorRloaderOverTemperature = 111, + /// <summary> + /// Motor Pooler Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorPoolerOverTemperature")] MotorPoolerOverTemperature = 112, + /// <summary> + /// Motor Left Loader Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorLLoaderOverTemperature")] MotorLloaderOverTemperature = 113, + /// <summary> + /// Motor Winder Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorWinderOverTemperature")] MotorWinderOverTemperature = 114, + /// <summary> + /// Motor Screw Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorScrewOverTemperature")] MotorScrewOverTemperature = 115, + /// <summary> + /// Motor Loading Arm Over Temperature (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorLoadingArmOverTemperature")] MotorLoadingArmOverTemperature = 116, + /// <summary> + /// Motor Dispenser 1 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser1OverTemperature")] MotorDispenser1OverTemperature = 117, + /// <summary> + /// Motor Dispenser 2 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser2OverTemperature")] MotorDispenser2OverTemperature = 118, + /// <summary> + /// Motor Dispenser 3 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser3OverTemperature")] MotorDispenser3OverTemperature = 119, + /// <summary> + /// Motor Dispenser 4 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser4OverTemperature")] MotorDispenser4OverTemperature = 120, + /// <summary> + /// Motor Dispenser 5 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser5OverTemperature")] MotorDispenser5OverTemperature = 121, + /// <summary> + /// Motor Dispenser 6 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser6OverTemperature")] MotorDispenser6OverTemperature = 122, + /// <summary> + /// Motor Dispenser 7 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser7OverTemperature")] MotorDispenser7OverTemperature = 123, + /// <summary> + /// Motor Dispenser 8 Over Temperature (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser8OverTemperature")] MotorDispenser8OverTemperature = 124, + /// <summary> + /// Motor Dryer Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDryerStall")] MotorDryerStall = 125, + /// <summary> + /// Motor Feeder Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorFeederStall")] MotorFeederStall = 126, + /// <summary> + /// Motor Right Loader Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorRLoaderStall")] MotorRloaderStall = 127, + /// <summary> + /// Motor Pooler Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorPoolerStall")] MotorPoolerStall = 128, + /// <summary> + /// Motor Left Loader Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorLLoaderStall")] MotorLloaderStall = 129, + /// <summary> + /// Motor Winder Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorWinderStall")] MotorWinderStall = 130, + /// <summary> + /// Motor Screw Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorScrewStall")] MotorScrewStall = 131, + /// <summary> + /// Motor Loading Arm Stall (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorLoadingArmStall")] MotorLoadingArmStall = 132, + /// <summary> + /// Motor Dispenser 1 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser1Stall")] MotorDispenser1Stall = 133, + /// <summary> + /// Motor Dispenser 2 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser2Stall")] MotorDispenser2Stall = 134, + /// <summary> + /// Motor Dispenser 3 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser3Stall")] MotorDispenser3Stall = 135, + /// <summary> + /// Motor Dispenser 4 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser4Stall")] MotorDispenser4Stall = 136, + /// <summary> + /// Motor Dispenser 5 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser5Stall")] MotorDispenser5Stall = 137, + /// <summary> + /// Motor Dispenser 6 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser6Stall")] MotorDispenser6Stall = 138, + /// <summary> + /// Motor Dispenser 7 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser7Stall")] MotorDispenser7Stall = 139, + /// <summary> + /// Motor Dispenser 8 Stall (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser8Stall")] MotorDispenser8Stall = 140, + /// <summary> + /// Motor Dryer Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDryerUnderVoltage")] MotorDryerUnderVoltage = 141, + /// <summary> + /// Motor Feeder Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorFeederUnderVoltage")] MotorFeederUnderVoltage = 142, + /// <summary> + /// Motor Right Loader Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorRLoaderUnderVoltage")] MotorRloaderUnderVoltage = 143, + /// <summary> + /// Motor Pooler Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorPoolerUnderVoltage")] MotorPoolerUnderVoltage = 144, + /// <summary> + /// Motor Left Loader Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorLLoaderUnderVoltage")] MotorLloaderUnderVoltage = 145, + /// <summary> + /// Motor Winder Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorWinderUnderVoltage")] MotorWinderUnderVoltage = 146, + /// <summary> + /// Motor Screw Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorScrewUnderVoltage")] MotorScrewUnderVoltage = 147, + /// <summary> + /// Motor Loading Arm Under Voltage (Group = Thread Feeding System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorLoadingArmUnderVoltage")] MotorLoadingArmUnderVoltage = 148, + /// <summary> + /// Motor Dispenser 1 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser1UnderVoltage")] MotorDispenser1UnderVoltage = 149, + /// <summary> + /// Motor Dispenser 2 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser2UnderVoltage")] MotorDispenser2UnderVoltage = 150, + /// <summary> + /// Motor Dispenser 3 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser3UnderVoltage")] MotorDispenser3UnderVoltage = 151, + /// <summary> + /// Motor Dispenser 4 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser4UnderVoltage")] MotorDispenser4UnderVoltage = 152, + /// <summary> + /// Motor Dispenser 5 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser5UnderVoltage")] MotorDispenser5UnderVoltage = 153, + /// <summary> + /// Motor Dispenser 6 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [pbr::OriginalName("MotorDispenser6UnderVoltage")] MotorDispenser6UnderVoltage = 154, + /// <summary> + /// Motor Dispenser 7 Under Voltage (Group = Ink Delivery System, Category = Error, Actions = ) + /// </summary> + [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 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <configSections> + <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> + <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> + </configSections> + <startup> + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" /> + </startup> + <entityFramework> + <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> + <providers> + <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> + </providers> + </entityFramework> +</configuration>
\ 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<ExcelEventType>("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 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProjectGuid>{0BDA9B52-9879-4C5E-84E3-81D00B75DACC}</ProjectGuid> + <OutputType>Exe</OutputType> + <RootNamespace>Tango.EventsTypesGenerator</RootNamespace> + <AssemblyName>Tango.EventsTypesGenerator</AssemblyName> + <TargetFrameworkVersion>v4.6</TargetFrameworkVersion> + <FileAlignment>512</FileAlignment> + <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>..\..\Build\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <PlatformTarget>AnyCPU</PlatformTarget> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>..\..\Build\Debug\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + </PropertyGroup> + <ItemGroup> + <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> + <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.dll</HintPath> + </Reference> + <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL"> + <HintPath>..\..\packages\EntityFramework.6.0.0\lib\net45\EntityFramework.SqlServer.dll</HintPath> + </Reference> + <Reference Include="System" /> + <Reference Include="System.ComponentModel.DataAnnotations" /> + <Reference Include="System.Core" /> + <Reference Include="System.Xml.Linq" /> + <Reference Include="System.Data.DataSetExtensions" /> + <Reference Include="Microsoft.CSharp" /> + <Reference Include="System.Data" /> + <Reference Include="System.Net.Http" /> + <Reference Include="System.Xml" /> + </ItemGroup> + <ItemGroup> + <Compile Include="..\..\Versioning\GlobalVersionInfo.cs"> + <Link>GlobalVersionInfo.cs</Link> + </Compile> + <Compile Include="Program.cs" /> + <Compile Include="Properties\AssemblyInfo.cs" /> + </ItemGroup> + <ItemGroup> + <Content Include="..\..\Resources\Events.xlsx"> + <Link>Events.xlsx</Link> + <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> + </Content> + <None Include="App.config" /> + <None Include="packages.config" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\..\Tango.BL\Tango.BL.csproj"> + <Project>{f441feee-322a-4943-b566-110e12fd3b72}</Project> + <Name>Tango.BL</Name> + </ProjectReference> + <ProjectReference Include="..\..\Tango.Core\Tango.Core.csproj"> + <Project>{a34ee0f0-649d-41c8-8489-b6f1cc6924ee}</Project> + <Name>Tango.Core</Name> + </ProjectReference> + <ProjectReference Include="..\..\Tango.Documents\Tango.Documents.csproj"> + <Project>{ca87a608-7b17-4c98-88f2-42abee10f4c1}</Project> + <Name>Tango.Documents</Name> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> +</Project>
\ 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 @@ +<?xml version="1.0" encoding="utf-8"?> +<packages> + <package id="EntityFramework" version="6.0.0" targetFramework="net46" /> +</packages>
\ 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() { |
