Commit 33858763 authored by R.W.Majeed's avatar R.W.Majeed

use location attribute in eavtable/mdat to fill fact

parent 0c6c6110
...@@ -186,6 +186,15 @@ public class EavTable extends Table<EavRow> { ...@@ -186,6 +186,15 @@ public class EavTable extends Table<EavRow> {
if( end != null ){ if( end != null ){
fact.setEndTime(end); fact.setEndTime(end);
} }
String location = null;
if( mdat.location != null ) {
location = mdat.location.valueOf(colMap, row);
}
if( location != null ) {
fact.setLocationId(location);
}
if( vval != null ){ if( vval != null ){
// convert native type to observation value // convert native type to observation value
if( vval instanceof String ){ if( vval instanceof String ){
......
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