cc-mek-scada/rtu/config.lua

46 lines
1.0 KiB
Lua

-- #REQUIRES rsio.lua
-- port to send packets TO server
SERVER_PORT = 16000
-- port to listen to incoming packets FROM server
LISTEN_PORT = 15001
-- RTU peripheral devices (named: side/network device name)
RTU_DEVICES = {
{
name = "boiler_0",
index = 1,
for_reactor = 1
},
{
name = "turbine_0",
index = 1,
for_reactor = 1
}
}
-- RTU redstone interface definitions
RTU_REDSTONE = {
{
for_reactor = 1,
io = {
{
channel = RS_IO.WASTE_PO,
side = "top",
bundled_color = colors.blue,
for_reactor = 1
},
{
channel = RS_IO.WASTE_PU,
side = "top",
bundled_color = colors.cyan,
for_reactor = 1
},
{
channel = RS_IO.WASTE_AM,
side = "top",
bundled_color = colors.purple,
for_reactor = 1
}
}
}
}