static options ok
parent
054fa4241d
commit
3ad313b491
|
@ -1,8 +1,14 @@
|
|||
class R3 {
|
||||
static version = '2.0.132';
|
||||
static compileDate = '2021 Sep 06 - 08:50:36 am';
|
||||
static version = '2.0.136';
|
||||
static compileDate = '2021 Sep 06 - 09:13:00 am';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Started=false
|
||||
|
||||
**/
|
||||
|
||||
class System {
|
||||
|
||||
constructor(options) {
|
||||
|
@ -13,6 +19,10 @@ class System {
|
|||
options = {};
|
||||
}
|
||||
|
||||
if (typeof options.started === 'undefined') {
|
||||
options.started = false;
|
||||
}
|
||||
|
||||
Object.assign(this, options);
|
||||
|
||||
Event.Emit(Event.OBJECT_INITIALIZED, this);
|
||||
|
@ -1612,7 +1622,7 @@ class Utils {
|
|||
|
||||
Properties:
|
||||
|
||||
<no inherited properties>
|
||||
- started (Default value false)
|
||||
|
||||
Methods:
|
||||
|
||||
|
@ -1994,7 +2004,7 @@ class SystemInput extends System {
|
|||
|
||||
Properties:
|
||||
|
||||
<no inherited properties>
|
||||
- started (Default value false)
|
||||
|
||||
Methods:
|
||||
|
||||
|
@ -2172,7 +2182,7 @@ class SystemLinking extends System {
|
|||
|
||||
Properties:
|
||||
|
||||
<no inherited properties>
|
||||
- started (Default value false)
|
||||
|
||||
Methods:
|
||||
|
||||
|
@ -2301,7 +2311,7 @@ class SystemSocket extends System {
|
|||
|
||||
Properties:
|
||||
|
||||
<no inherited properties>
|
||||
- started (Default value false)
|
||||
|
||||
Methods:
|
||||
|
||||
|
@ -2486,7 +2496,7 @@ class R3Object extends Event {
|
|||
|
||||
this.emit(Event.OBJECT_CREATED, this);
|
||||
|
||||
if (typeof options.register === 'undefined')) {
|
||||
if (typeof options.register === 'undefined') {
|
||||
options.register = true;
|
||||
}
|
||||
|
||||
|
@ -2667,7 +2677,7 @@ class Component extends R3Object {
|
|||
|
||||
this.emit(Event.OBJECT_CREATED, this);
|
||||
|
||||
if (typeof options.runtime === 'undefined')) {
|
||||
if (typeof options.runtime === 'undefined') {
|
||||
options.runtime = R3.Runtime.DEFAULT;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "r3",
|
||||
"version" : "2.0.132",
|
||||
"version" : "2.0.136",
|
||||
"description": "",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -120,7 +120,7 @@ class Component extends R3Object {
|
|||
this.emit(Event.OBJECT_CREATED, this);
|
||||
|
||||
//GENERATED_OPTIONS_INIT_START
|
||||
if (typeof options.runtime === 'undefined')) {
|
||||
if (typeof options.runtime === 'undefined') {
|
||||
options.runtime = R3.Runtime.DEFAULT;
|
||||
}
|
||||
//GENERATED_OPTIONS_INIT_END
|
||||
|
|
|
@ -91,7 +91,7 @@ class R3Object extends Event {
|
|||
this.emit(Event.OBJECT_CREATED, this);
|
||||
|
||||
//GENERATED_OPTIONS_INIT_START
|
||||
if (typeof options.register === 'undefined')) {
|
||||
if (typeof options.register === 'undefined') {
|
||||
options.register = true;
|
||||
}
|
||||
//GENERATED_OPTIONS_INIT_END
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
class R3 {
|
||||
static version = '2.0.132';
|
||||
static compileDate = '2021 Sep 06 - 08:50:36 am';
|
||||
static version = '2.0.136';
|
||||
static compileDate = '2021 Sep 06 - 09:13:00 am';
|
||||
}
|
||||
|
||||
//GENERATED_IMPORTS_START
|
||||
|
|
|
@ -11,7 +11,7 @@ const System = require('./r3-system.js');
|
|||
|
||||
Properties:
|
||||
|
||||
<no inherited properties>
|
||||
- started (Default value false)
|
||||
|
||||
Methods:
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ const System = require('./r3-system.js');
|
|||
|
||||
Properties:
|
||||
|
||||
<no inherited properties>
|
||||
- started (Default value false)
|
||||
|
||||
Methods:
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ const System = require('./r3-system.js');
|
|||
|
||||
Properties:
|
||||
|
||||
<no inherited properties>
|
||||
- started (Default value false)
|
||||
|
||||
Methods:
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ const System = require('./r3-system.js');
|
|||
|
||||
Properties:
|
||||
|
||||
<no inherited properties>
|
||||
- started (Default value false)
|
||||
|
||||
Methods:
|
||||
|
||||
|
|
|
@ -4,9 +4,11 @@ const Utils = require('.././r3-utils');
|
|||
/**
|
||||
|
||||
CUSTOM_OPTIONS_START
|
||||
started=false
|
||||
CUSTOM_OPTIONS_END
|
||||
|
||||
CUSTOM_STATIC_OPTIONS_START
|
||||
Started=false
|
||||
CUSTOM_STATIC_OPTIONS_END
|
||||
|
||||
CUSTOM_METHODS_START
|
||||
|
@ -33,6 +35,9 @@ class System {
|
|||
}
|
||||
|
||||
//GENERATED_OPTIONS_INIT_START
|
||||
if (typeof options.started === 'undefined') {
|
||||
options.started = false;
|
||||
}
|
||||
//GENERATED_OPTIONS_INIT_END
|
||||
|
||||
//CUSTOM_OPTIONS_INIT_START
|
||||
|
@ -144,10 +149,10 @@ class System {
|
|||
}
|
||||
|
||||
//GENERATED_STATIC_OPTIONS_INIT_START
|
||||
System.Started = false;
|
||||
//GENERATED_STATIC_OPTIONS_INIT_END
|
||||
|
||||
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_START
|
||||
System.Started = false;
|
||||
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_END
|
||||
|
||||
module.exports = System;
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
if (typeof options.KEY === 'undefined')) {
|
||||
if (typeof options.KEY === 'undefined') {
|
||||
options.KEY = VALUE;
|
||||
}
|
||||
|
|
|
@ -4,9 +4,11 @@ const Utils = require('INCLUDE_PATH/r3-utils');
|
|||
/**
|
||||
|
||||
CUSTOM_OPTIONS_START
|
||||
started=false
|
||||
CUSTOM_OPTIONS_END
|
||||
|
||||
CUSTOM_STATIC_OPTIONS_START
|
||||
Started=false
|
||||
CUSTOM_STATIC_OPTIONS_END
|
||||
|
||||
CUSTOM_METHODS_START
|
||||
|
@ -41,7 +43,6 @@ class CLASS_NAME {
|
|||
//GENERATED_STATIC_OPTIONS_INIT_END
|
||||
|
||||
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_START
|
||||
CLASS_NAME.Started = false;
|
||||
//CUSTOM_OUT_OF_CLASS_IMPLEMENTATION_END
|
||||
|
||||
module.exports = CLASS_NAME;
|
||||
|
|
Loading…
Reference in New Issue