ismop / dap

3 stars 0 forks source link

Wrong Neosentio sensors names/custom ids #170

Open mkasztelnik opened 7 years ago

mkasztelnik commented 7 years ago

From DK email:

1. Co to są za czujniki? Miałem info, że wszystkie zostały przemianowane na 
nomenklaturę odpowiadającą nazwom z neosentio.3_xx_yy_04.

neosentio-sensors

nowakowski commented 7 years ago

@mkasztelnik To są wartości Device.custom_id (nowa nomenklatura dotyczy wartości Parameter.custom_id). Zostawiłem tak, bo było to do czegoś potrzebne Danielowi K. Może po prostu podmień jeden atrybut na drugi w wizualizacji?

mkasztelnik commented 7 years ago

@nowakowski please take a look here: https://github.com/ismop/eitwid/blob/master/src/main/java/pl/ismop/web/client/widgets/analysis/chart/wizard/ChartWizardPresenter.java#L157-L159 - this is how name is generated. Please let me know how I can improve it (please remember that this schema is used for all device parameters not only neosentio).

This is also connected with https://github.com/ismop/dap/issues/119 - unified names should be worked out for all devices and parameters presented on UI and returned from DAP.