var
 r                 : Real;    { Temporary                        }
 s                 : String;  { Temporary                        }
 i                 : Integer; { Temporary                        }
 b                 : Boolean; { Temporary                        }
 Ok                : Boolean; { Program initialization is Ok?    }
 errors            : Integer; { Program error counter            }
 errorcode         : Integer; { Error code for this device       }
 fixmaxavail       : Integer; { String manager leak control      }
 DebugFlags        : Integer; { Debug bit flags                  }
 StdIn_Line        : String;  { Temporary                        }
 devDimSrv         : Integer; { Reference of DIM server device   }
 Click_Info        : String;  { Information on last click        }
 Click             : Record   { Click event information:         }
  Cmnd,Data        : String;  { Cmnd or Cmnd=Data                }
  Button           : Integer; { Clicked button                   }
  Sensor           : String;  { Clicked sensor name              }
  Device           : String;  { Clicked sensor device name       }
  Window           : String;  { Clicked sensor window name       }
  Curve            : String;  { Clicked sensor curve  name       }
  Tag              : String;  { Clicked sensor tag    name       }
  Value            : String;  { Click sensor tag old value       }
  Guard            : String;  { Guard:Lock/Guest/User/Root       }
  User             : String;  { User name                        }
  Host             : String;  { Host name                        }
  IP               : String;  { IP address                       }
  MAC              : String;  { MAC address                      }
  newValue         : String;  { Click sensor tag new value       }
 end;
 WEB               : record   { Web server information:          }
  Sender           : Integer; { Web server device reference      }
  ReqTime          : Real;    { HTTP request time, ms            }
  Request          : Integer; { HTTP request text reference      }
  Reply            : Integer; { HTTP reply   text reference      }
  TrustedUsers     : Integer; { List of trusted users            }
  QueryCount       : Integer; { QUERY.COUNT                      }
  QueryItems       : Integer; { List of Query items              }
  CookieCount      : Integer; { COOKIE.COUNT                     }
  CookieItems      : Integer; { List of Cookie items             }
  ContentCount     : Integer; { CONTENT.COUNT                    }
  ContentItems     : Integer; { List of Content items            }
  GatewayInterface : String;  { GATEWAY_INTERFACE                }
  RequestMethod    : String;  { REQUEST_METHOD                   }
  QueryString      : String;  { QUERY_STRING                     }
  Content          : String;  { CONTENT                          }
  ContentLength    : Integer; { CONTENT_LENGTH                   }
  ContentType      : String;  { CONTENT_TYPE                     }
  ServerName       : String;  { SERVER_NAME                      }
  ServerPort       : Integer; { SERVER_PORT                      }
  ServerProtocol   : String;  { SERVER_PROTOCOL                  }
  ServerSoftware   : String;  { SERVER_SOFTWARE                  }
  RemoteHost       : String;  { REMOTE_HOST                      }
  RemoteAddr       : String;  { REMOTE_ADDR                      }
  ScriptName       : String;  { SCRIPT_NAME                      }
  PathInfo         : String;  { PATH_INFO                        }
  PathTranslated   : String;  { PATH_TRANSLATED                  }
  WebSrvName       : String;  { WEBSRV.NAME                      }
  WebSrvSite       : String;  { WEBSRV.SITE                      }
  WebSrvRoot       : String;  { WEBSRV.ROOT                      }
  WebSrvPort       : Integer; { WEBSRV.PORT                      }
  WebSrvIndex      : String;  { WEBSRV.INDEX                     }
  UserName         : String;  { For authentication               }
  Password         : String;  { For authentication               }
  DateTime         : String;  { For current date/time            }
 end;
 tagClick          : Integer; { Sensor click information         }
 tagNotify         : Integer; { Sensor click notification        }
