# win window
import tkinter as tk
from tkinter import *
#from gpiozero import LED
#from gpiozero import Button
win = tk.Tk()
win.geometry("700x300")
win.title('MARS Shoreside Power Supply Schaefer K1979')
win['background']='#000040'

btnON = Button( win, text = 'ON' )
btnON.grid( column = 0, row = 0 )

btnOFF = Button( win, text = 'OFF' ) 
btnOFF.grid( column = 0, row = 1 )

statLabel = Label( win, text = "STATUS" )
statLabel.grid( column = 1, row = 0, columnspan = 2 )

# replace label with Led style indicator
acStatLabel = Label( win, text = "AC IN STATUS" )
acStatLabel.grid( column = 1, row = 1 )

acInLabel = Label( win, text = "AC Input" )
acInLabel.grid( column = 2, row = 1)

# replace label with Led style indicator
onCmdStatLabel = Label( win, text = "ON CMD STATUS" )
onCmdStatLabel.grid( column = 1, row = 2 )

onCmdLabel = Label( win, text = "On Command" )
onCmdLabel.grid( column = 2, row = 2 )

# replace label with Led style indicator
dcOutStatLabel = Label( win, text = "DC OUT" )
dcOutStatLabel.grid( column = 1, row = 3 )

dcOutLabel = Label( win, text = "DC Output" )
dcOutLabel.grid( column = 2, row = 3 )

faultsLabel = Label( win, text = "FAULTS" )
faultsLabel.grid( column = 3, row = 0, columnspan = 2 )

# replace label with Led style indicator
ovStatLabel = Label( win, text = "OV STATUS" )
ovStatLabel.grid( column = 3, row = 1 )

ovLabel = Label( win, text = "Over Voltage" )
ovLabel.grid( column = 4, row = 1 )

# replace label with Led style indicator
ocStatLabel = Label( win, text = "OC STATUS" )
ocStatLabel.grid( column = 3, row = 2 )

ocLabel = Label( win, text = "Over Current")
ocLabel.grid( column = 4, row = 2 )

# replace label with Led style indicator
otLabel = Label( win, text = "OT STATUS" )
otLabel.grid( column = 3, row = 3 )

otLabel = Label( win, text = "Over Temperature" )
otLabel.grid( column = 4, row = 3 )

# replace label with box showing voltage
voltsLabel = Label( win, text = "DC VOLTS OUTPUT" )
voltsLabel.grid( column = 5, row = 0, rowspan = 2 )

vOutLabel = Label( win, text = "Volts" )
vOutLabel.grid( column = 6, row = 0 )

# replace label with box showing current
ampsLabel = Label( win, text = "DC AMPS OUTPUT" )
ampsLabel.grid( column = 5, row = 1 )

aOutLabel = Label( win, text = "Amps" )
aOutLabel.grid( column = 6, row = 1 )





win.mainloop()