|
|
@ -39,6 +39,7 @@ export class AnalyticUnit { |
|
|
|
_.defaults(this._panelObject, { |
|
|
|
_.defaults(this._panelObject, { |
|
|
|
name: 'AnalyticUnitName', |
|
|
|
name: 'AnalyticUnitName', |
|
|
|
color: ANALYTIC_UNIT_COLORS[0], |
|
|
|
color: ANALYTIC_UNIT_COLORS[0], |
|
|
|
|
|
|
|
detectorType: 'pattern', |
|
|
|
type: 'GENERAL', |
|
|
|
type: 'GENERAL', |
|
|
|
alert: false |
|
|
|
alert: false |
|
|
|
}); |
|
|
|
}); |
|
|
@ -52,6 +53,9 @@ export class AnalyticUnit { |
|
|
|
set name(value: string) { this._panelObject.name = value; } |
|
|
|
set name(value: string) { this._panelObject.name = value; } |
|
|
|
get name(): string { return this._panelObject.name; } |
|
|
|
get name(): string { return this._panelObject.name; } |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set detectorType(value: string) { this._panelObject.detectorType = value; } |
|
|
|
|
|
|
|
get detectorType(): string { return this._panelObject.detectorType; } |
|
|
|
|
|
|
|
|
|
|
|
set type(value: string) { this._panelObject.type = value; } |
|
|
|
set type(value: string) { this._panelObject.type = value; } |
|
|
|
get type(): string { return this._panelObject.type; } |
|
|
|
get type(): string { return this._panelObject.type; } |
|
|
|
|
|
|
|
|
|
|
|