通信人家园

标题: 利用Python处理载波均衡代码  [查看完整版帖子] [打印本页]

时间:  2019-7-30 17:25
作者: ylt_txrjy     标题: 利用Python处理载波均衡代码


root = tk.Tk()
root.title('载波均衡优化参数制作')
Label(root,text="请输入需要载波均衡的ENodeB ID如297257)").grid(row = 0)
Label(root,text="请输入需要载波均衡的Cell ID,以空格隔开如49 52 55)").grid(row = 1)
e1 = Entry(root)
e2 = Entry(root)
a= e1.get()
b = e2.get()
e1.grid(row = 0, column = 1, padx = 10,  pady = 5)
e2.grid(row = 1, column = 1, padx = 10,  pady = 5)

Button(root, text = "CarrierAggregatin", width = 20, command = lambda:CarrierAggregatin(
        e1.get(),e2.get())).grid(row = 3,column = 0, sticky = W, padx = 10, pady =5)
Button(root, text = "EUtranCellMeasurement", width = 20, command = lambda:EUtranCellMeasurement(
        e1.get(),e2.get())).grid(row = 4,column = 0, sticky = W, padx = 10, pady =5)
Button(root, text = "EUtranRelation", width = 20, command = lambda:EUtranRelation(
        e1.get(),e2.get())).grid(row = 5,column = 0, sticky = W, padx = 10, pady =5)
Button(root, text = "EUtranReselection", width = 20, command = lambda:EUtranReselection(
        e1.get(),e2.get())).grid(row = 6,column = 0, sticky = W, padx = 10, pady =5)
Button(root, text = "LoadManagement", width = 20, command = lambdaoadManagement(
        e1.get(),e2.get())).grid(row = 7,column = 0, sticky = W, padx = 10, pady =5)
Button(root, text = "LoadMNGCell", width = 20, command = lambdaoadMNGCell(
        e1.get(),e2.get())).grid(row = 8,column = 0, sticky = W, padx = 10, pady =5)
Button(root, text = "UeEUtranMeasurement", width = 20, command = lambda:UeEUtranMeasurement(
        e1.get(),e2.get())).grid(row = 9,column = 0, sticky = W, padx = 10, pady =5)
Button(root, text = "退出", width = 10, command = root.quit).grid(row = 6,
  column = 1, sticky = W, padx = 10, pady =5)

mainloop()







通信人家园 (https://www.txrjy.com/) Powered by C114