本文整理汇总了Python中control.Control.set_roof_vent_south方法的典型用法代码示例。如果您正苦于以下问题:Python Control.set_roof_vent_south方法的具体用法?Python Control.set_roof_vent_south怎么用?Python Control.set_roof_vent_south使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类control.Control
的用法示例。
在下文中一共展示了Control.set_roof_vent_south方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: Control
# 需要导入模块: from control import Control [as 别名]
# 或者: from control.Control import set_roof_vent_south [as 别名]
c = Control()
print "roof vent south", c.get_roof_vent_south()
print "roof vent north", c.get_roof_vent_north()
print "side vent", c.get_side_vent()
print "shade screen out", c.get_shade_screen_out()
print "shade screen in", c.get_shade_screen_in()
print "thermal screen", c.get_thermal_screen()
print "cooling pad",c.get_cooling_pad()
print "fogging", c.get_fogging()
print "heating",c.get_heating()
print "co2",c.get_co2()
print "lighting 1",c.get_lighting_1()
print "lighting 2",c.get_lighting_2()
print "irrigation",c.get_irrigation()
c.set_roof_vent_south("stop")
c.set_roof_vent_north("stop")
c.set_side_vent("stop")
c.set_shade_screen_out("stop")
c.set_shade_screen_in("stop")
c.set_thermal_screen("stop")
c.set_cooling_pad("on")
c.set_fogging("on")
c.set_heating("on")
c.set_co2("on")
c.set_lighting_1("on")
c.set_lighting_2("on")
c.set_irrigation("on")
print "roof vent south", c.get_roof_vent_south()
print "roof vent north", c.get_roof_vent_north()
print "side vent", c.get_side_vent()