2. Do a good job of understanding before raising. First of all, look for some information on the Internet, study hard, and understand the basic habits of crayfish. Don't just see a few shrimps and listen to others saying that it likes to eat dead chickens and rotten intestines, so it blindly starts.In real life, China's income tax is divided into enterprise income tax, foreign-invested enterprises or foreign-invested enterprises income tax and personal income tax. For these three types of income tax, each is calculated in a different way. Personal income tax has a personal income tax calculation method, while enterprise income tax has its corresponding calculation method. If we do not adopt the policy mode to realize such a requirement, we will define an income tax class, which has an attribute to identify the type of income tax and a CalculateTax () method to calculate the tax. In this method, we need to judge the tax type and calculate the income tax for different tax types through if-else statements. Such an implementation can indeed solve this scenario, but such a design is not conducive to expansion. If the system needs to add an income tax in the later period, it has to go back and modify the CalculateTax method to add an additional judgment statement, which clearly violates the principle of "open-closed". At this time, we can consider using the strategic mode to solve this problem. Since the tax method is the changing part of this scenario, we can naturally think of abstracting the tax method at this time, which is also the essence of the implementation of the strategic mode.Module Loop Dependency生于上等旗人之家的喜塔腊˙铄兰(汪明荃)自恃着格格的身分,四十多年来横行霸道,极尽野蛮之能事。兰儿子宁茂春(黄宗泽)到了适婚年龄,兰为他强抢来一位她认为是全京城最好的媳妇,岂料阴差阳错,儿子竟辗转娶了山寨王之女田力(胡杏儿)。兰吹毛求疵,但一山还有一山高,力亦不是温婉和顺之辈,婆媳各不相让,终日吵吵闹闹,叫懦弱、缺乏主见的春左要遵循母命,右要讨好老婆。却原来一切皆是掩饰,春其实武功高强,且背负着不为人知的秘密……继今年早些时候由领先的独立制片公司Mammoth Screen制作的长篇电影大获成功之后,英国独立电视台(ITV)又批准了第二季的当代侦探剧《麦当劳与多德》(McDonald & Dodds)。在新一季中,塔拉·古薇亚(出演《冷脚》)和英国电影学院奖得主杰森·沃特金斯(出演《克里斯托弗·杰弗里斯的荣誉》和《王冠》)将继续扮演雄心勃勃的DCI麦克唐纳和谦逊而又默默无闻的DS Dodds。该剧的背景设在风景如画的巴斯,剧中有最近刚从伦敦警察署调来的脾气火爆的DCI McDonald和谦虚谦逊的DS Dodds,后者在他的大部分工作生涯中都很开心。他们看似毫无共同之处,却结成了一个喧闹的、最终高效的侦破罪案的伙伴关系。由该剧的主要编剧罗伯特·墨菲(Robert Murphy)创作和执行制片的《麦当劳与多兹》(McDonald & Dodds)将再次在英国西部拍摄。新一季的导演将是Alex Pillai(《Sabrina》和《Riverdale》的冒险故事),Rebecca Rycroft(《Malory Towers》,《Danny and Mick》)和Ian Aryeh(《In The Long Run》,《Andy and The Band》)。ITV的剧情总监Huw Kennair Jones和剧情总监Polly Hill已经委托该剧制作。休将会从电视台的角度来监督这部剧的制作。休·肯尼尔·琼斯评论道:“我们很高兴看到观众对麦当劳和多兹快餐第一季的反应。这两个角色的距离实在太遥远了,这也是这部剧吸引人的地方。他们之间不应该有化学反应,但他们确实有,他们的合作非常出色,这证明了罗伯特的剧本,以及塔拉和杰森让麦当劳和多德活了起来。”Mammoth Screen的戏剧导演Preethi Mavahalli评论道:“我们很高兴看到罗伯特·墨菲巧妙的故事在今年早些时候受到了观众的热烈欢迎。麦当劳Dodds是一支奇特而独特的调查团队,由塔拉·古维亚(Tala Gouveia)和杰森·沃特金斯(Jason Watkins)精心打造。我们很高兴ITV能委托我们拍更多的电影,并期待我们在巴斯的回归。”Damien Timmer (Endeavour, Noughts + crossing, World on Fire)和Preethi Mavahalli (McDonald & Dodds, Noughts + crossing, The War of The Worlds)是ITV Studios公司Mammoth Screen的执行制片人,与作家Robert Murphy (McDonald & Dodds, Vera, Shetland, DCI Banks)合作。这部新剧的制片人是莎拉·刘易斯(Sarah Lewis),她曾担任Noughts + crossing、McDonald & Dodds和Victoria的制片人。第一季可以通过流媒体平台Britbox观看。第一季开播时的总收视率为640万,占总收视人数的26\%,并拥有令人印象深刻的嘉宾阵容,包括塔拉·古维亚(Tala Gouveia)和杰森·沃特金斯(Jason Watkins),包括罗伯特·林赛(Robert Lindsay)、罗莎莉·克雷格(Rosalie Craig)、艾莉·肯德里克(Ellie Kendrick)、苏珊娜·菲尔丁(Susannah Fielding)、乔安娜·斯坎伦(Joanna Scanlan)、米歇尔·多特莱斯(Michele Dotrice)、弗雷迪·福克斯(Freddie Fox)和休·丹尼斯(Hugh Dennis)。ITV Studios将在全球发行这部剧。带你窥探从事园艺师、陶艺师、面包师、农家、料理人等职业的主角们工作与恋爱上的烦恼,还会走入红叶季的京都以及周边地区探访红叶秘境以及介绍当季美食