def display_grids(self):
    '更新网格显示信息'
    if (not self.inited):
        return
    up_grids_info = self.gt.to_str(direction=Direction.SHORT)
    if (len(self.gt.up_grids) > 0):
        self.write_log(up_grids_info)
    dn_grids_info = self.gt.to_str(direction=Direction.LONG)
    if (len(self.gt.dn_grids) > 0):
        self.write_log(dn_grids_info)
更新网格显示信息
def display_grids(self):
    
    if (not self.inited):
        return
    up_grids_info = self.gt.to_str(direction=Direction.SHORT)
    if (len(self.gt.up_grids) > 0):
        self.write_log(up_grids_info)
    dn_grids_info = self.gt.to_str(direction=Direction.LONG)
    if (len(self.gt.dn_grids) > 0):
        self.write_log(dn_grids_info)