fix some bugs
This commit is contained in:
parent
e4116ebdbf
commit
e73355a509
@ -60,10 +60,19 @@ app.py ----服务器的主程序
|
|||||||
|
|
||||||
## 更新日志
|
## 更新日志
|
||||||
|
|
||||||
|
* 2021年4月1日
|
||||||
|
|
||||||
|
* bug:系统运行一天后mysql异常
|
||||||
|
* ~~bug:schematic中能够进行绘图的区域有限~~
|
||||||
|
* bug:移动整体电路时,电路连线无法一起移动
|
||||||
|
* bug:PIN POUT暂时无作用
|
||||||
|
* to do:主页面取消跳转,采用判定是否登录的方法改写login logou
|
||||||
* 2021年3月31日,前后端更新
|
* 2021年3月31日,前后端更新
|
||||||
|
|
||||||
* 新增:在服务器上成功部署;后端代码为适配centos服务器而做了一些修改。
|
* 新增:在服务器上成功部署;后端代码为适配centos服务器而做了一些修改。
|
||||||
* 新增:对schematic的Help弹窗做了修改,对login和register界面做了修改。
|
* 新增:对schematic的Help弹窗做了修改,对login和register界面做了修改。
|
||||||
|
* bug:处理注册信息时需要对用户名和邮箱是否重复进行判定。
|
||||||
|
* bug:Datetime非北京时间
|
||||||
* 2021年3月30日,前后端更新
|
* 2021年3月30日,前后端更新
|
||||||
|
|
||||||
* 新增:index界面
|
* 新增:index界面
|
||||||
|
Binary file not shown.
@ -42,17 +42,20 @@ class SimulationHandler(AuthBaseHandler):
|
|||||||
# print("sim type:",sim_type)
|
# print("sim type:",sim_type)
|
||||||
# print("property:",properties_str)
|
# print("property:",properties_str)
|
||||||
# print("spice :\n",spice)
|
# print("spice :\n",spice)
|
||||||
|
try:
|
||||||
|
simulator = Simulator_CZ()
|
||||||
|
simulator.Get_Spice(spice)
|
||||||
|
analysis = simulator.Sim(sim_type,properties)
|
||||||
|
print('properties:\n',properties)
|
||||||
|
print('simulation finished !')
|
||||||
|
|
||||||
simulator = Simulator_CZ()
|
Container_SimResult.load_analysis(sim_type,analysis)
|
||||||
simulator.Get_Spice(spice)
|
print('data container load data successfully!! ')
|
||||||
analysis = simulator.Sim(sim_type,properties)
|
message = "Simulation: Success \n"
|
||||||
print('properties:\n',properties)
|
except:
|
||||||
print('simulation finished !')
|
message = "Simulation: Fail \n"
|
||||||
|
|
||||||
Container_SimResult.load_analysis(sim_type,analysis)
|
message += "Sim_Type="+ sim_type + "\n Properties=" +properties_str
|
||||||
print('data container load data successfully!! ')
|
|
||||||
|
|
||||||
message = "Sim_Type="+ sim_type + "\n Properties=" +properties_str
|
|
||||||
Mongo.connect(DataBase='example',Collection=username)
|
Mongo.connect(DataBase='example',Collection=username)
|
||||||
Mongo.update(behavior=message,tags='simulation',spice=spice)
|
Mongo.update(behavior=message,tags='simulation',spice=spice)
|
||||||
|
|
||||||
|
@ -122,8 +122,8 @@
|
|||||||
graph.foldingEnabled = false;
|
graph.foldingEnabled = false;
|
||||||
|
|
||||||
//Maximum size
|
//Maximum size
|
||||||
graph.maximumGraphBounds = new mxRectangle(0, 0, 800, 600)
|
// graph.maximumGraphBounds = new mxRectangle(0, 0, 800, 600)
|
||||||
graph.border = 50;
|
// graph.border = 50;
|
||||||
|
|
||||||
// Panning handler consumed right click so this must be
|
// Panning handler consumed right click so this must be
|
||||||
// disabled if right click should stop connection handler.
|
// disabled if right click should stop connection handler.
|
||||||
@ -225,7 +225,7 @@
|
|||||||
// var lorem_2 = "To be continued......";
|
// var lorem_2 = "To be continued......";
|
||||||
var attention_head = "注意事项:";
|
var attention_head = "注意事项:";
|
||||||
var attention_body = ["1.当前系统不会自动更新元件名,当引用多个相同元件时,请在执行仿真前仔细检查元件的名字是否有重复,如有重复请自行在属性中修改元件名。(Vdd和Gnd除外)",
|
var attention_body = ["1.当前系统不会自动更新元件名,当引用多个相同元件时,请在执行仿真前仔细检查元件的名字是否有重复,如有重复请自行在属性中修改元件名。(Vdd和Gnd除外)",
|
||||||
"2.由于在后台CMOS器件统一使用了180nm的工艺库文件,所以请不要修改CMOS器件的MODEL。",
|
"2.由于在后台CMOS器件统一使用了180nm的工艺库文件,所以请不要修改CMOS器件的MODEL。另外,请注意,180nm工艺库下的电源电压为3.3V!!!!",
|
||||||
"3.系统尚不成熟,如遇bug,可以将bug的相关情况发送到colson_zhang@foxmail.com。"];
|
"3.系统尚不成熟,如遇bug,可以将bug的相关情况发送到colson_zhang@foxmail.com。"];
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user