diff --git a/.vscode/settings.json b/.vscode/settings.json
index 7c3f5bf..b819f05 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -5,6 +5,12 @@
"driver": "SQLite",
"name": "mocha-suv-manager",
"database": "/home/beckermj/.config/mocha-suv-manager.sqlite3"
+ },
+ {
+ "previewLimit": 50,
+ "driver": "SQLite",
+ "name": "test_mql",
+ "database": "${workspaceFolder:mocha}/python/test.mql"
}
]
}
\ No newline at end of file
diff --git a/apache2/conf/suv.conf b/apache2/conf/suv.conf
new file mode 100644
index 0000000..dad1ee6
--- /dev/null
+++ b/apache2/conf/suv.conf
@@ -0,0 +1,551 @@
+#
+# This is the main Apache HTTP server configuration file. It contains the
+# configuration directives that give the server its instructions.
+# See for detailed information.
+# In particular, see
+#
+# for a discussion of each configuration directive.
+#
+# Do NOT simply read the instructions in here without understanding
+# what they do. They're here only as hints or reminders. If you are unsure
+# consult the online docs. You have been warned.
+#
+# Configuration and logfile names: If the filenames you specify for many
+# of the server's control files begin with "/" (or "drive:/" for Win32), the
+# server will use that explicit path. If the filenames do *not* begin
+# with "/", the value of ServerRoot is prepended -- so "logs/access_log"
+# with ServerRoot set to "/usr/local/apache2" will be interpreted by the
+# server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"
+# will be interpreted as '/logs/access_log'.
+
+#
+# ServerRoot: The top of the directory tree under which the server's
+# configuration, error, and log files are kept.
+#
+# Do not add a slash at the end of the directory path. If you point
+# ServerRoot at a non-local disk, be sure to specify a local disk on the
+# Mutex directive, if file-based mutexes are used. If you wish to share the
+# same ServerRoot for multiple httpd daemons, you will need to change at
+# least PidFile.
+#
+ServerRoot "/usr/local/apache2"
+
+#
+# Mutex: Allows you to set the mutex mechanism and mutex file directory
+# for individual mutexes, or change the global defaults
+#
+# Uncomment and change the directory if mutexes are file-based and the default
+# mutex file directory is not on a local disk or is not appropriate for some
+# other reason.
+#
+# Mutex default:logs
+
+#
+# Listen: Allows you to bind Apache to specific IP addresses and/or
+# ports, instead of the default. See also the
+# directive.
+#
+# Change this to Listen on specific IP addresses as shown below to
+# prevent Apache from glomming onto all bound IP addresses.
+#
+#Listen 12.34.56.78:80
+Listen 80
+
+#
+# Dynamic Shared Object (DSO) Support
+#
+# To be able to use the functionality of a module which was built as a DSO you
+# have to place corresponding `LoadModule' lines at this location so the
+# directives contained in it are actually available _before_ they are used.
+# Statically compiled modules (those listed by `httpd -l') do not need
+# to be loaded here.
+#
+# Example:
+# LoadModule foo_module modules/mod_foo.so
+#
+LoadModule mpm_event_module modules/mod_mpm_event.so
+#LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
+#LoadModule mpm_worker_module modules/mod_mpm_worker.so
+LoadModule authn_file_module modules/mod_authn_file.so
+#LoadModule authn_dbm_module modules/mod_authn_dbm.so
+#LoadModule authn_anon_module modules/mod_authn_anon.so
+#LoadModule authn_dbd_module modules/mod_authn_dbd.so
+#LoadModule authn_socache_module modules/mod_authn_socache.so
+LoadModule authn_core_module modules/mod_authn_core.so
+LoadModule authz_host_module modules/mod_authz_host.so
+LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
+LoadModule authz_user_module modules/mod_authz_user.so
+#LoadModule authz_dbm_module modules/mod_authz_dbm.so
+#LoadModule authz_owner_module modules/mod_authz_owner.so
+#LoadModule authz_dbd_module modules/mod_authz_dbd.so
+LoadModule authz_core_module modules/mod_authz_core.so
+#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
+#LoadModule authnz_fcgi_module modules/mod_authnz_fcgi.so
+LoadModule access_compat_module modules/mod_access_compat.so
+LoadModule auth_basic_module modules/mod_auth_basic.so
+#LoadModule auth_form_module modules/mod_auth_form.so
+#LoadModule auth_digest_module modules/mod_auth_digest.so
+#LoadModule allowmethods_module modules/mod_allowmethods.so
+#LoadModule isapi_module modules/mod_isapi.so
+#LoadModule file_cache_module modules/mod_file_cache.so
+#LoadModule cache_module modules/mod_cache.so
+#LoadModule cache_disk_module modules/mod_cache_disk.so
+#LoadModule cache_socache_module modules/mod_cache_socache.so
+#LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
+#LoadModule socache_dbm_module modules/mod_socache_dbm.so
+#LoadModule socache_memcache_module modules/mod_socache_memcache.so
+#LoadModule socache_redis_module modules/mod_socache_redis.so
+#LoadModule watchdog_module modules/mod_watchdog.so
+#LoadModule macro_module modules/mod_macro.so
+#LoadModule dbd_module modules/mod_dbd.so
+#LoadModule bucketeer_module modules/mod_bucketeer.so
+#LoadModule dumpio_module modules/mod_dumpio.so
+#LoadModule echo_module modules/mod_echo.so
+#LoadModule example_hooks_module modules/mod_example_hooks.so
+#LoadModule case_filter_module modules/mod_case_filter.so
+#LoadModule case_filter_in_module modules/mod_case_filter_in.so
+#LoadModule example_ipc_module modules/mod_example_ipc.so
+#LoadModule buffer_module modules/mod_buffer.so
+#LoadModule data_module modules/mod_data.so
+#LoadModule ratelimit_module modules/mod_ratelimit.so
+LoadModule reqtimeout_module modules/mod_reqtimeout.so
+#LoadModule ext_filter_module modules/mod_ext_filter.so
+#LoadModule request_module modules/mod_request.so
+#LoadModule include_module modules/mod_include.so
+LoadModule filter_module modules/mod_filter.so
+#LoadModule reflector_module modules/mod_reflector.so
+#LoadModule substitute_module modules/mod_substitute.so
+#LoadModule sed_module modules/mod_sed.so
+#LoadModule charset_lite_module modules/mod_charset_lite.so
+#LoadModule deflate_module modules/mod_deflate.so
+#LoadModule xml2enc_module modules/mod_xml2enc.so
+#LoadModule proxy_html_module modules/mod_proxy_html.so
+#LoadModule brotli_module modules/mod_brotli.so
+LoadModule mime_module modules/mod_mime.so
+#LoadModule ldap_module modules/mod_ldap.so
+LoadModule log_config_module modules/mod_log_config.so
+#LoadModule log_debug_module modules/mod_log_debug.so
+#LoadModule log_forensic_module modules/mod_log_forensic.so
+#LoadModule logio_module modules/mod_logio.so
+#LoadModule lua_module modules/mod_lua.so
+LoadModule env_module modules/mod_env.so
+#LoadModule mime_magic_module modules/mod_mime_magic.so
+#LoadModule cern_meta_module modules/mod_cern_meta.so
+#LoadModule expires_module modules/mod_expires.so
+LoadModule headers_module modules/mod_headers.so
+#LoadModule ident_module modules/mod_ident.so
+#LoadModule usertrack_module modules/mod_usertrack.so
+#LoadModule unique_id_module modules/mod_unique_id.so
+LoadModule setenvif_module modules/mod_setenvif.so
+LoadModule version_module modules/mod_version.so
+#LoadModule remoteip_module modules/mod_remoteip.so
+#LoadModule proxy_module modules/mod_proxy.so
+#LoadModule proxy_connect_module modules/mod_proxy_connect.so
+#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
+#LoadModule proxy_http_module modules/mod_proxy_http.so
+#LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
+#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so
+#LoadModule proxy_uwsgi_module modules/mod_proxy_uwsgi.so
+#LoadModule proxy_fdpass_module modules/mod_proxy_fdpass.so
+#LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so
+#LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
+#LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
+#LoadModule proxy_express_module modules/mod_proxy_express.so
+#LoadModule proxy_hcheck_module modules/mod_proxy_hcheck.so
+#LoadModule session_module modules/mod_session.so
+#LoadModule session_cookie_module modules/mod_session_cookie.so
+#LoadModule session_crypto_module modules/mod_session_crypto.so
+#LoadModule session_dbd_module modules/mod_session_dbd.so
+#LoadModule slotmem_shm_module modules/mod_slotmem_shm.so
+#LoadModule slotmem_plain_module modules/mod_slotmem_plain.so
+#LoadModule ssl_module modules/mod_ssl.so
+#LoadModule optional_hook_export_module modules/mod_optional_hook_export.so
+#LoadModule optional_hook_import_module modules/mod_optional_hook_import.so
+#LoadModule optional_fn_import_module modules/mod_optional_fn_import.so
+#LoadModule optional_fn_export_module modules/mod_optional_fn_export.so
+#LoadModule dialup_module modules/mod_dialup.so
+#LoadModule http2_module modules/mod_http2.so
+#LoadModule proxy_http2_module modules/mod_proxy_http2.so
+#LoadModule md_module modules/mod_md.so
+#LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
+#LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so
+#LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so
+#LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so
+LoadModule unixd_module modules/mod_unixd.so
+#LoadModule heartbeat_module modules/mod_heartbeat.so
+#LoadModule heartmonitor_module modules/mod_heartmonitor.so
+#LoadModule dav_module modules/mod_dav.so
+LoadModule status_module modules/mod_status.so
+LoadModule autoindex_module modules/mod_autoindex.so
+#LoadModule asis_module modules/mod_asis.so
+#LoadModule info_module modules/mod_info.so
+#LoadModule suexec_module modules/mod_suexec.so
+
+ #LoadModule cgid_module modules/mod_cgid.so
+
+
+ #LoadModule cgi_module modules/mod_cgi.so
+
+#LoadModule dav_fs_module modules/mod_dav_fs.so
+#LoadModule dav_lock_module modules/mod_dav_lock.so
+#LoadModule vhost_alias_module modules/mod_vhost_alias.so
+#LoadModule negotiation_module modules/mod_negotiation.so
+LoadModule dir_module modules/mod_dir.so
+#LoadModule imagemap_module modules/mod_imagemap.so
+#LoadModule actions_module modules/mod_actions.so
+#LoadModule speling_module modules/mod_speling.so
+#LoadModule userdir_module modules/mod_userdir.so
+LoadModule alias_module modules/mod_alias.so
+LoadModule rewrite_module modules/mod_rewrite.so
+
+
+#
+# If you wish httpd to run as a different user or group, you must run
+# httpd as root initially and it will switch.
+#
+# User/Group: The name (or #number) of the user/group to run httpd as.
+# It is usually good practice to create a dedicated user and group for
+# running httpd, as with most system services.
+#
+User www-data
+Group www-data
+
+
+
+# 'Main' server configuration
+#
+# The directives in this section set up the values used by the 'main'
+# server, which responds to any requests that aren't handled by a
+# definition. These values also provide defaults for
+# any containers you may define later in the file.
+#
+# All of these directives may appear inside containers,
+# in which case these default settings will be overridden for the
+# virtual host being defined.
+#
+
+#
+# ServerAdmin: Your address, where problems with the server should be
+# e-mailed. This address appears on some server-generated pages, such
+# as error documents. e.g. admin@your-domain.com
+#
+ServerAdmin you@example.com
+
+#
+# ServerName gives the name and port that the server uses to identify itself.
+# This can often be determined automatically, but we recommend you specify
+# it explicitly to prevent problems during startup.
+#
+# If your host doesn't have a registered DNS name, enter its IP address here.
+#
+#ServerName www.example.com:80
+
+#
+# Deny access to the entirety of your server's filesystem. You must
+# explicitly permit access to web content directories in other
+# blocks below.
+#
+
+ AllowOverride none
+ Require all denied
+
+
+#
+# Note that from this point forward you must specifically allow
+# particular features to be enabled - so if something's not working as
+# you might expect, make sure that you have specifically enabled it
+# below.
+#
+
+#
+# DocumentRoot: The directory out of which you will serve your
+# documents. By default, all requests are taken from this directory, but
+# symbolic links and aliases may be used to point to other locations.
+#
+DocumentRoot "/usr/local/apache2/htdocs"
+
+ #
+ # Possible values for the Options directive are "None", "All",
+ # or any combination of:
+ # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
+ #
+ # Note that "MultiViews" must be named *explicitly* --- "Options All"
+ # doesn't give it to you.
+ #
+ # The Options directive is both complicated and important. Please see
+ # http://httpd.apache.org/docs/2.4/mod/core.html#options
+ # for more information.
+ #
+ Options Indexes FollowSymLinks
+
+ #
+ # AllowOverride controls what directives may be placed in .htaccess files.
+ # It can be "All", "None", or any combination of the keywords:
+ # AllowOverride FileInfo AuthConfig Limit
+ #
+ AllowOverride All
+
+ #
+ # Controls who can get stuff from this server.
+ #
+ Require all granted
+
+
+#
+# DirectoryIndex: sets the file that Apache will serve if a directory
+# is requested.
+#
+
+ DirectoryIndex index.php
+
+
+#
+# The following lines prevent .htaccess and .htpasswd files from being
+# viewed by Web clients.
+#
+
+ Require all denied
+
+
+#
+# ErrorLog: The location of the error log file.
+# If you do not specify an ErrorLog directive within a
+# container, error messages relating to that virtual host will be
+# logged here. If you *do* define an error logfile for a
+# container, that host's errors will be logged there and not here.
+#
+ErrorLog /proc/self/fd/2
+
+#
+# LogLevel: Control the number of messages logged to the error_log.
+# Possible values include: debug, info, notice, warn, error, crit,
+# alert, emerg.
+#
+LogLevel warn
+
+
+ #
+ # The following directives define some format nicknames for use with
+ # a CustomLog directive (see below).
+ #
+ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
+ LogFormat "%h %l %u %t \"%r\" %>s %b" common
+
+
+ # You need to enable mod_logio.c to use %I and %O
+ LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
+
+
+ #
+ # The location and format of the access logfile (Common Logfile Format).
+ # If you do not define any access logfiles within a
+ # container, they will be logged here. Contrariwise, if you *do*
+ # define per- access logfiles, transactions will be
+ # logged therein and *not* in this file.
+ #
+ CustomLog /proc/self/fd/1 common
+
+ #
+ # If you prefer a logfile with access, agent, and referer information
+ # (Combined Logfile Format) you can use the following directive.
+ #
+ #CustomLog "logs/access_log" combined
+
+
+
+ #
+ # Redirect: Allows you to tell clients about documents that used to
+ # exist in your server's namespace, but do not anymore. The client
+ # will make a new request for the document at its new location.
+ # Example:
+ # Redirect permanent /foo http://www.example.com/bar
+
+ #
+ # Alias: Maps web paths into filesystem paths and is used to
+ # access content that does not live under the DocumentRoot.
+ # Example:
+ # Alias /webpath /full/filesystem/path
+ #
+ # If you include a trailing / on /webpath then the server will
+ # require it to be present in the URL. You will also likely
+ # need to provide a section to allow access to
+ # the filesystem path.
+
+ #
+ # ScriptAlias: This controls which directories contain server scripts.
+ # ScriptAliases are essentially the same as Aliases, except that
+ # documents in the target directory are treated as applications and
+ # run by the server when requested rather than as documents sent to the
+ # client. The same rules about trailing "/" apply to ScriptAlias
+ # directives as to Alias.
+ #
+ ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"
+
+
+
+
+ #
+ # ScriptSock: On threaded servers, designate the path to the UNIX
+ # socket used to communicate with the CGI daemon of mod_cgid.
+ #
+ #Scriptsock cgisock
+
+
+#
+# "/usr/local/apache2/cgi-bin" should be changed to whatever your ScriptAliased
+# CGI directory exists, if you have that configured.
+#
+
+ AllowOverride None
+ Options None
+ Require all granted
+
+
+
+ #
+ # Avoid passing HTTP_PROXY environment to CGI's on this or any proxied
+ # backend servers which have lingering "httpoxy" defects.
+ # 'Proxy' request header is undefined by the IETF, not listed by IANA
+ #
+ RequestHeader unset Proxy early
+
+
+
+ #
+ # TypesConfig points to the file containing the list of mappings from
+ # filename extension to MIME-type.
+ #
+ TypesConfig conf/mime.types
+
+ #
+ # AddType allows you to add to or override the MIME configuration
+ # file specified in TypesConfig for specific file types.
+ #
+ #AddType application/x-gzip .tgz
+ #
+ # AddEncoding allows you to have certain browsers uncompress
+ # information on the fly. Note: Not all browsers support this.
+ #
+ #AddEncoding x-compress .Z
+ #AddEncoding x-gzip .gz .tgz
+ #
+ # If the AddEncoding directives above are commented-out, then you
+ # probably should define those extensions to indicate media types:
+ #
+ AddType application/x-compress .Z
+ AddType application/x-gzip .gz .tgz
+
+ #
+ # AddHandler allows you to map certain file extensions to "handlers":
+ # actions unrelated to filetype. These can be either built into the server
+ # or added with the Action directive (see below)
+ #
+ # To use CGI scripts outside of ScriptAliased directories:
+ # (You will also need to add "ExecCGI" to the "Options" directive.)
+ #
+ #AddHandler cgi-script .cgi
+
+ # For type maps (negotiated resources):
+ #AddHandler type-map var
+
+ #
+ # Filters allow you to process content before it is sent to the client.
+ #
+ # To parse .shtml files for server-side includes (SSI):
+ # (You will also need to add "Includes" to the "Options" directive.)
+ #
+ #AddType text/html .shtml
+ #AddOutputFilter INCLUDES .shtml
+
+
+#
+# The mod_mime_magic module allows the server to use various hints from the
+# contents of the file itself to determine its type. The MIMEMagicFile
+# directive tells the module where the hint definitions are located.
+#
+#MIMEMagicFile conf/magic
+
+#
+# Customizable error responses come in three flavors:
+# 1) plain text 2) local redirects 3) external redirects
+#
+# Some examples:
+#ErrorDocument 500 "The server made a boo boo."
+#ErrorDocument 404 /missing.html
+#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
+#ErrorDocument 402 http://www.example.com/subscription_info.html
+#
+
+#
+# MaxRanges: Maximum number of Ranges in a request before
+# returning the entire resource, or one of the special
+# values 'default', 'none' or 'unlimited'.
+# Default setting is to accept 200 Ranges.
+#MaxRanges unlimited
+
+#
+# EnableMMAP and EnableSendfile: On systems that support it,
+# memory-mapping or the sendfile syscall may be used to deliver
+# files. This usually improves server performance, but must
+# be turned off when serving from networked-mounted
+# filesystems or if support for these functions is otherwise
+# broken on your system.
+# Defaults: EnableMMAP On, EnableSendfile Off
+#
+#EnableMMAP off
+#EnableSendfile on
+
+# Supplemental configuration
+#
+# The configuration files in the conf/extra/ directory can be
+# included to add extra features or to modify the default configuration of
+# the server, or you may simply copy their contents here and change as
+# necessary.
+
+# Server-pool management (MPM specific)
+#Include conf/extra/httpd-mpm.conf
+
+# Multi-language error messages
+#Include conf/extra/httpd-multilang-errordoc.conf
+
+# Fancy directory listings
+#Include conf/extra/httpd-autoindex.conf
+
+# Language settings
+#Include conf/extra/httpd-languages.conf
+
+# User home directories
+#Include conf/extra/httpd-userdir.conf
+
+# Real-time info on requests and configuration
+#Include conf/extra/httpd-info.conf
+
+# Virtual hosts
+#Include conf/extra/httpd-vhosts.conf
+
+# Local access to the Apache HTTP Server Manual
+#Include conf/extra/httpd-manual.conf
+
+# Distributed authoring and versioning (WebDAV)
+#Include conf/extra/httpd-dav.conf
+
+# Various default settings
+#Include conf/extra/httpd-default.conf
+
+# Configure mod_proxy_html to understand HTML4/XHTML1
+
+Include conf/extra/proxy-html.conf
+
+
+# Secure (SSL/TLS) connections
+#Include conf/extra/httpd-ssl.conf
+#
+# Note: The following must must be present to support
+# starting without SSL on platforms with no /dev/random equivalent
+# but a statically compiled-in mod_ssl.
+#
+
+SSLRandomSeed startup builtin
+SSLRandomSeed connect builtin
+
+
diff --git a/common/libraries/yaml/com.mochapowered.StarlightCare/001-Classes/31001-Nurse.yaml b/common/libraries/yaml/com.mochapowered.StarlightCare/001-Classes/31001-Nurse.yaml
new file mode 100644
index 0000000..a942a82
--- /dev/null
+++ b/common/libraries/yaml/com.mochapowered.StarlightCare/001-Classes/31001-Nurse.yaml
@@ -0,0 +1,8 @@
+- entityDefinitions:
+ - IDC_Nurse: '{1d77f316-22f0-437d-827b-a975066f6b2f}'
+
+- library: '&IDL_StarlightCare;'
+ instances:
+ - class: '&IDC_Nurse;'
+ name: 'Nurse'
+ index: 31001
\ No newline at end of file
diff --git a/common/libraries/yaml/com.mochapowered.StarlightCare/001-Classes/31002-Patient.yaml b/common/libraries/yaml/com.mochapowered.StarlightCare/001-Classes/31002-Patient.yaml
new file mode 100644
index 0000000..239a409
--- /dev/null
+++ b/common/libraries/yaml/com.mochapowered.StarlightCare/001-Classes/31002-Patient.yaml
@@ -0,0 +1,8 @@
+- entityDefinitions:
+ - IDC_Patient: '{1bd2ce7c-3e22-47da-9b64-921ffc0ed244}'
+
+- library: '&IDL_StarlightCare;'
+ instances:
+ - class: '&IDC_Patient;'
+ name: 'Patient'
+ index: 31002
\ No newline at end of file
diff --git a/common/libraries/yaml/com.mochapowered.StarlightCare/001-Classes/31003-Hospital.yaml b/common/libraries/yaml/com.mochapowered.StarlightCare/001-Classes/31003-Hospital.yaml
new file mode 100644
index 0000000..8e10250
--- /dev/null
+++ b/common/libraries/yaml/com.mochapowered.StarlightCare/001-Classes/31003-Hospital.yaml
@@ -0,0 +1,8 @@
+- entityDefinitions:
+ - IDC_Hospital: '{54389173-4ef9-45fb-a10b-15d06b0ac696}'
+
+- library: '&IDL_StarlightCare;'
+ instances:
+ - class: '&IDC_Hospital;'
+ name: 'Hospital'
+ index: 31003
\ No newline at end of file
diff --git a/common/libraries/yaml/com.mochapowered.StarlightCare/005-UserInterface/Tasks/AssignPatients.yaml b/common/libraries/yaml/com.mochapowered.StarlightCare/005-UserInterface/Tasks/AssignPatients.yaml
new file mode 100644
index 0000000..f32d805
--- /dev/null
+++ b/common/libraries/yaml/com.mochapowered.StarlightCare/005-UserInterface/Tasks/AssignPatients.yaml
@@ -0,0 +1,42 @@
+- entityDefinitions:
+ - IDI_Task_AssignPatients: '{5366c083-c7b6-436c-be60-e405ee4ac917}'
+
+ - IDM_AssignPatients_Start: '{19bf0b17-0e99-4226-80db-c40e76c7a60c}'
+
+ - IDM_AssignPatients: '{4c568764-5590-4af5-b635-e55b2f8d1887}'
+ - IDMB_AssignPatients: '{959ebea2-504e-4e29-8a43-bc7a46b16101}'
+
+ - IDE_AssignPatients_Start: '{235f36df-d5cb-4d73-88e2-c3849696881e}'
+ - IDE_AssignPatients: '{3fe3fb60-20d1-452e-b345-1b6d04e19c3a}'
+
+- library: '&IDL_StarlightCare;'
+ instances:
+
+ - controlTransactionMethod: '&IDM_AssignPatients_Start;'
+ forClassId: '&IDC_Nurse;'
+ verb: ''
+ name: 'assign patients'
+ buildsResponseWithBRMB:
+ - globalIdentifier: '&IDMB_AssignPatients;'
+ executesMethod:
+ - type: 'buildUIResponseMethod'
+ globalIdentifier: '&IDM_AssignPatients;'
+ usesExecutableReturningElement: '&IDE_AssignPatients;'
+
+ - element: '&IDE_AssignPatients_Start;'
+ name: 'assign patients start'
+ processedByCTMethod: '&IDM_AssignPatients_Start;'
+ elementContents:
+ - globalIdentifier: '{c4b50ab2-5025-49ce-9308-1e66416300a8}'
+ defaultDataType: '&IDE_Patient_Select;'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_Singular;'
+ - instance: '&IDI_DisplayOption_ShowSubelementsVertically;'
+
+ - element: '&IDE_AssignPatients;'
+ name: 'assign patients'
+
+ - sequenceTask: '&IDI_Task_AssignPatients;'
+ name: 'Assign Patients'
+ initiatingElement: '&IDE_AssignPatients_Start;'
+ taskCategory: '&IDI_TaskCategory_Nurse;'
diff --git a/common/libraries/yaml/com.mochapowered.StarlightCare/005-UserInterface/Tasks/PatientSelect.yaml b/common/libraries/yaml/com.mochapowered.StarlightCare/005-UserInterface/Tasks/PatientSelect.yaml
new file mode 100644
index 0000000..d9de129
--- /dev/null
+++ b/common/libraries/yaml/com.mochapowered.StarlightCare/005-UserInterface/Tasks/PatientSelect.yaml
@@ -0,0 +1,10 @@
+- entityDefinitions:
+ - IDE_Patient_Select: '{6eee89c4-18d0-4422-833c-7bbfddeab40d}'
+
+- library: '&IDL_StarlightCare;'
+ instances:
+ - element: '&IDE_Patient_Select;'
+ name: 'patient select subedit'
+ elementContents:
+ - globalIdentifier: '{28e16937-6c7c-4808-928b-b0216be23e78}'
+ defaultDataType: '&IDC_Patient;'
diff --git a/common/libraries/yaml/com.mochapowered.VehiclesForHire/999-Tenants/ryderentals-prod/users/btrevino.yaml b/common/libraries/yaml/com.mochapowered.VehiclesForHire/999-Tenants/ryderentals-prod/users/btrevino.yaml
index 4839ed3..6b42565 100644
--- a/common/libraries/yaml/com.mochapowered.VehiclesForHire/999-Tenants/ryderentals-prod/users/btrevino.yaml
+++ b/common/libraries/yaml/com.mochapowered.VehiclesForHire/999-Tenants/ryderentals-prod/users/btrevino.yaml
@@ -19,6 +19,3 @@
familyName: 'Trevino'
images:
- instance: '{1079b0d3-0a1d-47d3-a98c-3f062dc88f90}'
-
-
-# {b8136d2a-8238-443b-8d9e-4f47c8a47c4b}
\ No newline at end of file
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/Class/ViewClass.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/Class/ViewClass.yaml
index 933af41..27c637e 100644
--- a/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/Class/ViewClass.yaml
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/005-UserInterface/Tasks/Class/ViewClass.yaml
@@ -2,6 +2,10 @@
- IDE_ClassStart: '{8730d21a-44a8-4d93-9bf7-f8191ca08489}'
- IDE_ClassSelect: '{bc393547-3a92-48b2-b0dc-7e93306ab5fb}'
- IDE_ViewClassButtons: '{a3fd6203-8e9c-4b7f-b731-e73f9f77967e}'
+
+ - IDE_Class_Tabs: '{4926d78c-4397-4a33-8462-740635c937f3}'
+ - IDE_Class_Tabs_Structure: '{6550e278-eeeb-4efc-94c4-999a7dc41ca0}'
+ # {1b261a51-f185-49f9-9733-96184c8539a1}
- library: '&IDL_MochaBaseSystem;'
instances:
@@ -133,6 +137,28 @@
- element: '&IDE_ViewClass;'
name: 'view class'
elementContents:
+ - globalIdentifier: '{36dcc0a3-9254-453f-b87d-1a9c57468826}'
+ defaultDataType: '&IDE_Class_Tabs;'
+ layout:
+ - type: '&IDC_GroupLayout;'
+ globalIdentifier: '{7cebd1b5-3fed-47b9-adb6-653d169a4177}'
+ options:
+ - instance: '&IDI_GroupLayoutOption_Tabbed;'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_Singular;'
+
+ - element: '&IDE_Class_Tabs;'
+ name: 'class tabs'
+ elementContents:
+ - globalIdentifier: '{00b1ac1e-f10e-4498-8a9f-b4cb0eabd7c0}'
+ defaultDataType: '&IDE_Class_Tabs_Structure;'
+ label: 'Structure'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_Singular;' # !FIXME: nonsingular does not work for some reason
+
+ - element: '&IDE_Class_Tabs_Structure;'
+ name: 'class structure'
+ elementContents:
- globalIdentifier: '{156e622f-da03-42f9-8d45-a85b9336501a}'
defaultDataType: '&IDE_ViewClassButtons;'
displayOptions:
@@ -148,16 +174,25 @@
- element: '&IDE_EditClass;'
name: 'edit class'
elementContents:
- - globalIdentifier: '{c24c0ac5-4d79-4cad-9cb7-9917722d12d0}'
- defaultDataType: '&IDC_Class;'
+ - globalIdentifier: '{f09f6918-3ad0-4160-af63-afffd6876706}'
+ defaultDataType: '&IDE_Class_Tabs;'
+ layout:
+ - type: '&IDC_GroupLayout;'
+ globalIdentifier: '{ed47ac5b-4101-45bd-91f4-28294c51b63d}'
+ options:
+ - instance: '&IDI_GroupLayoutOption_Tabbed;'
displayOptions:
- - instance: '&IDI_DisplayOption_DisplayAsPageTitle;'
- - instance: '&IDI_DisplayOption_Required;'
- - globalIdentifier: '{e9a6b12d-49a9-4224-bc1c-18cca8617fc2}'
- defaultDataType: '&IDE_Class_Structure;'
- displayOptions:
- - instance: '&IDI_DisplayOption_ShowSubelementsVertically;'
- instance: '&IDI_DisplayOption_Singular;'
+ # - globalIdentifier: '{c24c0ac5-4d79-4cad-9cb7-9917722d12d0}'
+ # defaultDataType: '&IDC_Class;'
+ # displayOptions:
+ # - instance: '&IDI_DisplayOption_DisplayAsPageTitle;'
+ # - instance: '&IDI_DisplayOption_Required;'
+ # - globalIdentifier: '{e9a6b12d-49a9-4224-bc1c-18cca8617fc2}'
+ # defaultDataType: '&IDE_Class_Structure;'
+ # displayOptions:
+ # - instance: '&IDI_DisplayOption_ShowSubelementsVertically;'
+ # - instance: '&IDI_DisplayOption_Singular;'
- element: '&IDE_Class_Structure;'
name: 'class structure subedits'
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/990-AdditionalUIClasses/BinarySwitchLayout.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/990-AdditionalUIClasses/BinarySwitchLayout.yaml
new file mode 100644
index 0000000..81a1aad
--- /dev/null
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/990-AdditionalUIClasses/BinarySwitchLayout.yaml
@@ -0,0 +1,13 @@
+---
+- entityDefinitions:
+ - IDC_BinarySwitchLayout: '{248d781d-3d2f-4377-acc4-38112cf2f9d1}'
+
+- library: '&IDL_MochaBaseSystem;'
+ instances:
+ - class: '&IDC_BinarySwitchLayout;'
+ name: 'Binary Switch Layout'
+ customTagName: 'binarySwitchLayout'
+ superclasses:
+ - instance: '&IDC_Layout;'
+
+
\ No newline at end of file
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/990-AdditionalUIClasses/RotarySwitchLayout.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/990-AdditionalUIClasses/RotarySwitchLayout.yaml
new file mode 100644
index 0000000..0dd0bae
--- /dev/null
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/990-AdditionalUIClasses/RotarySwitchLayout.yaml
@@ -0,0 +1,47 @@
+---
+- entityDefinitions:
+ - IDA_ThemeName: '{8cfc012c-52fd-4a66-8b2f-1b9b5e4af474}'
+ - IDC_RotarySwitchLayout: '{ea52446a-6332-49f7-baa9-4c78bea4faab}'
+ - IDC_RotarySwitchLayoutOption: '{cdd9a157-3896-471a-91e2-c69c9e1ea9a9}'
+
+ - IDR_Rotary_Switch_Layout__has__Rotary_Switch_Layout_Option: '{ae716c95-1e26-48f4-9013-001d1a1854aa}'
+ - IDR_Rotary_Switch_Layout_Option__for__Rotary_Switch_Layout: '{fed5fe08-db78-4c29-860a-a5be1a15caa0}'
+
+- library: '&IDL_MochaBaseSystem;'
+ instances:
+ - textAttribute: '&IDA_ThemeName;'
+ name: 'Theme Name'
+
+ - class: '&IDC_RotarySwitchLayout;'
+ name: 'Rotary Switch Layout'
+ customTagName: 'rotarySwitchLayout'
+ superclasses:
+ - instance: '&IDC_Layout;'
+ attributes:
+ - instance: '&IDA_ThemeName;'
+ customTagName: 'theme'
+ relationships:
+ - instance: '&IDR_Rotary_Switch_Layout__has__Rotary_Switch_Layout_Option;'
+ customTagName: 'options'
+ customTagNameCreatesInstanceOf: '&IDC_RotarySwitchLayoutOption;'
+
+ - class: '&IDC_RotarySwitchLayoutOption;'
+ name: 'Rotary Switch Layout Option'
+ registerForTemplate: yes
+ attributes:
+ - instance: '&IDA_Value;'
+ customTagName: 'value'
+
+ - relationship: '&IDR_Rotary_Switch_Layout__has__Rotary_Switch_Layout_Option;'
+ sourceClassId: '&IDC_RotarySwitchLayout;'
+ type: 'has'
+ destinationClassId: '&IDC_RotarySwitchLayoutOption;'
+ siblingRelationshipId: '&IDR_Rotary_Switch_Layout_Option__for__Rotary_Switch_Layout;'
+ singular: no
+
+ - relationship: '&IDR_Rotary_Switch_Layout_Option__for__Rotary_Switch_Layout;'
+ sourceClassId: '&IDC_RotarySwitchLayoutOption;'
+ type: 'for'
+ destinationClassId: '&IDC_RotarySwitchLayout;'
+ siblingRelationshipId: '&IDR_Rotary_Switch_Layout__has__Rotary_Switch_Layout_Option;'
+ singular: no
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/000-Classes/Device/Device.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/000-Classes/Device/Device.yaml
new file mode 100644
index 0000000..048bd46
--- /dev/null
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/000-Classes/Device/Device.yaml
@@ -0,0 +1,90 @@
+---
+- entityDefinitions:
+ - IDC_Device: '{51a0a1f6-cc81-4dbb-8b47-86745b9968f6}'
+
+ - IDR_Device__has__Device_Type: '{84cf3bee-6e82-4a44-b823-df241e3b8edb}'
+ - IDR_Device_Type__for__Device: '{aa947d3e-3952-4cc4-aa87-88e2641b0dc9}'
+ - IDR_Device__has__Protocol: '{6d7e8bc3-0214-4c4e-8cfa-91c33cade601}'
+ - IDR_Protocol__for__Device: '{ee7e3446-88c8-46c3-8e8a-735bcc2d6ab9}'
+ - IDR_Device__has__Room: '{45495325-22f8-407e-ada0-68be24eb924f}'
+ - IDR_Room__for__Device: '{e51006b2-8592-4380-b9a3-7721e0d367d6}'
+
+- library: '&IDL_MochaBaseSystem;'
+ instances:
+ - class: '&IDC_Device;'
+ name: 'Device'
+ index: 21101
+ customTagName: 'device'
+ attributes:
+ - instance: '&IDA_Name;'
+ customTagName: 'name'
+ relationships:
+ - instance: '&IDR_Device__has__Device_Type;'
+ customTagName: 'deviceTypeId'
+ - instance: '&IDR_Device__has__Protocol;'
+ customTagName: 'protocolId'
+ - instance: '&IDR_Device__has__Room;'
+ customTagName: 'roomId'
+ defaultTask: '&IDI_Task_Device_View;'
+ relatedTasks:
+ - instance: '&IDI_Task_Device_View;'
+ - instance: '&IDI_Task_Device_Edit;'
+
+ - relationship: '&IDR_Device__has__Device_Type;'
+ sourceClassId: '&IDC_Device;'
+ type: 'has'
+ destinationClassId: '&IDC_DeviceType;'
+ siblingRelationshipId: '&IDR_Device_Type__for__Device;'
+ singular: yes
+
+ - relationship: '&IDR_Device_Type__for__Device;'
+ sourceClassId: '&IDC_DeviceType;'
+ type: 'for'
+ destinationClassId: '&IDC_Device;'
+ siblingRelationshipId: '&IDR_Device__has__Device_Type;'
+ singular: no
+
+ - relationship: '&IDR_Device__has__Protocol;'
+ sourceClassId: '&IDC_Device;'
+ type: 'has'
+ destinationClassId: '&IDC_Protocol;'
+ siblingRelationshipId: '&IDR_Protocol__for__Device;'
+ singular: yes
+
+ - relationship: '&IDR_Protocol__for__Device;'
+ sourceClassId: '&IDC_Protocol;'
+ type: 'for'
+ destinationClassId: '&IDC_Device;'
+ siblingRelationshipId: '&IDR_Device__has__Protocol;'
+ singular: no
+
+ - relationship: '&IDR_Device__has__Room;'
+ sourceClassId: '&IDC_Device;'
+ type: 'has'
+ destinationClassId: '&IDC_Room;'
+ siblingRelationshipId: '&IDR_Room__for__Device;'
+ singular: yes
+
+ - relationship: '&IDR_Room__for__Device;'
+ sourceClassId: '&IDC_Room;'
+ type: 'for'
+ destinationClassId: '&IDC_Device;'
+ siblingRelationshipId: '&IDR_Device__has__Room;'
+ singular: no
+
+ - device: '{235b454f-de7d-40b8-96bf-9b5fdc0fd4cf}'
+ name: 'lenovo-14IIL'
+ deviceTypeId: '{168850c5-150f-47ea-8671-7c73a7a8cabc}'
+ protocolId: '{c664b941-f6e8-4861-938a-9aa854bd89f3}'
+
+ - device: '{89f75de0-c782-494d-9026-28d85f3e048a}'
+ name: 'Living Room Lights Behind TV'
+ deviceTypeId: '{45a2407a-9422-42cf-b588-2dfdeeb65733}'
+ protocolId: '{4b18ce2d-a5a3-4ccb-99f4-32a2e781fc34}'
+ roomId: '{b8136d2a-8238-443b-8d9e-4f47c8a47c4b}'
+
+ - device: '{47a85ac8-ba23-46ac-b000-c6e7d43a29bf}'
+ name: 'Thermostat'
+ deviceTypeId: '{d6c4d815-5663-488d-b559-4fa12d65614d}'
+ protocolId: '{c664b941-f6e8-4861-938a-9aa854bd89f3}'
+ roomId: '{b8136d2a-8238-443b-8d9e-4f47c8a47c4b}'
\ No newline at end of file
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/000-Classes/DeviceType/DeviceType.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/000-Classes/DeviceType/DeviceType.yaml
new file mode 100644
index 0000000..e338b77
--- /dev/null
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/000-Classes/DeviceType/DeviceType.yaml
@@ -0,0 +1,25 @@
+---
+- entityDefinitions:
+ - IDC_DeviceType: '{62a8d816-2d17-4f8f-a231-511295b9f123}'
+
+- library: '&IDL_MochaBaseSystem;'
+ instances:
+ - class: '&IDC_DeviceType;'
+ name: 'Device Type'
+ index: 21102
+ customTagName: 'deviceType'
+ attributes:
+ - instance: '&IDA_Name;'
+ customTagName: 'name'
+
+ - deviceType: '{168850c5-150f-47ea-8671-7c73a7a8cabc}'
+ name: 'Computer'
+
+ - deviceType: '{45a2407a-9422-42cf-b588-2dfdeeb65733}'
+ name: 'Light'
+
+ - deviceType: '{ccaeb192-7604-4e80-a031-99261ca312ef}'
+ name: 'Switch'
+
+ - deviceType: '{d6c4d815-5663-488d-b559-4fa12d65614d}'
+ name: 'Thermostat'
\ No newline at end of file
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/000-Classes/Protocol/Protocol.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/000-Classes/Protocol/Protocol.yaml
new file mode 100644
index 0000000..dca14cd
--- /dev/null
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/000-Classes/Protocol/Protocol.yaml
@@ -0,0 +1,37 @@
+---
+- entityDefinitions:
+ - IDC_Protocol: '{e691d813-c043-4e72-9f7c-12c550034e27}'
+
+- library: '&IDL_MochaBaseSystem;'
+ instances:
+ - class: '&IDC_Protocol;'
+ name: 'Protocol'
+ index: 21103
+ customTagName: 'protocol'
+ attributes:
+ - instance: '&IDA_Name;'
+ customTagName: 'name'
+
+ - protocol: '{c664b941-f6e8-4861-938a-9aa854bd89f3}'
+ name: 'Quovii-Ethernet'
+
+ - protocol: '{4c5e0b0b-c0ca-410b-bf49-4613642db932}'
+ name: 'X10'
+
+ - protocol: '{4b18ce2d-a5a3-4ccb-99f4-32a2e781fc34}'
+ name: 'Z-Wave'
+
+ - protocol: '{388428fb-e8b2-4c62-8a5c-ee4fba3e5a91}'
+ name: 'DMX'
+
+ - protocol: '{b36bea16-9c26-4579-8292-8942de428a66}'
+ name: 'Art-Net'
+
+ - protocol: '{540e91e3-207a-4848-8618-5ca924f5e86f}'
+ name: 'Zigbee'
+
+ - protocol: '{5d287561-1c95-4c75-a717-5b63c265ca4c}'
+ name: 'Lutron'
+
+ - protocol: '{062f1f6d-e354-4293-8855-f2669ee0bc01}'
+ name: 'Kidde'
\ No newline at end of file
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/000-Classes/Room/Room.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/000-Classes/Room/Room.yaml
new file mode 100644
index 0000000..d1ebcc2
--- /dev/null
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/000-Classes/Room/Room.yaml
@@ -0,0 +1,25 @@
+---
+- entityDefinitions:
+ - IDC_Room: '{16572a37-87b0-4ee4-8503-4aadf229c16e}'
+
+- library: '&IDL_MochaBaseSystem;'
+ instances:
+ - class: '&IDC_Room;'
+ name: 'Room'
+ index: 21104
+ customTagName: 'room'
+ attributes:
+ - instance: '&IDA_Name;'
+ customTagName: 'name'
+ # relationships:
+ # - instance: '&IDR_Device__has__Device_Type;'
+ # customTagName: 'deviceTypeId'
+ # - instance: '&IDR_Device__has__Protocol;'
+ # customTagName: 'protocolId'
+ # defaultTask: '&IDI_Task_Device_View;'
+ # relatedTasks:
+ # - instance: '&IDI_Task_Device_View;'
+ # - instance: '&IDI_Task_Device_Edit;'
+
+ - room: '{b8136d2a-8238-443b-8d9e-4f47c8a47c4b}'
+ name: 'Living Room'
\ No newline at end of file
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/Common.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/Common.yaml
new file mode 100644
index 0000000..a09f0e5
--- /dev/null
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/Common.yaml
@@ -0,0 +1,119 @@
+- entityDefinitions:
+ - IDI_TaskCategory_Device: '{b5866acf-1b2b-4b91-9dd7-42c7a83d3e42}'
+ - IDE_Device_Definition: '{fef7fa56-b830-4612-8cda-4ba246446a6f}'
+ - IDE_Device_Panels: '{2460d307-71d4-49c5-aeb6-929e0a8d11b5}'
+ - IDE_Device_Select: '{d2d65d00-b720-43b3-8148-5bc4b1ace442}'
+
+ - IDA_TestNumericAttribute: '{2b1786b8-2b53-445f-a9a9-7657d566dd27}'
+ - IDA_X10HouseCode: '{f3a1172c-530d-4173-8f50-28f1f2b932c7}'
+ - IDA_X10UnitCode: '{7173b0d2-116e-4749-88ae-f530feb6b1a5}'
+
+- library: '&IDL_MochaBaseSystem;'
+ instances:
+ - taskCategory: '&IDI_TaskCategory_Device;'
+ name: 'Device'
+
+ - element: '&IDE_Device_Select;'
+ name: 'device select subedits'
+ elementContents:
+ - globalIdentifier: '{5e215417-06be-4347-9709-1122ec80bb77}'
+ defaultDataType: '&IDC_Device;'
+
+ - numericAttribute: '&IDA_TestNumericAttribute;'
+ name: 'Test Numeric Attribute'
+ minimumValue: 0
+ maximumValue: 65535
+
+ - binarySwitchLayout: '{5df8edda-59a2-484e-ad3f-0cc4017e8e90}'
+
+ - rotarySwitchLayout: '{22660131-df8f-4b59-990e-9e63bee88541}'
+ theme: 'danger'
+ options:
+ - value: 'A'
+ - value: 'B'
+ - value: 'C'
+ - value: 'D'
+ - value: 'E'
+ - value: 'F'
+ - value: 'G'
+ - value: 'H'
+ - value: 'I'
+ - value: 'J'
+ - value: 'K'
+ - value: 'L'
+ - value: 'M'
+ - value: 'N'
+ - value: 'O'
+ - value: 'P'
+
+ - rotarySwitchLayout: '{a95a9c14-9ba3-47f2-a24a-880546b505a4}'
+ theme: 'primary'
+ options:
+ - value: '1'
+ - value: '2'
+ - value: '3'
+ - value: '4'
+ - value: '5'
+ - value: '6'
+ - value: '7'
+ - value: '8'
+ - value: '9'
+ - value: '10'
+ - value: '11'
+ - value: '12'
+ - value: '13'
+ - value: '14'
+ - value: '15'
+ - value: '16'
+
+ - textAttribute: '&IDA_X10HouseCode;'
+ name: 'House Code'
+
+ - numericAttribute: '&IDA_X10UnitCode;'
+ name: 'Unit Code'
+
+ - element: '&IDE_Device_Definition;'
+ name: 'device subedits'
+ elementContents:
+ - globalIdentifier: '{a0ce4337-f5dd-457f-bcf2-10e87ef7e5d5}'
+ defaultDataType: '&IDA_Name;'
+ - globalIdentifier: '{e2ce9eaf-3c2b-48c5-b108-388c44e14176}'
+ defaultDataType: '&IDR_Device__has__Device_Type;'
+ label: 'Device Type'
+ - globalIdentifier: '{cd0e7e01-30f8-4302-90fc-b409c706993e}'
+ defaultDataType: '&IDR_Device__has__Protocol;'
+ label: 'Protocol'
+ dynamicDisplayOptions:
+ - globalIdentifier: '{2cc3eb4b-cb66-477c-b18f-867829563290}'
+ modifiesElementContents:
+ - instance: '{14c833ca-0e2d-4e6f-8da0-7d78d48b7b1c}' # computer subedits
+ # condition:
+ # - trueConditions:
+ # - globalIdentifier: '&IDMB_Generate_Random_Password__is__True;'
+ removesDisplayOptions:
+ - instance: '&IDI_DisplayOption_DoNotShow;'
+ - globalIdentifier: '{fb336c55-1abe-453e-83ba-87fa8b3bfbee}'
+ defaultDataType: '&IDA_TestNumericAttribute;'
+ label: 'Test Binary Switch'
+ layout: '{5df8edda-59a2-484e-ad3f-0cc4017e8e90}'
+
+ - globalIdentifier: '{fbd4448d-0eeb-44a7-b8f9-9877779af13a}'
+ defaultDataType: '&IDA_X10HouseCode;'
+ layout: '{22660131-df8f-4b59-990e-9e63bee88541}'
+
+ - globalIdentifier: '{aa8c3b58-73a4-482c-b63c-8bb4e5289a41}'
+ defaultDataType: '&IDA_X10UnitCode;'
+ layout: '{a95a9c14-9ba3-47f2-a24a-880546b505a4}'
+
+ - globalIdentifier: '{14c833ca-0e2d-4e6f-8da0-7d78d48b7b1c}'
+ defaultDataType: '&IDE_Device_Computer_Subedits;'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_ShowSubelementsVertically;'
+ - instance: '&IDI_DisplayOption_Singular;'
+ - instance: '&IDI_DisplayOption_DoNotShow;'
+ - globalIdentifier: '{ef961d4e-b423-44b9-87d2-35b5f3984d47}'
+ defaultDataType: '&IDE_Protocol_ZWave_Subedits;'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_ShowSubelementsVertically;'
+ - instance: '&IDI_DisplayOption_Singular;'
+ - instance: '&IDI_DisplayOption_DoNotShow;'
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/Computer/ComputerSubedits.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/Computer/ComputerSubedits.yaml
new file mode 100644
index 0000000..4a5bb33
--- /dev/null
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/Computer/ComputerSubedits.yaml
@@ -0,0 +1,45 @@
+---
+- entityDefinitions:
+ - IDE_Device_Computer_Subedits: '{5182e243-dc69-4c31-aca8-5726fc73145d}'
+ - IDE_Device_Computer_Subedit_Tabs: '{5f7e1efb-33c5-4cd1-a6a9-2a439b878b67}'
+ - IDE_Device_Computer_Subedit_Network: '{c791db99-b487-4335-befc-0afde45e4ed4}'
+
+ - IDA_UseDHCP: '{307a5103-99e0-41b5-aae9-be8e5d9c9995}'
+
+- library: '&IDL_MochaBaseSystem;'
+ instances:
+ - element: '&IDE_Device_Computer_Subedits;'
+ name: 'computer subedits'
+ elementContents:
+ - globalIdentifier: '{1f6ddc69-ad4f-428d-bd0b-062328eb7081}'
+ defaultDataType: '&IDE_Device_Computer_Subedit_Tabs;'
+ layout: '{a8a233f1-42d1-4bba-a20d-047a9cebd175}'
+
+ - booleanAttribute: '&IDA_UseDHCP;'
+ name: 'Use DHCP'
+
+ - groupLayout: '{a8a233f1-42d1-4bba-a20d-047a9cebd175}'
+ options:
+ - instance: '&IDI_GroupLayoutOption_Tabbed;'
+
+ - element: '&IDE_Device_Computer_Subedit_Tabs;'
+ elementContents:
+ - globalIdentifier: '{60e38734-a2be-44ae-888c-d683695e86b1}'
+ defaultDataType: '&IDE_Device_Computer_Subedit_Network;'
+ label: 'Network'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_ShowSubelementsVertically;'
+ - instance: '&IDI_DisplayOption_Singular;'
+
+ - element: '&IDE_Device_Computer_Subedit_Network;'
+ name: 'Network'
+ elementContents:
+ - globalIdentifier: '{b889d09b-2620-4e80-a7aa-52cb25fb959f}'
+ defaultDataType: '&IDA_UseDHCP;'
+ label: 'Use DHCP'
+ - globalIdentifier: '{a6971557-623d-4a63-bb88-b3f8682c409e}'
+ defaultDataType: '&IDA_IPAddress;'
+ label: 'IP Address'
+ - globalIdentifier: '{b895bdea-32f2-4b85-9093-0c1e506e4a6c}'
+ defaultDataType: '&IDA_Name;'
+ label: 'Name'
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/Edit.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/Edit.yaml
new file mode 100644
index 0000000..aa4331f
--- /dev/null
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/Edit.yaml
@@ -0,0 +1,53 @@
+- entityDefinitions:
+ - IDI_Task_Device_Edit: '{92c338b8-828b-41d5-929f-56e454643c58}'
+ - IDE_Device_Edit: '{9223ea8e-aa43-4a90-bdde-cb978088489f}'
+
+ - IDE_Device_Edit_Start: '{a310dacd-b4c1-4f31-a140-05131bbe64e9}'
+ - IDM_Device_Edit_Start: '{63c76968-e26a-4058-927e-771c9190b15b}'
+
+ - IDMB_Device_Edit: '{003ed29c-8826-491e-9a0c-a9f4b5c69928}'
+ - IDM_Device_Edit: '{dd7ab568-15b4-4834-9ed6-4a16449e5867}'
+
+- library: '&IDL_MochaBaseSystem;'
+ instances:
+ - sequenceTask: '&IDI_Task_Device_Edit;'
+ name: 'Edit Device'
+ initiatingElement: '&IDE_Device_Edit_Start;'
+ taskCategory: '&IDI_TaskCategory_Device;'
+
+ - controlTransactionMethod: '&IDM_Device_Edit_Start;'
+ forClassId: '&IDC_Device;'
+ verb: ''
+ name: 'Device Edit Start'
+ buildsResponseWithBRMB: '&IDMB_Device_Edit;'
+
+ - element: '&IDE_Device_Edit_Start;'
+ name: 'Edit Device Start'
+ processedByCTMethod: '&IDM_Device_Edit_Start;'
+ elementContents:
+ - globalIdentifier: '{f4e0a7a8-4ec1-4a12-b2cc-abaa84345772}'
+ defaultDataType: '&IDE_Device_Select;'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_Singular;'
+ - instance: '&IDI_DisplayOption_ShowSubelementsVertically;'
+
+ - element: '&IDE_Device_Edit;'
+ name: 'Edit Device'
+ elementContents:
+ - globalIdentifier: '{b789e221-3c0b-49ea-a2f4-58e0e58b1213}'
+ defaultDataType: '&IDC_Device;'
+ label: 'Device'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_NotEnterable;'
+ - instance: '&IDI_DisplayOption_DoNotShow;'
+ - globalIdentifier: '{a601df82-ee3e-43f5-a9c8-2afbdefec1c3}'
+ defaultDataType: '&IDE_Device_Definition;'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_Singular;'
+ - instance: '&IDI_DisplayOption_ShowSubelementsVertically;'
+
+ - buildUIResponseMethod: '&IDM_Device_Edit;'
+ usesExecutableReturningElement: '&IDE_Device_Edit;'
+
+ - buildResponseMethodBinding: '&IDMB_Device_Edit;'
+ executesMethod: '&IDM_Device_Edit;'
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/Kidde/KiddeSubedits.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/Kidde/KiddeSubedits.yaml
new file mode 100644
index 0000000..5c74199
--- /dev/null
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/Kidde/KiddeSubedits.yaml
@@ -0,0 +1,41 @@
+---
+- entityDefinitions:
+ - IDE_Protocol_Kidde_Subedits: '{4973e9b2-49eb-4efe-8006-3895ebe068f1}'
+ - IDE_Protocol_Kidde_Subedit_Tabs: '{e9e7a000-4b72-40b6-955d-aeeaf82d6c71}'
+ - IDE_Protocol_Kidde_Subedit_Network: '{9730e79d-b07b-4ca6-9498-19de08ed4438}'
+ - IDA_KiddeAddress: '{10e8fcd9-12a0-4614-b30b-b62b32a1547d}'
+
+- library: '&IDL_MochaBaseSystem;'
+ instances:
+ - element: '&IDE_Protocol_Kidde_Subedits;'
+ name: 'kidde subedits'
+ elementContents:
+ - globalIdentifier: '{7e721db2-abb6-4f8b-beb6-20a0d2bb51d8}'
+ defaultDataType: '&IDE_Protocol_Kidde_Subedit_Tabs;'
+ layout: '{f57a229d-832c-4bbf-9be6-39cef96eaa51}'
+
+ - groupLayout: '{f57a229d-832c-4bbf-9be6-39cef96eaa51}'
+ options:
+ - instance: '&IDI_GroupLayoutOption_Tabbed;'
+
+ - numericAttribute: '&IDA_KiddeAddress;'
+ name: 'Kidde Address'
+
+ - binarySwitchLayout: '{44392a21-68da-4b86-a858-3c39ce054abf}'
+
+ - element: '&IDE_Protocol_Kidde_Subedit_Tabs;'
+ elementContents:
+ - globalIdentifier: '{7e1fc142-ee08-4409-97d0-e42994f22daa}'
+ defaultDataType: '&IDE_Protocol_Kidde_Subedit_Network;'
+ label: 'Kidde'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_ShowSubelementsVertically;'
+ - instance: '&IDI_DisplayOption_Singular;'
+
+ - element: '&IDE_Protocol_Kidde_Subedit_Network;'
+ name: 'Network'
+ elementContents:
+ - globalIdentifier: '{7b401357-1eb5-4427-9198-57a1f14d1270}'
+ defaultDataType: '&IDA_KiddeAddress;'
+ layout: '{44392a21-68da-4b86-a858-3c39ce054abf}'
+ label: 'Address'
\ No newline at end of file
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/View.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/View.yaml
new file mode 100644
index 0000000..3097c2d
--- /dev/null
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/View.yaml
@@ -0,0 +1,54 @@
+- entityDefinitions:
+ - IDI_Task_Device_View: '{b9d1daf8-ac77-473f-b5df-a8ee1256c98b}'
+ - IDE_Device_View: '{7340c83a-c5ca-41fc-a1f5-963c8e7e9067}'
+
+ - IDE_Device_View_Start: '{1caa3a72-79c1-4276-89f3-179f0bf4859d}'
+ - IDM_Device_View_Start: '{f04b2523-45ff-48e6-a3b4-c9c3818c0636}'
+
+ - IDMB_Device_View: '{63531fd3-1963-4510-987f-5349cde64d81}'
+ - IDM_Device_View: '{9bc93c3d-7348-4075-b179-c3d6f144d568}'
+
+- library: '&IDL_MochaBaseSystem;'
+ instances:
+ - sequenceTask: '&IDI_Task_Device_View;'
+ name: 'View Device'
+ initiatingElement: '&IDE_Device_View_Start;'
+ taskCategory: '&IDI_TaskCategory_Device;'
+
+ - controlTransactionMethod: '&IDM_Device_View_Start;'
+ forClassId: '&IDC_Device;'
+ verb: ''
+ name: 'Device View Start'
+ buildsResponseWithBRMB: '&IDMB_Device_View;'
+
+ - element: '&IDE_Device_View_Start;'
+ name: 'View Device Start'
+ processedByCTMethod: '&IDM_Device_View_Start;'
+ elementContents:
+ - globalIdentifier: '{5a5c572f-8d13-4f4a-9651-53585d82859f}'
+ defaultDataType: '&IDE_Device_Select;'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_Singular;'
+ - instance: '&IDI_DisplayOption_ShowSubelementsVertically;'
+
+ - element: '&IDE_Device_View;'
+ name: 'View Device'
+ elementContents:
+ - globalIdentifier: '{dd6b5443-4480-467f-a9ce-395366b479e9}'
+ defaultDataType: '&IDC_Device;'
+ label: 'Device'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_NotEnterable;'
+ - instance: '&IDI_DisplayOption_DoNotShow;'
+ - globalIdentifier: '{2734715a-b232-491a-aafb-9499c423890f}'
+ defaultDataType: '&IDE_Device_Definition;'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_NotEnterable;'
+ - instance: '&IDI_DisplayOption_Singular;'
+ - instance: '&IDI_DisplayOption_ShowSubelementsVertically;'
+
+ - buildUIResponseMethod: '&IDM_Device_View;'
+ usesExecutableReturningElement: '&IDE_Device_View;'
+
+ - buildResponseMethodBinding: '&IDMB_Device_View;'
+ executesMethod: '&IDM_Device_View;'
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/ZWave/ZWaveSubedits.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/ZWave/ZWaveSubedits.yaml
new file mode 100644
index 0000000..00ecd2b
--- /dev/null
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/Home/Tasks/Device/ZWave/ZWaveSubedits.yaml
@@ -0,0 +1,40 @@
+---
+- entityDefinitions:
+ - IDE_Protocol_ZWave_Subedits: '{702150af-6c63-4d8b-b240-e6e72015d5ed}'
+ - IDE_Protocol_ZWave_Subedit_Tabs: '{d547bec8-efb1-4240-a02e-435b755dabe8}'
+ - IDE_Protocol_ZWave_Subedit_Network: '{00e83e02-cbd9-4eb3-857b-5d9df41cec71}'
+
+- library: '&IDL_MochaBaseSystem;'
+ instances:
+ - element: '&IDE_Protocol_ZWave_Subedits;'
+ name: 'z-wave subedits'
+ elementContents:
+ - globalIdentifier: '{c04f20b0-96b3-4779-9c6c-ad160d105755}'
+ defaultDataType: '&IDE_Protocol_ZWave_Subedit_Tabs;'
+ layout: '{07091788-296c-448f-ace4-e493465f114b}'
+
+ - booleanAttribute: '&IDA_UseDHCP;'
+ name: 'Use DHCP'
+
+ - groupLayout: '{07091788-296c-448f-ace4-e493465f114b}'
+ options:
+ - instance: '&IDI_GroupLayoutOption_Tabbed;'
+
+ - element: '&IDE_Protocol_ZWave_Subedit_Tabs;'
+ elementContents:
+ - globalIdentifier: '{7b16a228-b633-4863-bccf-5c49ef58658d}'
+ defaultDataType: '&IDE_Protocol_ZWave_Subedit_Network;'
+ label: 'Z-Wave'
+ displayOptions:
+ - instance: '&IDI_DisplayOption_ShowSubelementsVertically;'
+ - instance: '&IDI_DisplayOption_Singular;'
+
+ - element: '&IDE_Protocol_ZWave_Subedit_Network;'
+ name: 'Network'
+ elementContents:
+ - globalIdentifier: '{8606ffd6-0ea8-4542-bb2a-a701981a014b}'
+ layout:
+ - type: '&IDC_ButtonLayout;'
+ executesTask: '&IDI_Task_Element_Edit;'
+ relatedInstance: '&IDI_WorkSet_TaskRelatedInstance;'
+ label: 'Enroll Device'
\ No newline at end of file
diff --git a/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/StarwareIMS/Classes/Product/Methods/Product@get_Product_Type.yaml b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/StarwareIMS/Classes/Product/Methods/Product@get_Product_Type.yaml
index f7d2e66..9d81af5 100644
--- a/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/StarwareIMS/Classes/Product/Methods/Product@get_Product_Type.yaml
+++ b/common/libraries/yaml/net.alcetech.Mocha.System/999-Random/StarwareIMS/Classes/Product/Methods/Product@get_Product_Type.yaml
@@ -21,5 +21,3 @@
- returnInstanceSetMethodBinding: '&IDMB_Product__get__Product_Type;'
executesMethod: '&IDM_Product__get__Product_Type;'
-
-# {ee7e3446-88c8-46c3-8e8a-735bcc2d6ab9}
\ No newline at end of file
diff --git a/php/mocha/lib/mocha/core/KnownAttributeGuids.inc.php b/php/mocha/lib/mocha/core/KnownAttributeGuids.inc.php
index ae56ccf..457613c 100644
--- a/php/mocha/lib/mocha/core/KnownAttributeGuids.inc.php
+++ b/php/mocha/lib/mocha/core/KnownAttributeGuids.inc.php
@@ -16,6 +16,7 @@ class KnownAttributeGuids
const MethodType = "{47ae57a9-7723-48a8-80f2-dd410d929e14}";
const ClassName = "c7e8d78ecfac4dacae242ac67a0ba9d3";
+ const ThemeName = "{8cfc012c-52fd-4a66-8b2f-1b9b5e4af474}";
/**
* A Numeric Attribute specifying the maximum length of an input field.
diff --git a/php/mocha/lib/mocha/core/KnownClassGuids.inc.php b/php/mocha/lib/mocha/core/KnownClassGuids.inc.php
index 0aab3da..6578ea1 100644
--- a/php/mocha/lib/mocha/core/KnownClassGuids.inc.php
+++ b/php/mocha/lib/mocha/core/KnownClassGuids.inc.php
@@ -150,5 +150,8 @@ class KnownClassGuids
const ProcessRelatedUpdatesMethod = "2953e69803c54752a1ebcbbfa8f13905";
const SelectFromInstanceSetMethod = "{130637B4-17A7-4394-8F4D-E83A79114E6C}";
const ConditionalSelectFromInstanceSetMethod = "{ffea8e52-06e5-4e95-8c40-da3ba54ce95f}";
+
+ const BinarySwitchLayout = "{248d781d-3d2f-4377-acc4-38112cf2f9d1}";
+ const RotarySwitchLayout = "{ea52446a-6332-49f7-baa9-4c78bea4faab}";
}
?>
\ No newline at end of file
diff --git a/php/mocha/lib/mocha/core/KnownRelationshipGuids.inc.php b/php/mocha/lib/mocha/core/KnownRelationshipGuids.inc.php
index 83b2717..e596875 100644
--- a/php/mocha/lib/mocha/core/KnownRelationshipGuids.inc.php
+++ b/php/mocha/lib/mocha/core/KnownRelationshipGuids.inc.php
@@ -266,6 +266,8 @@ class KnownRelationshipGuids
const Layout__has__Style = "{e684bb26-7e78-4a21-b8b4-5a550f3053d5}";
+ const Rotary_Switch_Layout__has__Rotary_Switch_Layout_Option = "{ae716c95-1e26-48f4-9013-001d1a1854aa}";
+
const Element_Content__has__Element_Content_Display_Option = "f070dfa762604488a779fae291903f2d";
const Element_Content__has__Parameter_Assignment = "51214ef0458a44fa8b9df3d9d2309388";
diff --git a/php/mocha/lib/mocha/ui/renderers/html/HTMLRenderer.inc.php b/php/mocha/lib/mocha/ui/renderers/html/HTMLRenderer.inc.php
index 8a6e841..d8c6c0a 100644
--- a/php/mocha/lib/mocha/ui/renderers/html/HTMLRenderer.inc.php
+++ b/php/mocha/lib/mocha/ui/renderers/html/HTMLRenderer.inc.php
@@ -25,6 +25,13 @@
use Phast\Utilities\Stopwatch;
use Phast\UUID;
use Phast\WebControlAttribute;
+
+ use Phast\WebControls\BinarySwitch;
+ use Phast\WebControls\BinarySwitchEndianness;
+
+ use Phast\WebControls\RotarySwitch;
+ use Phast\WebControls\RotarySwitchOption;
+
use Phast\WebControls\Button;
use Phast\WebControls\TabContainer;
use Phast\WebControls\TabPage;
@@ -378,7 +385,7 @@
echo ("");
$this->renderEndForm($allElementsAreReadonly);
- if (!$allElementsAreReadonly)
+ if (false) // (!$allElementsAreReadonly)
{
echo("