/*
 * This file was generated by Oasys Ltd. Do not edit it unless you know what you're doing!
 */

export { gui };
Options.max_widgets = 100000;
var gui = {};    /* Global GUI object */

(function () {

/* START_GUIBUILDER */
    var json_string = '\
{\
 "type": "GUI",\
 "version": 1,\
 "theme": "THEME_CURRENT",\
 "windows": [\
  {\
   "name": "WindowUnits",\
   "type": "Main",\
   "title": "Energy Check",\
   "left": 0.400000,\
   "right": 0.500000,\
   "top": 0.500000,\
   "bottom": 0.400000,\
   "height": 0.000000,\
   "width": 0.000000,\
   "xmax": 200,\
   "ymax": 62,\
   "active": true,\
   "background": "DEFAULT",\
   "keepOnTop": true,\
   "onAfterShow": "",\
   "onBeforeShow": "",\
   "onClose": "",\
   "resize": "LEFT | RIGHT | TOP | BOTTOM",\
   "showClose": true,\
   "widgets": [\
    {\
     "name": "helpBtn",\
     "type": "Button",\
     "left": 1,\
     "right": 2,\
     "top": 1,\
     "bottom": 2,\
     "text": "help",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_GENERIC",\
     "foreground": "BLACK",\
     "justify": "RIGHT",\
     "hover": "",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "pushed": false,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false,\
     "toggle": false\
    },\
    {\
     "name": "btnPlot",\
     "type": "Button",\
     "left": 169,\
     "right": 200,\
     "top": 45,\
     "bottom": 51,\
     "text": "Recalculate",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_APPLY",\
     "foreground": "BLACK",\
     "justify": "CENTRE",\
     "hover": "Recalcuate the curves and plot the new results",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "pushed": false,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false,\
     "toggle": false\
    },\
    {\
     "name": "L1",\
     "type": "Label",\
     "left": 1,\
     "right": 45,\
     "top": 29,\
     "bottom": 35,\
     "text": "Model Units",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_LABEL",\
     "foreground": "BLACK",\
     "justify": "LEFT",\
     "hover": "",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false\
    },\
    {\
     "name": "lblModelUnits",\
     "type": "Label",\
     "left": 45,\
     "right": 80,\
     "top": 29,\
     "bottom": 35,\
     "text": "",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_LABEL",\
     "foreground": "BLACK",\
     "justify": "CENTRE",\
     "hover": "",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false\
    },\
    {\
     "name": "L3",\
     "type": "Label",\
     "left": 1,\
     "right": 45,\
     "top": 37,\
     "bottom": 43,\
     "text": "Display Time Units",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_LABEL",\
     "foreground": "BLACK",\
     "justify": "LEFT",\
     "hover": "",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false\
    },\
    {\
     "name": "cbxTimeUnits",\
     "type": "Combobox",\
     "left": 45,\
     "right": 80,\
     "top": 37,\
     "bottom": 43,\
     "text": "Seconds [s]",\
     "active": true,\
     "background": "WHITE",\
     "category": "CATEGORY_LABEL_POPUP",\
     "foreground": "BLACK",\
     "justify": "LEFT",\
     "hover": "",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onChange": "",\
     "onClick": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "timerRepeat": false,\
     "widgetItems": [ \
      {\
       "name": "wiSeconds",\
       "background": "WHITE",\
       "foreground": "BLACK",\
       "hover": "",\
       "monospace": false,\
       "onClick": "",\
       "onMouseOver": "",\
       "selectable": true,\
       "selected": false,\
       "text": "Seconds [s]"\
      },\
      {\
       "name": "wiMilliSeconds",\
       "background": "WHITE",\
       "foreground": "BLACK",\
       "hover": "",\
       "monospace": false,\
       "onClick": "",\
       "onMouseOver": "",\
       "selectable": true,\
       "selected": false,\
       "text": "Milliseconds [ms]"\
      }\
     ]\
    },\
    {\
     "name": "L2",\
     "type": "Label",\
     "left": 1,\
     "right": 45,\
     "top": 45,\
     "bottom": 51,\
     "text": "Display Energy Units",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_LABEL",\
     "foreground": "BLACK",\
     "justify": "LEFT",\
     "hover": "",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false\
    },\
    {\
     "name": "cbxEnergyUnits",\
     "type": "Combobox",\
     "left": 45,\
     "right": 80,\
     "top": 45,\
     "bottom": 51,\
     "text": "Joules [J]",\
     "active": true,\
     "background": "WHITE",\
     "category": "CATEGORY_LABEL_POPUP",\
     "foreground": "BLACK",\
     "justify": "LEFT",\
     "hover": "",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onChange": "",\
     "onClick": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "timerRepeat": false,\
     "widgetItems": [ \
      {\
       "name": "wiJoules",\
       "background": "WHITE",\
       "foreground": "BLACK",\
       "hover": "",\
       "monospace": false,\
       "onClick": "",\
       "onMouseOver": "",\
       "selectable": true,\
       "selected": false,\
       "text": "Joules [J]"\
      },\
      {\
       "name": "wiMilliJoules",\
       "background": "WHITE",\
       "foreground": "BLACK",\
       "hover": "",\
       "monospace": false,\
       "onClick": "",\
       "onMouseOver": "",\
       "selectable": true,\
       "selected": false,\
       "text": "Millijoules [mJ]"\
      },\
      {\
       "name": "wiKiloJoules",\
       "background": "WHITE",\
       "foreground": "BLACK",\
       "hover": "",\
       "monospace": false,\
       "onClick": "",\
       "onMouseOver": "",\
       "selectable": true,\
       "selected": false,\
       "text": "Kilojoules [kJ]"\
      },\
      {\
       "name": "wiFootPounds",\
       "background": "WHITE",\
       "foreground": "BLACK",\
       "hover": "",\
       "monospace": false,\
       "onClick": "",\
       "onMouseOver": "",\
       "selectable": true,\
       "selected": false,\
       "text": "Foot-Pounds [ft-lbf]"\
      }\
     ]\
    },\
    {\
     "name": "L4",\
     "type": "Label",\
     "left": 30,\
     "right": 110,\
     "top": 56,\
     "bottom": 62,\
     "text": "Plot Parts with Greatest Total Energy (Max 6)",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_LABEL",\
     "foreground": "BLACK",\
     "justify": "CENTRE",\
     "hover": "Plot the Kinetic, Internal, Hourglass and Total Energies of the biggest N parts in your model calculated by their maximum Total Energies",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false\
    },\
    {\
     "name": "txtPlotPart",\
     "type": "Textbox",\
     "left": 110,\
     "right": 130,\
     "top": 56,\
     "bottom": 62,\
     "text": "6",\
     "active": true,\
     "background": "DARKBLUE",\
     "category": "CATEGORY_TEXT_BOX",\
     "foreground": "WHITE",\
     "justify": "CENTRE",\
     "hover": "Plot the Kinetic, Internal, Hourglass and Total Energies of the biggest N parts in your model",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onChange": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "textHidden": false,\
     "timerRepeat": false\
    },\
    {\
     "name": "L5",\
     "type": "Label",\
     "left": 1,\
     "right": 200,\
     "top": 53,\
     "bottom": 54,\
     "text": "",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_GENERIC",\
     "foreground": "BLACK",\
     "justify": "CENTRE",\
     "hover": "",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false\
    },\
    {\
     "name": "btnPlotPart",\
     "type": "Button",\
     "left": 140,\
     "right": 170,\
     "top": 56,\
     "bottom": 62,\
     "text": "Plot Parts",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_APPLY",\
     "foreground": "BLACK",\
     "justify": "CENTRE",\
     "hover": "Plot the Kinetic, Internal, Hourglass and Total Energies of the biggest N parts in your model",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "pushed": false,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false,\
     "toggle": false\
    },\
    {\
     "name": "L6",\
     "type": "Label",\
     "left": 90,\
     "right": 134,\
     "top": 29,\
     "bottom": 35,\
     "text": "Hourglass Energy Warning",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_LABEL",\
     "foreground": "BLACK",\
     "justify": "LEFT",\
     "hover": "Produces a warning when the Hourglass Energy is above the specified percentage compared to Total Energy",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false\
    },\
    {\
     "name": "L7",\
     "type": "Label",\
     "left": 90,\
     "right": 134,\
     "top": 45,\
     "bottom": 51,\
     "text": "Energy Ratio Tolerance",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_LABEL",\
     "foreground": "BLACK",\
     "justify": "LEFT",\
     "hover": "Produces a warning when the Total Energy minus External Work (Total System Energy) is increasing above the specified tolerance percentage",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false\
    },\
    {\
     "name": "L8",\
     "type": "Label",\
     "left": 90,\
     "right": 134,\
     "top": 37,\
     "bottom": 43,\
     "text": "Contact Energy Warning",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_LABEL",\
     "foreground": "BLACK",\
     "justify": "LEFT",\
     "hover": "Produces a warning when the absolute Total Contact Energy is above the specified percentage compared to Internal Energy",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false\
    },\
    {\
     "name": "txtHourglass",\
     "type": "Textbox",\
     "left": 134,\
     "right": 149,\
     "top": 29,\
     "bottom": 35,\
     "text": "",\
     "active": true,\
     "background": "DARKBLUE",\
     "category": "CATEGORY_TEXT_BOX",\
     "foreground": "WHITE",\
     "justify": "LEFT",\
     "hover": "Produces a warning when the Hourglass Energy is above the specified percentage compared to Total Energy",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onChange": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "textHidden": false,\
     "timerRepeat": false\
    },\
    {\
     "name": "txtTotal",\
     "type": "Textbox",\
     "left": 134,\
     "right": 149,\
     "top": 45,\
     "bottom": 51,\
     "text": "",\
     "active": true,\
     "background": "DARKBLUE",\
     "category": "CATEGORY_TEXT_BOX",\
     "foreground": "WHITE",\
     "justify": "LEFT",\
     "hover": "Produces a warning when the Total Energy minus External Work is increasing above the specified tolerance percentage",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onChange": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "textHidden": false,\
     "timerRepeat": false\
    },\
    {\
     "name": "txtContact",\
     "type": "Textbox",\
     "left": 134,\
     "right": 149,\
     "top": 37,\
     "bottom": 43,\
     "text": "",\
     "active": true,\
     "background": "DARKBLUE",\
     "category": "CATEGORY_TEXT_BOX",\
     "foreground": "WHITE",\
     "justify": "LEFT",\
     "hover": "Produces a warning when the absolute Total Contact Energy is above the specified percentage compared to Internal Energy",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onChange": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "textHidden": false,\
     "timerRepeat": false\
    },\
    {\
     "name": "L9",\
     "type": "Label",\
     "left": 149,\
     "right": 159,\
     "top": 29,\
     "bottom": 35,\
     "text": " %",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_LABEL",\
     "foreground": "BLACK",\
     "justify": "LEFT",\
     "hover": "Produces a warning when the Hourglass Energy is above the specified percentage compared to Total Energy",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false\
    },\
    {\
     "name": "L10",\
     "type": "Label",\
     "left": 149,\
     "right": 159,\
     "top": 37,\
     "bottom": 43,\
     "text": " %",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_LABEL",\
     "foreground": "BLACK",\
     "justify": "LEFT",\
     "hover": "Produces a warning when the absolute Total Contact Energy is above the specified percentage compared to Internal Energy",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false\
    },\
    {\
     "name": "L11",\
     "type": "Label",\
     "left": 149,\
     "right": 159,\
     "top": 45,\
     "bottom": 51,\
     "text": " %",\
     "active": true,\
     "background": "DEFAULT",\
     "category": "CATEGORY_LABEL",\
     "foreground": "BLACK",\
     "justify": "LEFT",\
     "hover": "Produces a warning when the Total Energy minus External Work is increasing above the specified tolerance percentage",\
     "lineWidth": 1,\
     "macroTag": "",\
     "onClick": "",\
     "onPopup": "",\
     "onTimer": "",\
     "timerDelay": 1000,\
     "fontSize": 8,\
     "monospace": false,\
     "xResolution": 100,\
     "yResolution": 100,\
     "popupDirection": "BOTTOM",\
     "popupSymbol": true,\
     "popupWindow": "<no popup>",\
     "timerRepeat": false\
    }\
   ]\
  }\
 ]\
}'
/* END_GUIBUILDER */

    gui = Window.BuildGUIFromString(json_string);

})();
