Commit 10c5fd66 authored by Claes Sjofors's avatar Claes Sjofors

Ge dynamic AnalogColor, attribute type UInt32 added

parent 8a10c23d
...@@ -5223,6 +5223,7 @@ int GeAnalogColor::connect( grow_tObject object, glow_sTraceData *trace_data) ...@@ -5223,6 +5223,7 @@ int GeAnalogColor::connect( grow_tObject object, glow_sTraceData *trace_data)
switch ( e->type) { switch ( e->type) {
case pwr_eType_Float32: case pwr_eType_Float32:
case pwr_eType_Int32: case pwr_eType_Int32:
case pwr_eType_UInt32:
break; break;
default: default:
return 1; return 1;
...@@ -5298,7 +5299,8 @@ int GeAnalogColor::scan( grow_tObject object) ...@@ -5298,7 +5299,8 @@ int GeAnalogColor::scan( grow_tObject object)
memcpy( &old_value, &val, size); memcpy( &old_value, &val, size);
break; break;
} }
case pwr_eType_Int32: { case pwr_eType_Int32:
case pwr_eType_UInt32: {
pwr_tInt32 val = *(pwr_tInt32 *)p; pwr_tInt32 val = *(pwr_tInt32 *)p;
if ( !first_scan) { if ( !first_scan) {
......
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