Commit 37a96aa8 authored by Claes Sjofors's avatar Claes Sjofors

Ge Access default value, RtReadand RtWrite removed

parent d4d91f6f
...@@ -87,6 +87,21 @@ typedef enum { ...@@ -87,6 +87,21 @@ typedef enum {
pwr_mPrv_Operator8 | pwr_mPrv_Operator8 |
pwr_mPrv_Operator9 | pwr_mPrv_Operator9 |
pwr_mPrv_Operator10, pwr_mPrv_Operator10,
pwr_mAccess_RtDefault = pwr_mPrv_System |
pwr_mPrv_Maintenance |
pwr_mPrv_Process |
pwr_mPrv_Instrument |
pwr_mPrv_RtEvents |
pwr_mPrv_Operator1 |
pwr_mPrv_Operator2 |
pwr_mPrv_Operator3 |
pwr_mPrv_Operator4 |
pwr_mPrv_Operator5 |
pwr_mPrv_Operator6 |
pwr_mPrv_Operator7 |
pwr_mPrv_Operator8 |
pwr_mPrv_Operator9 |
pwr_mPrv_Operator10,
pwr_mAccess_AllOperators = pwr_mPrv_Operator1 | pwr_mAccess_AllOperators = pwr_mPrv_Operator1 |
pwr_mPrv_Operator2 | pwr_mPrv_Operator2 |
pwr_mPrv_Operator3 | pwr_mPrv_Operator3 |
......
...@@ -660,7 +660,7 @@ class GeDyn { ...@@ -660,7 +660,7 @@ class GeDyn {
reset_color(false), ignore_invisible(false), reset_invisible(false), reset_color(false), ignore_invisible(false), reset_invisible(false),
dyn_type(ge_mDynType_Inherit), total_dyn_type(ge_mDynType_Inherit), dyn_type(ge_mDynType_Inherit), total_dyn_type(ge_mDynType_Inherit),
action_type(ge_mActionType_Inherit), total_action_type(ge_mActionType_Inherit), action_type(ge_mActionType_Inherit), total_action_type(ge_mActionType_Inherit),
access(glow_mAccess_AllRt), cycle(glow_eCycle_Inherit), attr_editor( d_attr_editor) access(glow_mAccess_RtDefault), cycle(glow_eCycle_Inherit), attr_editor( d_attr_editor)
{} {}
//! Copy constructor. //! Copy constructor.
......
...@@ -25,13 +25,13 @@ ...@@ -25,13 +25,13 @@
#include "pwr_privilege.h" #include "pwr_privilege.h"
typedef pwr_mAccess glow_mAccess; typedef pwr_mAccess glow_mAccess;
#define glow_mAccess_AllRt pwr_mAccess_AllRt #define glow_mAccess_RtDefault pwr_mAccess_RtDefault
class GlowTraceData { class GlowTraceData {
public: public:
GlowTraceData() : attr_type(glow_eTraceType_Boolean), GlowTraceData() : attr_type(glow_eTraceType_Boolean),
color(glow_eDrawType_Inherit), color2(glow_eDrawType_Inherit), color(glow_eDrawType_Inherit), color2(glow_eDrawType_Inherit),
p(NULL), access(glow_mAccess_AllRt), cycle(glow_eCycle_Inherit) p(NULL), access(glow_mAccess_RtDefault), cycle(glow_eCycle_Inherit)
{ {
strcpy( data[0], ""); strcpy( data[0], "");
strcpy( data[1], ""); strcpy( data[1], "");
......
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