-
Notifications
You must be signed in to change notification settings - Fork 12
/
gma.show.lua
69 lines (63 loc) · 2.15 KB
/
gma.show.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---Functions pertaining to the live operation and interaction of the console
--@module gma.show
---Gets the value of a DMX address.
--
-- May only output the value if MA has free parameters.
--
--@tparam number dmx_addr DMX address. Format as `<UNIVERSE>.<ADDRESS>`
--@treturn number Value of DMX address
--@usage gma.show.getdmx(1.1)
--@usage gma.show.getdmx(3.54)
function gma.show.getdmx(dmx_addr)
end
---Gets the value of multiple DMX addresses.
--
--May only output the value if MA has free parameters.
--
--@tparam table recycle ???
--@tparam number dmx_addr ???
--@tparam number amount ???
--@treturn table values ???
function gma.show.getdmx(recycle,dmx_addr,amount)
end
---Returns the value of a GMA2 variable.
--
--@usage
-- Return all possible vars:
-- CommandLine>ListVar
--@usage
-- Default Variables:
-- HOSTSUBTYPE = Type of device you are on. (ie: "OnPC")
-- HOSTTYPE = Type of device. (ie: "Console")
-- TIME = Current time of day ("00h00m00.000s")
-- DATE = Current date ("1.1.2000")
-- PRESET = ??? ("NONE")
-- USER = Currently logged in user (ie: "administrator")
-- HOSTNAME = Current hostname (ie: "MY-COMPUTER")
-- USERPROFILE = Current user profile (ie: "Default")
-- USERRIGHTS = Current user rights level (ie: "Admin")
-- ATTRIBUTE = ??? ("NONE")
-- OS = OS you are running (ie: "WINDOWS")
-- HOSTSTATUS = MA-NET Session status (ie: "Standalone")
-- HOSTIP = MA-NET IP address (ie: "192.168.0.1")
-- PATH = Run path of the GrandMA software
-- PLUGINPATH = Run path of LUA plugins
-- VERSION = grandMA2 software version (ie: "3.1.2.5")
-- SELECTEDEXEC = Selected Executer (ie: "1.1.1", "?.Page.Executer")
-- FEATURE = ??? (ie: "NONE")
-- FADERPAGE = Current fader page (ie: "1")
-- BUTTONPAGE = Current button page (ie: "1")
-- CHANNELPAGE = Current channel page (ie: "1")
-- SELECTEDEXECCUE = ??? (ie: "NONE")
-- SELECTEDFIXTURESCOUNT = Number of fixtures selected (ie: "16")
--
--@tparam string varname varname to return
--@treturn mixed Value of var
function gma.show.getvar(varname)
end
---Sets a GMA2 variable.
--
--@tparam string varname varname to set
--@tparam mixed value value to set to
function gma.show.setvar(varname,value)
end