finished the functional part of storage as well as modified the drying dialog to remove notification interactions from the cables
This commit is contained in:
parent
2c6799bcc1
commit
208a657528
7 changed files with 193 additions and 47 deletions
|
|
@ -108,18 +108,25 @@ export class Ambient {
|
|||
return quack.ComponentID.fromObject({
|
||||
type: this.settings.type,
|
||||
addressType: this.settings.addressType,
|
||||
address: this.settings.address
|
||||
address: this.settings.address,
|
||||
expansionLine: this.settings.expansionLine,
|
||||
muxLine: this.settings.muxLine
|
||||
});
|
||||
}
|
||||
|
||||
public locationString(): string {
|
||||
return (
|
||||
or(this.settings.type, 0).toString() +
|
||||
let compositeLocation = or(this.settings.type, 0).toString() +
|
||||
"-" +
|
||||
or(this.settings.addressType, 0).toString() +
|
||||
"-" +
|
||||
or(this.settings.address, 0).toString()
|
||||
);
|
||||
if(this.settings.expansionLine){
|
||||
compositeLocation = compositeLocation + "-" + this.settings.expansionLine
|
||||
}
|
||||
if(this.settings.muxLine){
|
||||
compositeLocation = compositeLocation + ":" + this.settings.muxLine
|
||||
}
|
||||
return compositeLocation;
|
||||
}
|
||||
|
||||
public type(): quack.ComponentType {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue