Comparison procedures use the saved culture to determine the casing rules ; therefore , hash code comparisons might have different results depending on the culture Thread . currentculture 。比较过程使用保存的区域性来确定大小写规则;因此,哈希代码比较可能会有不同的结果,具体取决于所使用的区域性。
In the optical transport products of headquarter division of zte ( zhongxing telecommunication equipment co . , ltd . ) corporation , we manage the informations of the transport devices with the sybase , which is one of the relational database . the structures of the device informations is very similar , but our products are strong real - time system , so we can ’ t store the informations with the same table of the database . we must create a table for each device to store the device data in the database . we develop the application program with c + + , which is a kind of object - oriented language . in order to handle these similar data , we must write many similar codes in our application program . as a result , our codes is very redundant . we are difficult to maintain these programs . in order to solving the problem , we decide to design a o - r mapping tool . at present , the o - r mapping tools are developed by pure object - oriented language , such as java , smalltalk . but , we must implement this o - r mapping tool with c + + 在中兴通讯股份有限公司本部事业部的传输网管产品中,我们使用关系数据库- sybase来管理各种传输设备的信息;这些设备信息的结构基本类似,但由于在光传输控制中,实时性的要求很高,因此为了提高数据库操作的速度,为每一种设备在sybase数据库中都建立了一张对应的数据表。而对数据库进行操作的应用程序是使用c + +语言来开发的,这样一来在应用程序中,对各种设备的业务处理方式就基本相同,但却需要针对相似的数据表写不同的业务逻辑类,这就使得代码比较冗余,维护比较困难,在增加新设备时,也必须进行一些重复性的工作,扩展性受到很大制约。
The intermediate code created by the compiler is very compact and is propitious read by the running system because the paper uses reverse polish representations , hi the simulative running system , the paper uses the hardware plc principles and the oo method to white the running program 中间代码采取了逆波兰表示法,这使得生成的代码比较紧凑,且有利于运行程序的读取。在模拟运行部分,本文利用硬plc循环扫描的工作原理,结合pc环境下的特点,用面向对象的方式编写出了模拟运行程序。