anchor.diff:    id: TWDID;
     sensorid: TGUID;
   begin
  +  fDBCounter := fDBCounter + 1;
     timestamp := 0;
     while aCursor<aLimit do
     begin
  
positive.code:           value := aPayload.bb_read_double(aCursor);
            if fLinkLayers.TryGetValue(fieldInfo, layer) then
              layer.AddValue(timestamp, value);
          end;
        sensordata_linkid:
          begin
  
negative.code: end;
  
  function CreateNiekPalette(const aTitle: string): TWDPalette;
  var
    factor: Double;
  begin
    factor := 1 / 1000000000;
    Result := TRampPalette.Create(aTitle, [
      TRampPaletteEntry.Create($Ff00AF00, 0 * factor, '0'),
      //TRampPaletteEntry.Create($FF00C800, 5, '5'),
      TRampPaletteEntry.Create($FF00E100, 10 * factor, '10'),
      //TRampPaletteEntry.Create($FF32FF32, 15, '15'),
      TRampPaletteEntry.Create($FF7DFF4B, 20 * factor, '20'),
      //TRampPaletteEntry.Create($FFC8FF4B, 25, '25'),
      TRampPaletteEntry.Create($FFF2FF4B, 30 * factor, '30'),
      //TRampPaletteEntry.Create($FFFFFA01, 35, '35'),
      TRampPaletteEntry.Create($FFFFE101, 40 * factor, '40'),
      //TRampPaletteEntry.Create($FFFFC801, 45, '45'),
      TRampPaletteEntry.Create($FFFFAF01, 50 * factor, '50'),
      //TRampPaletteEntry.Create($FFFF9601, 55, '55'),
      TRampPaletteEntry.Create($FFFF7D01, 60 * factor, '60'),
      //TRampPaletteEntry.Create($FFFF6401, 65, '65'),
      TRampPaletteEntry.Create($FFFF4B01, 70 * factor, '70'),
      //TRampPaletteEntry.Create($FFFF0000, 75, '75'),
      TRampPaletteEntry.Create($FFE10000, 80 * factor, '80'),
      //TRampPaletteEntry.Create($FFC80000, 85, '85'),
      TRampPaletteEntry.Create($FFAF0000, 90 * factor, '90'),
      //TRampPaletteEntry.Create($FF960019, 95, '95'),
      TRampPaletteEntry.Create($FF7D0032, 100 * factor, '100'),
      //TRampPaletteEntry.Create($FF6E004B, 105, '105'),
      TRampPaletteEntry.Create($FF640064, 110 * factor, '110'),
      //TRampPaletteEntry.Create($FF500073, 115, '115'),
      TRampPaletteEntry.Create($FF37005C, 120 * factor, '120')],
        $FF00AF00,
        $00000000,
        $FF37005C);
  