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 {
6666 if ( signal104Data . isMonitorSignal ) {
6767 line . push ( signal104Data . ioa ?? '' , '' ) ;
6868 } else {
69- line . push ( '' , signal104Data . ioa ?? '' ) ;
69+ line . push ( signal104Data . ioa ?? '' , signal104Data . ioa ?? '' ) ;
7070 }
7171
7272 lines . push ( line ) ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ interface ExtractSignal104Result {
1717
1818enum SignalType {
1919 Monitor ,
20- Control ,
20+ MonitorAndControl ,
2121 Unknown
2222}
2323
@@ -88,7 +88,7 @@ function extractSignal104Data(addressElement: Element, doc: XMLDocument): Extrac
8888
8989 const substationName = parentSubstation . getAttribute ( 'name' ) ;
9090
91- const name = `${ substationName } ${ voltageLevelName } ${ bayName } ${ doiDesc } ` ;
91+ const name = `${ substationName } ${ voltageLevelName } ${ bayName } ${ doiDesc } ` ;
9292
9393 return {
9494 signal : {
@@ -112,7 +112,7 @@ function getSignalType(tiString: string): SignalType {
112112 if ( ( ti >= 1 && ti <= 21 ) || ( ti >= 30 && ti <= 40 ) ) {
113113 return SignalType . Monitor ;
114114 } else if ( ( ti >= 45 && ti <= 51 ) || ( ti >= 58 && ti <= 64 ) ) {
115- return SignalType . Control ;
115+ return SignalType . MonitorAndControl ;
116116 } else {
117117 return SignalType . Unknown ;
118118 }
You can’t perform that action at this time.
0 commit comments