Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cmp=require("component")
- term=require("term")
- gpu=cmp.gpu
- gpu.setBackground(0x0000FF)
- gpu.setResolution(45, 10)
- while true do
- proxMfsu1=cmp.proxy(cmp.get("094"))
- proxMfsu2=cmp.proxy(cmp.get("421"))
- proxMfsu3=cmp.proxy(cmp.get("ff8"))
- proxMfsu4=cmp.proxy(cmp.get("4de"))
- proxMfsu21=cmp.proxy(cmp.get("563"))
- proxMfsu22=cmp.proxy(cmp.get("c2b"))
- proxMfsu23=cmp.proxy(cmp.get("cf7"))
- proxMfsu24=cmp.proxy(cmp.get("47f"))
- term.setCursor(1,1)
- print(" Состояние энергосистемы блока A ")
- gpu.setBackground(0x0000FF)
- print(" Конечное МФСУ Раздаточное МФСУ")
- print("", proxMfsu21.getStored()," ", proxMfsu1.getStored())
- print("", proxMfsu22.getStored()," ", proxMfsu2.getStored())
- print("", proxMfsu23.getStored()," ", proxMfsu3.getStored())
- print("", proxMfsu24.getStored()," ", proxMfsu4.getStored())
- os.sleep(0,1)
- end
Add Comment
Please, Sign In to add comment