添加一个新的厕率

This commit is contained in:
jackyu66git
2026-02-19 00:44:53 +08:00
parent d76e9d47a6
commit e2726db9c1
4 changed files with 92 additions and 67 deletions
+9
View File
@@ -48,6 +48,15 @@ class ChanSBI():
#print(self.start_bi.start_time, self.end_bi.end_time, self.pre.start_bi.start_time, self.next.start_bi.start_time, self.dir, self.has_fx_gap, self.fx)
return Chan_FX_TYPE.BOTTOM
return Chan_FX_TYPE.UNKNOWN
def check_seg_bi_broken(self):
broken = False
if self.fx == Chan_FX_TYPE.TOP:
if self.next.low < self.pre.high:
broken = True
elif self.fx == Chan_FX_TYPE.BOTTOM:
if self.next.high > self.pre.low:
broken = True
return broken
def check_bi_included(self, bi):
included = False
if self.high > bi.high: