Commit 96352699 authored by claes's avatar claes

Warning message if type in Value attribute is missing

parent 8a19126b
/* /*
* Proview $Id: ge_dyn.cpp,v 1.51 2007-04-25 13:36:13 claes Exp $ * Proview $Id: ge_dyn.cpp,v 1.52 2007-06-29 09:46:26 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB. * Copyright (C) 2005 SSAB Oxelsund AB.
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
...@@ -3271,6 +3271,8 @@ int GeValue::connect( grow_tObject object, glow_sTraceData *trace_data) ...@@ -3271,6 +3271,8 @@ int GeValue::connect( grow_tObject object, glow_sTraceData *trace_data)
size = attr_size; size = attr_size;
switch ( db) { switch ( db) {
case graph_eDatabase_Gdh: case graph_eDatabase_Gdh:
if ( attr_type == pwr_eType__)
printf( "Warning GeValue::connect, type is missing in %s\n", attribute);
switch ( attr_type) { switch ( attr_type) {
case pwr_eType_Enum: case pwr_eType_Enum:
......
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