Skip to content
This repository has been archived by the owner on Jun 29, 2024. It is now read-only.

Commit

Permalink
Add LPC Server to demo cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
DerAndereAndi committed Apr 9, 2024
1 parent 37ee84d commit 5f68512
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/democem/democem.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package democem
import (
"github.com/enbility/cemd/cem"
"github.com/enbility/cemd/ucevsecc"
"github.com/enbility/cemd/uclpcserver"
eebusapi "github.com/enbility/eebus-go/api"
"github.com/enbility/ship-go/logging"
)
Expand All @@ -25,6 +26,9 @@ func (d *DemoCem) Setup() error {
return err
}

lpcs := uclpcserver.NewUCLPC(d.cem.Service, d.entityEventCB)
d.cem.AddUseCase(lpcs)

evsecc := ucevsecc.NewUCEVSECC(d.cem.Service, d.entityEventCB)
d.cem.AddUseCase(evsecc)

Expand Down

0 comments on commit 5f68512

Please sign in to comment.