瀏覽代碼

cleanup Main.loop

micha 2 年之前
父節點
當前提交
7119194e05
共有 1 個文件被更改,包括 1 次插入7 次删除
  1. 1 7
      _console.py

+ 1 - 7
_console.py

@@ -726,14 +726,8 @@ class Main():
                     artnet = self.artnet[str(univ)]
                     artnet.dmx = xx
                 
+                htp_master._list_by_dmx(ii)
                 v = dmxch.next(t)
-                if i == 0:
-                    #print(dmxch)
-                    if int(xx[i]*100) != int( v*100):
-                        #print("----v",x[i],v,t)
-                        pass
-                        #print("i:{:0.2f} xx:{:0.2f} v:{:0.2f} {:0.2f}----v {}".format(i,xx[i],v,t+100,dmxch))
-                        #print("i:{:0.2f} xx:{:0.2f} v:{:0.2f} {:0.2f}----v {}".format(i,xx[i],v,t+100,dmxch))
                 xx[i] = int(v)
             try:    
                 artnet.next()