AGV無人搬送車控制系统Pytorn

编程入门 行业动态 更新时间:2024-10-25 20:28:38

AGV無人搬送車<a href=https://www.elefans.com/category/jswz/34/1769287.html style=控制系统Pytorn"/>

AGV無人搬送車控制系统Pytorn

import tkinter as tk

import Main

import monitoring

# メインウィンドウを作成

root = tk.Tk()

root.title("AGV無人搬送車控制系统 ver1.0.0")

# ウィンドウサイズを固定

root.geometry("501x340")

root.resizable(False, False)  # サイズ変更を無効にする

# 画像を読み込む

bg_image = tk.PhotoImage(file="haguruma.png")

# 画像をリサイズ

resized_bg_image = bg_image.zoom(1, 1)

# ラベルにリサイズした画像を設定

bg_label = tk.Label(root, image=resized_bg_image)

bg_label.place(x=0, y=0)

def open_next_window1():

    Main.aaa()

def open_next_window2():

    monitoring.monitaring()

# ボタンのスタイルをカスタマイズ(かっこいいデザイン)

button1 = tk.Button(root, text="経路登録画面へ", command=open_next_window1, bg="navy", fg="white", font=("Helvetica", 14), padx=10, pady=5, borderwidth=3, relief="ridge", width=20)

button1.place(x=90, y=210)

# 別のボタンを追加

button2 = tk.Button(root, text="モニタリング画面へ", command=open_next_window2, bg="darkorange", fg="white", font=("Helvetica", 14), padx=10, pady=5, borderwidth=3, relief="ridge", width=20)

button2.place(x=90, y=150)

root.mainloop()

更多推荐

AGV無人搬送車控制系统Pytorn

本文发布于:2023-11-15 06:28:07,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1595257.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:控制系统   AGV   無人搬送車   Pytorn

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!