Commit 1ae17e72 authored by Claes Sjofors's avatar Claes Sjofors

Ge script variables for dyntype and actiontype added

parent d5de7cd1
...@@ -4717,6 +4717,76 @@ int Graph::readcmdfile( char *incommand) ...@@ -4717,6 +4717,76 @@ int Graph::readcmdfile( char *incommand)
sts = ccm_create_external_var( "eObjectType_BarChart", CCM_DECL_INT, 0, glow_eObjectType_GrowBarChart, 0); sts = ccm_create_external_var( "eObjectType_BarChart", CCM_DECL_INT, 0, glow_eObjectType_GrowBarChart, 0);
sts = ccm_create_external_var( "eObjectType_Toolbar", CCM_DECL_INT, 0, glow_eObjectType_GrowToolbar, 0); sts = ccm_create_external_var( "eObjectType_Toolbar", CCM_DECL_INT, 0, glow_eObjectType_GrowToolbar, 0);
sts = ccm_create_external_var( "mDynType1_No", CCM_DECL_INT, 0, ge_mDynType1_No, 0);
sts = ccm_create_external_var( "mDynType1_Inherit", CCM_DECL_INT, 0, ge_mDynType1_Inherit, 0);
sts = ccm_create_external_var( "mDynType1_Tone", CCM_DECL_INT, 0, ge_mDynType1_Tone, 0);
sts = ccm_create_external_var( "mDynType1_DigLowColor", CCM_DECL_INT, 0, ge_mDynType1_DigLowColor, 0);
sts = ccm_create_external_var( "mDynType1_DigColor", CCM_DECL_INT, 0, ge_mDynType1_DigColor, 0);
sts = ccm_create_external_var( "mDynType1_DigError", CCM_DECL_INT, 0, ge_mDynType1_DigError, 0);
sts = ccm_create_external_var( "mDynType1_DigWarning", CCM_DECL_INT, 0, ge_mDynType1_DigWarning, 0);
sts = ccm_create_external_var( "mDynType1_DigFlash", CCM_DECL_INT, 0, ge_mDynType1_DigFlash, 0);
sts = ccm_create_external_var( "mDynType1_Invisible", CCM_DECL_INT, 0, ge_mDynType1_Invisible, 0);
sts = ccm_create_external_var( "mDynType1_DigBorder", CCM_DECL_INT, 0, ge_mDynType1_DigBorder, 0);
sts = ccm_create_external_var( "mDynType1_DigText", CCM_DECL_INT, 0, ge_mDynType1_DigText, 0);
sts = ccm_create_external_var( "mDynType1_Value", CCM_DECL_INT, 0, ge_mDynType1_Value, 0);
sts = ccm_create_external_var( "mDynType1_AnalogColor", CCM_DECL_INT, 0, ge_mDynType1_AnalogColor, 0);
sts = ccm_create_external_var( "mDynType1_Rotate", CCM_DECL_INT, 0, ge_mDynType1_Rotate, 0);
sts = ccm_create_external_var( "mDynType1_Move", CCM_DECL_INT, 0, ge_mDynType1_Move, 0);
sts = ccm_create_external_var( "mDynType1_AnalogShift", CCM_DECL_INT, 0, ge_mDynType1_AnalogShift, 0);
sts = ccm_create_external_var( "mDynType1_DigShift", CCM_DECL_INT, 0, ge_mDynType1_DigShift, 0);
sts = ccm_create_external_var( "mDynType1_Animation", CCM_DECL_INT, 0, ge_mDynType1_Animation, 0);
sts = ccm_create_external_var( "mDynType1_Bar", CCM_DECL_INT, 0, ge_mDynType1_Bar, 0);
sts = ccm_create_external_var( "mDynType1_Trend", CCM_DECL_INT, 0, ge_mDynType1_Trend, 0);
sts = ccm_create_external_var( "mDynType1_SliderBackground", CCM_DECL_INT, 0, ge_mDynType1_SliderBackground, 0);
sts = ccm_create_external_var( "mDynType1_Video", CCM_DECL_INT, 0, ge_mDynType1_Video, 0);
sts = ccm_create_external_var( "mDynType1_FillLevel", CCM_DECL_INT, 0, ge_mDynType1_FillLevel, 0);
sts = ccm_create_external_var( "mDynType1_FastCurve", CCM_DECL_INT, 0, ge_mDynType1_FastCurve, 0);
sts = ccm_create_external_var( "mDynType1_AnalogText", CCM_DECL_INT, 0, ge_mDynType1_AnalogText, 0);
sts = ccm_create_external_var( "mDynType1_Table", CCM_DECL_INT, 0, ge_mDynType1_Table, 0);
sts = ccm_create_external_var( "mDynType1_StatusColor", CCM_DECL_INT, 0, ge_mDynType1_StatusColor, 0);
sts = ccm_create_external_var( "mDynType1_HostObject", CCM_DECL_INT, 0, ge_mDynType1_HostObject, 0);
sts = ccm_create_external_var( "mDynType1_DigSound", CCM_DECL_INT, 0, ge_mDynType1_DigSound, 0);
sts = ccm_create_external_var( "mDynType1_XY_Curve", CCM_DECL_INT, 0, ge_mDynType1_XY_Curve, 0);
sts = ccm_create_external_var( "mDynType1_DigCommand", CCM_DECL_INT, 0, ge_mDynType1_DigCommand, 0);
sts = ccm_create_external_var( "mDynType1_Pie", CCM_DECL_INT, 0, ge_mDynType1_Pie, 0);
sts = ccm_create_external_var( "mDynType1_BarChart", CCM_DECL_INT, 0, ge_mDynType1_BarChart, 0);
sts = ccm_create_external_var( "mDynType2_No", CCM_DECL_INT, 0, ge_mDynType2_No, 0);
sts = ccm_create_external_var( "mDynType2_Axis", CCM_DECL_INT, 0, ge_mDynType2_Axis, 0);
sts = ccm_create_external_var( "mDynType2_DigTextColor", CCM_DECL_INT, 0, ge_mDynType2_DigTextColor, 0);
sts = ccm_create_external_var( "mDynType2_TimeoutColor", CCM_DECL_INT, 0, ge_mDynType2_TimeoutColor, 0);
sts = ccm_create_external_var( "mDynType2_DigFourShift", CCM_DECL_INT, 0, ge_mDynType2_DigFourShift, 0);
sts = ccm_create_external_var( "mDynType2_ScrollingText", CCM_DECL_INT, 0, ge_mDynType2_ScrollingText, 0);
sts = ccm_create_external_var( "mDynType2_ColorThemeLightness", CCM_DECL_INT, 0, ge_mDynType2_ColorThemeLightness, 0);
sts = ccm_create_external_var( "mDynType2_DigBackgroundColor", CCM_DECL_INT, 0, ge_mDynType2_DigBackgroundColor, 0);
sts = ccm_create_external_var( "mActionType1_No", CCM_DECL_INT, 0, ge_mActionType1_No, 0);
sts = ccm_create_external_var( "mActionType1_Inherit", CCM_DECL_INT, 0, ge_mActionType1_Inherit, 0);
sts = ccm_create_external_var( "mActionType1_PopupMenu", CCM_DECL_INT, 0, ge_mActionType1_PopupMenu, 0);
sts = ccm_create_external_var( "mActionType1_SetDig", CCM_DECL_INT, 0, ge_mActionType1_SetDig, 0);
sts = ccm_create_external_var( "mActionType1_ResetDig", CCM_DECL_INT, 0, ge_mActionType1_ResetDig, 0);
sts = ccm_create_external_var( "mActionType1_ToggleDig", CCM_DECL_INT, 0, ge_mActionType1_ToggleDig, 0);
sts = ccm_create_external_var( "mActionType1_StoDig", CCM_DECL_INT, 0, ge_mActionType1_StoDig, 0);
sts = ccm_create_external_var( "mActionType1_Command", CCM_DECL_INT, 0, ge_mActionType1_Command, 0);
sts = ccm_create_external_var( "mActionType1_CommandDoubleClick", CCM_DECL_INT, 0, ge_mActionType1_CommandDoubleClick, 0);
sts = ccm_create_external_var( "mActionType1_Confirm", CCM_DECL_INT, 0, ge_mActionType1_Confirm, 0);
sts = ccm_create_external_var( "mActionType1_IncrAnalog", CCM_DECL_INT, 0, ge_mActionType1_IncrAnalog, 0);
sts = ccm_create_external_var( "mActionType1_RadioButton", CCM_DECL_INT, 0, ge_mActionType1_RadioButton, 0);
sts = ccm_create_external_var( "mActionType1_Slider", CCM_DECL_INT, 0, ge_mActionType1_Slider, 0);
sts = ccm_create_external_var( "mActionType1_ValueInput", CCM_DECL_INT, 0, ge_mActionType1_ValueInput, 0);
sts = ccm_create_external_var( "mActionType1_TipText", CCM_DECL_INT, 0, ge_mActionType1_TipText, 0);
sts = ccm_create_external_var( "mActionType1_Help", CCM_DECL_INT, 0, ge_mActionType1_Help, 0);
sts = ccm_create_external_var( "mActionType1_OpenGraph", CCM_DECL_INT, 0, ge_mActionType1_OpenGraph, 0);
sts = ccm_create_external_var( "mActionType1_OpenURL", CCM_DECL_INT, 0, ge_mActionType1_OpenURL, 0);
sts = ccm_create_external_var( "mActionType1_InputFocus", CCM_DECL_INT, 0, ge_mActionType1_InputFocus, 0);
sts = ccm_create_external_var( "mActionType1_CloseGraph", CCM_DECL_INT, 0, ge_mActionType1_CloseGraph, 0);
sts = ccm_create_external_var( "mActionType1_PulldownMenu", CCM_DECL_INT, 0, ge_mActionType1_PulldownMenu, 0);
sts = ccm_create_external_var( "mActionType1_OptionMenu", CCM_DECL_INT, 0, ge_mActionType1_OptionMenu, 0);
sts = ccm_create_external_var( "mActionType1_SetValue", CCM_DECL_INT, 0, ge_mActionType1_SetValue, 0);
sts = ccm_create_external_var( "mActionType1_MethodToolbar", CCM_DECL_INT, 0, ge_mActionType1_MethodToolbar, 0);
sts = ccm_create_external_var( "mActionType1_MethodPulldownMenu", CCM_DECL_INT, 0, ge_mActionType1_MethodPulldownMenu, 0);
sts = ccm_create_external_var( "mActionType1_Script", CCM_DECL_INT, 0, ge_mActionType1_Script, 0);
char varname[40]; char varname[40];
for ( int i = 1; i <= 300; i++) { for ( int i = 1; i <= 300; i++) {
sprintf( varname, "eDrawType_Color%d", i); sprintf( varname, "eDrawType_Color%d", i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment