Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F64856183
launch_ems.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, May 29, 23:50
Size
388 B
Mime Type
text/x-python
Expires
Fri, May 31, 23:50 (2 d)
Engine
blob
Format
Raw Data
Handle
17922717
Attached To
R3852 EMS for Smart-Building
launch_ems.py
View Options
from
queue
import
Queue
import
bmsinterface.bms_interf
as
bmsinterface
import
cms.cms_main
as
cmsinterf
print
(
"Start EMS "
)
shared_stream_cms_bms
=
Queue
()
bms_interf
=
bmsinterface
.
BMSInterface
(
shared_stream_cms_bms
)
cms
=
cmsinterf
.
ClusteringManagementSystem
(
shared_stream_cms_bms
)
bms_interf
.
start
()
cms
.
start
()
# Do infinite loop here for EMS job
bms_interf
.
join
()
cms
.
join
()
Event Timeline
Log In to Comment