File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ export default class Export104 extends LitElement {
66
66
if ( signal104Data . isMonitorSignal ) {
67
67
line . push ( signal104Data . ioa ?? '' , '' ) ;
68
68
} else {
69
- line . push ( '' , signal104Data . ioa ?? '' ) ;
69
+ line . push ( signal104Data . ioa ?? '' , signal104Data . ioa ?? '' ) ;
70
70
}
71
71
72
72
lines . push ( line ) ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ interface ExtractSignal104Result {
17
17
18
18
enum SignalType {
19
19
Monitor ,
20
- Control ,
20
+ MonitorAndControl ,
21
21
Unknown
22
22
}
23
23
@@ -88,7 +88,7 @@ function extractSignal104Data(addressElement: Element, doc: XMLDocument): Extrac
88
88
89
89
const substationName = parentSubstation . getAttribute ( 'name' ) ;
90
90
91
- const name = `${ substationName } ${ voltageLevelName } ${ bayName } ${ doiDesc } ` ;
91
+ const name = `${ substationName } ${ voltageLevelName } ${ bayName } ${ doiDesc } ` ;
92
92
93
93
return {
94
94
signal : {
@@ -112,7 +112,7 @@ function getSignalType(tiString: string): SignalType {
112
112
if ( ( ti >= 1 && ti <= 21 ) || ( ti >= 30 && ti <= 40 ) ) {
113
113
return SignalType . Monitor ;
114
114
} else if ( ( ti >= 45 && ti <= 51 ) || ( ti >= 58 && ti <= 64 ) ) {
115
- return SignalType . Control ;
115
+ return SignalType . MonitorAndControl ;
116
116
} else {
117
117
return SignalType . Unknown ;
118
118
}
You can’t perform that action at this time.
0 commit comments