ssmp lib/default.js

database

property
all.database

    Description

    data base defaults

    Source

    all.database = {
      server          : 'localhost',
      port            : 5984,
      name            : 'mp_db',
      design          : 'dbmp',
      tasksview       : 'tasks',
      taskslist       : 'gettask',
      containerview   : 'container',
      containerlist   : 'getcontainer',
      docinfoshow     : 'docinfo'
    };

    relay

    property
    all.relay

      Description

      node relay defaults

      Source

      all.relay = {
        server    : 'localhost',
        port      : 55555
      };

      socket

      property
      all.socket

        Description

        socketio-api defaults

        Source

        all.socket={
          port: 8002
        };

        system

        property
        all.system

          Description

          system defaults

          Source

          all.system = {
            heartbeat: 300,
            par_delay_mult: 50 // Multiplikator
          };

          container

          property
          all.container

            Description

            container defaults

            Source

            all.container = {
              heartbeat:300
            };

            ctrlStr

            property
            all.ctrlStr

              Description

              static strings used
              everywhere

              Source

              all.ctrlStr = {
                ini     : 'ini',
                exec    : 'executed',
                ready   : 'ready',
                load    : 'load',
                rm      : 'remove',
                run     : 'run',
                pause   : 'pause',
                stop    : 'stop',
                error   : 'error',
                work    : 'working',
                mon     : 'mon'
              };

              fallbackvalues

              property
              all.fallbackvalues

                Description

                defaults for fallback values

                Source

                all.fallbackvalues = {
                  text:'',
                  tooltip:'',
                  number: null,
                  bool: false
                };
                
                all.custDevPrefix = "CustomerDevice";
                module.exports = all;