Members
ix
The AXIOS_Load_Details function makes an HTTP GET request using Axios to retrieve product details
based on a given vmkid, and then displays the details in a table on the webpage.
- Source:
prod_anzahl
The function AXIOS_Load_Produckte makes a GET request to a specific URL with some parameters,
retrieves the response data, stores it in sessionStorage, and then redirects to another page.
sessReload
It takes a number as an argument, and then it uses that number to find the progress bar with the
same number in its id. Then it uses the value of the progress bar to determine how long it should
take to fill the progress bar
- Source:
Methods
_name()
It gets the name from local storage and puts it in the right places
- Source:
_name()
It gets the name from local storage and puts it in the right places
- Source:
_name()
It gets the name from local storage and puts it in the right places
- Source:
_name()
It gets the name from local storage and puts it in the right places
_satteldruckanalyse()
It opens a websocket connection to the server, and sends a few commands to it
- Source:
_satteldruckanalyse()
It opens a websocket connection to the server, and sends a few commands to it
- Source:
_sitzknochen()
It gets the data from the local storage and puts it into the HTML
- Source:
_Translate(params)
It takes a JSON object as a parameter, then loops through all the elements with the attribute "key"
and replaces the innerHTML with the value of the key attribute in the JSON object
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The object that contains the language keys and their values. |
_Translate(params)
The `_Translate` function iterates over HTML elements with specific attributes and sets their
content to translated values based on a parameter object, while also storing the translations in
local storage.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is an object that contains translations for different keys in different languages. The keys in the object correspond to the keys used in the HTML document, and the values are objects that contain translations for each language. For example, `params` might look like this: |
- Source:
abso()
It sets the position of the element with the id of "foo" to fixed, and sets the width and height of
the element to the width and height of the window
add_mask(name)
It creates a list item with a div inside, and two links inside the div. The first link is for
setting the mask, and the second link is for deleting the mask
Parameters:
| Name | Type | Description |
|---|---|---|
name |
the name of the mask |
- Source:
add_mask(name)
It creates a list item with a div inside, and two links inside the div. The first link is for
setting the mask, and the second link is for deleting the mask
Parameters:
| Name | Type | Description |
|---|---|---|
name |
the name of the mask |
- Source:
addDate()
The function "addDate" sets the download attribute of an element with the id "startBackup" to a
formatted date string.
AXIOS_AutoLogin()
The function AXIOS_AutoLogin sends a GET request to a login endpoint using the Axios library in
JavaScript, with the provided user and password parameters, and handles the response accordingly.
AXIOS_Load_Fragen()
The function AXIOS_Load_Fragen makes an HTTP GET request using the Axios library to load questions
in a specific language and product type, and then processes the response data.
AXIOS_Load_Produckte()
The function `AXIOS_Load_Produckte` sends a GET request using Axios to load product data based on
various parameters and user input.
AXIOS_Login()
The function AXIOS_Login sends a GET request to a login endpoint with user credentials and saves the
response data to session storage.
AXIOS_Login()
The function AXIOS_Login sends a GET request to a login endpoint with user credentials and saves the
response data to session storage.
AXIOS_logout()
The AXIOS_logout function sends a GET request to the "vmkservice/logout" endpoint using the Axios
library in JavaScript.
- Source:
AXIOS_logout()
The function AXIOS_logout sends a GET request to the specified URL for logging out and handles the
response or error accordingly.
AXIOS_logout()
The AXIOS_logout function sends a GET request to the specified URL to log out the user, and handles
the response and error accordingly.
AXIOS_Ping()
The AXIOS_Ping function sends a GET request to a specific endpoint and handles the response data
accordingly, including error handling.
- Source:
AXIOS_Ping()
The function `AXIOS_Ping` makes a GET request using Axios to retrieve data, handles the response
data, and performs various operations based on the data received.
AXIOS_Ping()
The AXIOS_Ping function sends a GET request to a specific endpoint and handles the response data
accordingly, including error handling.
AXIOS_Produkt_info(vmkid)
The AXIOS_Produkt_info function makes an HTTP GET request to a specified URL with parameters and
credentials, and then performs additional actions based on the response.
Parameters:
| Name | Type | Description |
|---|---|---|
vmkid |
The `vmkid` parameter is a unique identifier for a product. It is used in the `AXIOS_Load_Details` function to load the details of the product. |
- Source:
aZeit()
It takes the value of the input field with the id "aufzeichnung" and saves it in the variable
"setting.aufZeit" and then saves the variable "setting" in the local storage
- Source:
aZeit()
It takes the value of the input field with the id "aufzeichnung" and saves it in the variable
"setting.aufZeit" and then saves the variable "setting" in the local storage
- Source:
BgColor()
It takes the value of the input field with the id "bg_color" and sets it as the background color of
the JPEG image
- Source:
BgColor()
It takes the value of the input field with the id "bg_color" and sets it as the background color of
the JPEG image
- Source:
bigImage(num)
The function `bigImage` adds a class to a canvas element and its parent element, and attaches a
click event listener to the canvas element.
Parameters:
| Name | Type | Description |
|---|---|---|
num |
The parameter `num` is used to identify the specific canvas element that needs to be manipulated. It is used to generate the id of the canvas element by concatenating it with the string "canvas_". |
- Source:
biosAnimation()
BIOS-Style Animation with scrolling
BreadCrumb(params)
It takes an array of strings and creates a breadcrumb navigation bar
Parameters:
| Name | Type | Description |
|---|---|---|
params |
Arraya.<string> | an array of strings that will be used to create the breadcrumb. |
btnHochladenOnclick()
It sends a request to the server to store the current image
Returns:
The image data.
btnHochladenOnclick()
It sends a request to the server to store the current image
- Source:
Returns:
The image data.
bZeit()
It takes the value of the input field with the id "time_before" and saves it in the variable
"setting.verZeit" in the local storage
- Source:
bZeit()
It takes the value of the input field with the id "time_before" and saves it in the variable
"setting.verZeit" in the local storage
- Source:
calculateCenterOfPressure(matrix, rows, cols)
The function calculates the center of pressure for the left side, right side, and globally based on
a matrix of intensity values.
Parameters:
| Name | Type | Description |
|---|---|---|
matrix |
The `matrix` parameter in the `calculateCenterOfPressure` function represents a 2D matrix that is flattened into a 1D array. The elements of the matrix correspond to the intensity values at different positions. | |
rows |
The `rows` parameter in the `calculateCenterOfPressure` function represents the number of rows in the matrix. It is used to iterate over the rows of the matrix while calculating the center of pressure for different sections of the matrix. | |
cols |
The `cols` parameter in the `calculateCenterOfPressure` function represents the number of columns in the matrix. It is used to determine the width of the matrix and iterate over each column while calculating the center of pressure. |
- Source:
Returns:
The function `calculateCenterOfPressure` returns an object containing the center of
pressure (CoP) for the left side, right side, and the global CoP. The object has the following
properties:
calculateCenterOfPressure(matrix, rows, cols)
The function calculates the center of pressure for the left side, right side, and globally based on
a matrix of intensity values.
Parameters:
| Name | Type | Description |
|---|---|---|
matrix |
The `matrix` parameter in the `calculateCenterOfPressure` function represents a 2D matrix that is flattened into a 1D array. The elements of the matrix correspond to the intensity values at different positions. | |
rows |
The `rows` parameter in the `calculateCenterOfPressure` function represents the number of rows in the matrix. It is used to iterate over the rows of the matrix while calculating the center of pressure for different sections of the matrix. | |
cols |
The `cols` parameter in the `calculateCenterOfPressure` function represents the number of columns in the matrix. It is used to determine the width of the matrix and iterate over each column while calculating the center of pressure. |
- Source:
Returns:
The function `calculateCenterOfPressure` returns an object containing the center of
pressure (CoP) for the left side, right side, and the global CoP. The object has the following
properties:
CenterColor()
`setting.center_color = $('#center_color').val();`
The above line of code is the only line of code that is needed to change the center color
- Source:
CenterColor()
`setting.center_color = $('#center_color').val();`
The above line of code is the only line of code that is needed to change the center color
- Source:
changeEventHandler(event)
The function `changeEventHandler` handles changes in form input fields, logs the changed value and
parent element, checks if the field is required and if it already exists in `userdata`, updates the
progress, validates the input, and updates the `userdata` object accordingly.
Parameters:
| Name | Type | Description |
|---|---|---|
event |
The `event` parameter is an object that represents the event that triggered the change event handler. It contains information about the event, such as the target element that triggered the event, the type of event, and any additional data associated with the event. In this case, the event is a change event |
Changelog(jsn)
The function `Changelog` takes a JSON object as input and dynamically creates a changelog list on a
webpage based on the data in the JSON object.
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
It looks like the `Changelog` function is designed to generate a changelog list based on the provided JSON data. The JSON data should have a structure where each key represents a version number and the corresponding value contains information about that version. |
- Source:
chk_wifi()
The function `chk_wifi()` checks the status of the Ethernet and WiFi connections and updates the
corresponding elements on the webpage accordingly.
clearFromLocalStorage(array)
The function `clearFromLocalStorage` removes specified keys from the localStorage and provides
feedback on the removal process.
Parameters:
| Name | Type | Description |
|---|---|---|
array |
The `clearFromLocalStorage` function takes an array as a parameter. This array should contain keys that correspond to items stored in the browser's localStorage. The function will then check if each key exists in the localStorage and remove it if it does. If a key is not found in the localStorage, a |
Returns:
The function `clearFromLocalStorage` does not explicitly return a value. If the argument
passed to the function is not an array, it logs an error message and returns early. If the argument
is an array, it iterates over its elements, removes each key from the localStorage, and logs
messages accordingly. The function itself does not return any specific value.
ClientInfo(params)
`ClientInfo` is a function that takes a single parameter, `params`, and stores it in local storage
Parameters:
| Name | Type | Description |
|---|---|---|
params |
{ |
- Source:
ClientInfo(params)
`ClientInfo` is a function that takes a single parameter, `params`, and stores it in local storage
Parameters:
| Name | Type | Description |
|---|---|---|
params |
{ |
- Source:
ClientInfo(params)
`ClientInfo` is a function that takes a single parameter, `params`, and stores it in local storage
Parameters:
| Name | Type | Description |
|---|---|---|
params |
{ |
- Source:
ClientInfo(params)
`ClientInfo` is a function that takes a single parameter, `params`, and stores it in local storage
Parameters:
| Name | Type | Description |
|---|---|---|
params |
{ |
- Source:
ClientInfo(params)
`ClientInfo` is a function that takes a single parameter, `params`, and stores it in local storage
Parameters:
| Name | Type | Description |
|---|---|---|
params |
{ |
- Source:
clients_list(array)
It takes an array of objects and creates a table with the objects as rows.
Parameters:
| Name | Type | Description |
|---|---|---|
array |
Array.<String> | the array of objects that you want to display |
- Source:
closeFullscreen()
The closeFullscreen function is used to exit fullscreen mode in a web browser.
closeWindow()
The closeWindow function opens a new window and then closes the current window.
cm_inch(params)
The function converts a measurement in centimeters to inches.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The parameter "params" in the given function represents the length in centimeters that needs to be converted to inches. |
- Source:
cm_inch(params)
The function converts a measurement in centimeters to inches.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The parameter "params" in the given function represents the length in centimeters that needs to be converted to inches. |
- Source:
cm_inch(params)
The function converts a measurement in centimeters to inches.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The parameter "params" in the given function represents the length in centimeters that needs to be converted to inches. |
con_bluetooth()
It opens a modal window and sends a command to the server.
- Source:
con_bluetooth()
It opens a modal window and sends a command to the server.
- Source:
connect(ws_url)
It tries to establish a WebSocket connection to the server
Parameters:
| Name | Type | Description |
|---|---|---|
ws_url |
URL | The URL of the WebSocket server. |
connect(ws_url)
It tries to establish a WebSocket connection to the server
Parameters:
| Name | Type | Description |
|---|---|---|
ws_url |
URL | The URL of the WebSocket server. |
- Source:
countdown()
It counts down from 60 seconds and reloads the page when it reaches 0
create_block(jsn)
The function `create_block` creates a block of HTML elements based on a JSON object and appends it
to the 'questions' element in the document.
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
The `jsn` parameter is an object that contains the following properties: |
createCanvas(params)
Create a canvas object with the given parameters, and set the height and width to the values of the
global variables cw and ch.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The object that contains the parameters for the canvas. |
- Source:
createCanvas(params)
`createCanvas` is a function that takes a parameter called `params` and sets the `params.selection`
to `false`, `params.hasControls` to `false`, `params.lockMovement` to `false`, `params.setHeight` to
`ch`, and `params.setWidth` to `cw`
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The object that contains the parameters for the canvas. |
- Source:
createCanvas(params)
Create a canvas object with the given parameters, and set the height and width to the values of the
global variables cw and ch.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The object that contains the parameters for the canvas. |
- Source:
createCanvas(params)
Create a canvas object with the given parameters, and set the height and width to the values of the
global variables cw and ch.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The object that contains the parameters for the canvas. |
- Source:
createCanvas(params)
Create a canvas object with the given parameters, and set the height and width to the values of the
global variables cw and ch.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The object that contains the parameters for the canvas. |
- Source:
createCanvas(params)
Create a canvas object with the given parameters, and set the height and width to the values of the
global variables cw and ch.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The object that contains the parameters for the canvas. |
createHockerCanvas(params)
It creates a canvas object and sets the height and width of the canvas to the height and width of
the browser window
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The object that is passed to the function. |
- Source:
createHockerCanvas(params)
It creates a canvas object and sets the height and width of the canvas to the height and width of
the browser window
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The object that is passed to the function. |
- Source:
createModalProducts(jsn)
The function creates a modal window with a list of products based on the provided JSON data.
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
The `jsn` parameter is an array of objects that contains information about the products. Each object in the array represents a product and has properties such as name, price, description, etc. |
createProduct(jsn, to)
The function creates a product card with an image, manufacturer, and type, and hides additional
details.
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
The `jsn` parameter is a JSON object that contains information about a product. It likely includes properties such as `vmkid`, `herst`, and `typ`, which are used to populate the elements in the function. | |
to |
The `to` parameter is the element where the created product will be appended to. It should be a valid DOM element or a selector string that can be used to select the element. |
createProductCard(jsn)
The function `createProductCard` creates a product card element with information from a JSON object
and makes an API call to retrieve additional information.
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
The parameter `jsn` is an object that contains information about a product. It likely includes properties such as `vmkid`, `herst`, and `typ`, which are used to populate the product card. |
- Source:
CreateReadMeMod(params)
It creates a modal window with a button to close it, and then fetches the HTML file from the server
and inserts it into the modal window
Parameters:
| Name | Type | Description |
|---|---|---|
params |
String | the name of the file to be loaded. |
DarkMode()
The function toggles the dark mode setting by saving or clearing a value in local storage and then
reloading the page.
dashboardCards()
The function `dashboardCards` fetches data from a JSON file, disables CORS, and then calls the
`DashCards` function with the fetched data, followed by calling the `translatejs` function. If an
error occurs, the `getError` function is called.
DashCards(jsn)
The DashCards function creates and appends HTML elements based on the provided JSON data to display
dashboard cards.
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
The `jsn` parameter is an object that contains the data for creating the dash cards. It should have a property called `dashbordcards` which is an array of objects representing each dash card. Each dash card object should have the following properties: |
del_img()
The function `del_img()` sends a SQL query to delete a record from the "recordings" table, logs the
query if a variable `log` is true, and then reloads the current page.
- Source:
del_img()
The function `del_img` sends a SQL query to delete a record from a table, logs the action if a
condition is met, and then reloads the page.
- Source:
del_mask(param)
It deletes a mask from the database
Parameters:
| Name | Type | Description |
|---|---|---|
param |
the name of the mask |
- Source:
del_mask(param)
It deletes a mask from the database
Parameters:
| Name | Type | Description |
|---|---|---|
param |
the name of the mask |
- Source:
deleteCategory(key)
The function `deleteCategory` deletes a key from a JSON object, hides a corresponding element in the
document, and logs a message indicating whether the key was successfully deleted or not.
Parameters:
| Name | Type | Description |
|---|---|---|
key |
The `key` parameter in the `deleteCategory` function is used to specify the key of the category that you want to delete from the `customJSN` object. |
deleteField(cat, key)
The function `deleteField` removes a specified key from an array within an object in a JavaScript
object, updates a setting, saves the configuration, and generates a custom output.
Parameters:
| Name | Type | Description |
|---|---|---|
cat |
The `cat` parameter in the `deleteField` function likely refers to the category or section within the `customJSN` object where the `key` needs to be deleted. It is used to identify the specific category in which the `key` exists. | |
key |
The `key` parameter in the `deleteField` function represents the specific field or property that you want to delete from the object stored in the `customJSN` variable under the category specified by the `cat` parameter. |
downloadFile()
The function `downloadFile` is used to download a file and display a message based on the response.
Returns:
The function does not explicitly return a value.
draw_cross(ele, pos)
The function `draw_cross` draws a cross shape at a specified position on a canvas element.
Parameters:
| Name | Type | Description |
|---|---|---|
ele |
The `ele` parameter is the HTML canvas element on which you want to draw the cross. You can pass the canvas element to this function so that it can draw the cross on that canvas. | |
pos |
The `pos` parameter in the `draw_cross` function represents the position where the cross will be drawn on the canvas. It is an array containing the x and y coordinates of the center point of the cross. The function draws a cross shape centered at this position on the canvas. |
- Source:
draw_cross(ele, pos)
The function `draw_cross` draws a cross shape on a canvas element at a specified position.
Parameters:
| Name | Type | Description |
|---|---|---|
ele |
The parameter "ele" represents the HTML canvas element on which the cross will be drawn. It is of type "CanvasRenderingContext2D". | |
pos |
The `pos` parameter represents the position of the cross on the canvas. It is an array containing the x and y coordinates of the cross's center point. |
drawCoP(result, rows, cols)
The function `drawCoP` in JavaScript clears a canvas, draws trails and lines between left and right
Centers of Pressure (CoPs), and scales and draws a global CoP as a transparent circle with a border.
Parameters:
| Name | Type | Description |
|---|---|---|
result |
The `result` parameter in the `drawCoP` function likely contains data related to the Center of Pressure (CoP), including the leftCoP, rightCoP, and globalCoP values. These values are used to draw the CoP trails and lines on the canvas. | |
rows |
The `rows` parameter in the `drawCoP` function represents the number of rows in the grid where the CoP (Center of Pressure) data is being visualized. This parameter is used to help scale and position the CoP data correctly within the canvas based on the grid dimensions. | |
cols |
The `cols` parameter in the `drawCoP` function represents the number of columns in the grid where the CoP (Center of Pressure) data is being visualized. It is used to help scale and position the CoP data correctly within the canvas based on the grid dimensions. |
- Source:
drawCoP(result, rows, cols)
The function `drawCoP` in JavaScript clears a canvas, draws trails and lines between left and right
Centers of Pressure (CoPs), and scales and draws a global CoP as a transparent circle with a border.
Parameters:
| Name | Type | Description |
|---|---|---|
result |
The `result` parameter in the `drawCoP` function likely contains data related to the Center of Pressure (CoP), including the leftCoP, rightCoP, and globalCoP values. These values are used to draw the CoP trails and lines on the canvas. | |
rows |
The `rows` parameter in the `drawCoP` function represents the number of rows in the grid where the CoP (Center of Pressure) data is being visualized. This parameter is used to help scale and position the CoP data correctly within the canvas based on the grid dimensions. | |
cols |
The `cols` parameter in the `drawCoP` function represents the number of columns in the grid where the CoP (Center of Pressure) data is being visualized. It is used to help scale and position the CoP data correctly within the canvas based on the grid dimensions. |
- Source:
drawHockertext(c, cm)
It takes two arguments, a canvas object and a number, and draws a text on the canvas object
Parameters:
| Name | Type | Description |
|---|---|---|
c |
the canvas object | |
cm |
The height of the hocker in cm. |
- Source:
drawHockertext(c, cm)
It takes two arguments, a canvas object and a number, and draws a text on the canvas object
Parameters:
| Name | Type | Description |
|---|---|---|
c |
the canvas object | |
cm |
The height of the hocker in cm. |
- Source:
drawLine(c, left1, left2, top1, top2)
It draws a line on the canvas
Parameters:
| Name | Type | Description |
|---|---|---|
c |
the canvas object | |
left1 |
the x coordinate of the first point | |
left2 |
the x coordinate of the end of the line | |
top1 |
the top position of the first point | |
top2 |
the y-coordinate of the end of the line |
- Source:
drawLine(c, left1, left2, top1, top2)
It draws a line on the canvas
Parameters:
| Name | Type | Description |
|---|---|---|
c |
the canvas object | |
left1 |
the x coordinate of the first point | |
left2 |
the x coordinate of the end of the line | |
top1 |
the top position of the first point | |
top2 |
the y-coordinate of the end of the line |
- Source:
drawtext(c)
It draws a text on the canvas
Parameters:
| Name | Type | Description |
|---|---|---|
c |
the canvas object |
- Source:
drawtext(c)
It draws a text on the canvas
Parameters:
| Name | Type | Description |
|---|---|---|
c |
the canvas object |
- Source:
drawTrail(trail, color)
The function `drawTrail` is used to draw a trail using a specified color on a canvas by connecting a
series of points.
Parameters:
| Name | Type | Description |
|---|---|---|
trail |
The `trail` parameter is an array of points that represent the trail you want to draw on the canvas. Each point should have an `x` and `y` coordinate, like this: | |
color |
The `color` parameter in the `drawTrail` function is used to specify the color of the trail that will be drawn on the canvas. You can pass a color value as a string to this parameter, such as `"red"`, `"#00FF00"`, or `"rgba(255 |
- Source:
drawTrail(trail, color)
The function `drawTrail` is used to draw a trail using a specified color on a canvas by connecting a
series of points.
Parameters:
| Name | Type | Description |
|---|---|---|
trail |
The `trail` parameter is an array of points that represent the trail you want to draw on the canvas. Each point should have an `x` and `y` coordinate, like this: | |
color |
The `color` parameter in the `drawTrail` function is used to specify the color of the trail that will be drawn on the canvas. You can pass a color value as a string to this parameter, such as `"red"`, `"#00FF00"`, or `"rgba(255 |
- Source:
Edit_rec(num)
The Edit_rec function in JavaScript allows users to edit and save records by replacing text content
with input fields.
Parameters:
| Name | Type | Description |
|---|---|---|
num |
The `Edit_rec` function takes a parameter `num`, which is used to identify the specific record that needs to be edited. This parameter is used to target elements with corresponding IDs in the HTML document. |
- Source:
editCategory(oldKey, newKey)
The function `editCategory` takes two parameters `oldKey` and `newKey`, and is intended to update a
key in an object by renaming it.
Parameters:
| Name | Type | Description |
|---|---|---|
oldKey |
The `oldKey` parameter represents the key in an object that you want to change. It is the current key that you want to replace with a new key. | |
newKey |
The `newKey` parameter in the `editCategory` function represents the new key that you want to assign to a category in your `customJSN` object. This new key will replace the existing key specified by the `oldKey` parameter. |
editData()
The function `editData()` allows the user to edit client data and save the changes.
Einteilung()
If the checkbox is checked, the variable "teil_line" is set to true, otherwise it is set to false
- Source:
Einteilung()
If the checkbox is checked, the variable "teil_line" is set to true, otherwise it is set to false
- Source:
end_session()
It sends a message to the server that the session is finished
- Source:
end_session()
It sends a message to the server that the session is finished
- Source:
end_session()
It sends a message to the session.
- Source:
ergebnisse()
The function "ergebnisse" checks if all required input fields have been filled out and if so, it
displays the "products" element.
error_msg(jsn)
It takes a JSON object and displays it in a modal
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
The JSON object that is returned from the server. |
- Source:
error_msg(jsn)
It takes a JSON object and displays it in a modal
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
The JSON object that is returned from the server. |
- Source:
executeRandomLinkTo()
The function `executeRandomLinkTo` generates a random number and then calls either
`LinkTo('error.tcls')` or `LinkTo('error2.tcls')` based on the random number being less than 0.5.
exitImgList()
The function is called when the user clicks on the "Exit" button. The function removes the "hidden"
class from the "live" div and adds the "hidden" class to the "img_list" div
- Source:
exitImgList()
The function is called when the user clicks on the "Exit" button. The function removes the "hidden"
class from the "live" div and adds the "hidden" class to the "img_list" div
- Source:
frame3Mask()
The function `frame3Mask` creates a grid layout with rows and columns, each containing a div element
with specific classes and attributes.
- Source:
fs()
`fs()` is the function that is called when the page is loaded. It calls `localstart()` which sets up
the local storage, `translatejs()` which translates the page, and `drawCanvas()` which draws the
canvas
- Source:
fullscreenClick(element)
If the document is not in fullscreen mode, then request fullscreen mode. Otherwise, exit fullscreen
mode
Parameters:
| Name | Type | Description |
|---|---|---|
element |
The element to be made fullscreen. |
- Source:
gears_off()
"When the user clicks the gear icon, hide the gear modal."
The first line of the function is a console.log statement. This is a debugging tool that will print
the text "hide gear" to the console
gears_on()
"When the user clicks on the gear icon, show the gear modal."
The `console.log` statement is a debugging tool. It's a way to print out a message to the browser's
console
gen_session_list()
The `gen_session_list` function generates a table of session information and appends it to the
specified element in the HTML document.
genCustom()
The `genCustom` function dynamically generates a custom table based on data from a JSON object,
allowing users to add, delete, and modify fields within different categories.
generateData(dd)
The function `generateData` processes a 2D array to generate data points and find the maximum value
within the array.
Parameters:
| Name | Type | Description |
|---|---|---|
dd |
It looks like the code snippet you provided is a function called `generateData` that takes a parameter `dd`. The function iterates over a 2D array `kuenzel2` and pushes elements into a new array `data`. It also calculates the maximum value found in the 2 |
- Source:
Returns:
The function `generateData` is returning an array of data that is generated based on the
input `dd`. The data consists of arrays containing three elements: the indices `i` and `j`, and the
value at that position in the `kuenzel2` array. The function also logs the `ArrayData` and the `MAX`
value to the console.
genSelect(jsn, to, name, pflicht)
The function `genSelect` generates a select element with options based on a given JSON object.
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
The `jsn` parameter is a JSON object that contains the data for generating the select options. | |
to |
The "to" parameter is the element where the generated select options will be appended to. It can be a DOM element or a selector string. | |
name |
The `name` parameter is a string that represents the name of the select element. | |
pflicht |
The parameter "pflicht" is a boolean value that determines whether the select options are required or not. If "pflicht" is true, the select options will be marked as required and will have a data-progress attribute set to 1. If "pflicht" is false, the select options |
getCustomProtocol(param)
The function `getCustomProtocol` updates the HTML elements based on the value of the `param`
parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
param |
It looks like the `getCustomProtocol` function is designed to handle a parameter called `param`. This parameter is used to determine whether certain elements on the page should be hidden or modified based on its value. |
getError(err)
The function displays an error message in a dialog box.
Parameters:
| Name | Type | Description |
|---|---|---|
err |
The "err" parameter is a variable that is expected to contain an error message or object. This function takes that error and displays it in a dialog box with the title "error" and a single "OK" button for the user to dismiss the dialog. |
getFromLocalStorage(key)
The function `getFromLocalStorage` retrieves a value from the browser's local storage based on a
specified key.
Parameters:
| Name | Type | Description |
|---|---|---|
key |
The `key` parameter is a string that represents the key of the item you want to retrieve from the localStorage. |
Returns:
The value stored in the localStorage with the specified key is being returned.
getFromLocalStorage(key)
The function `getFromLocalStorage` retrieves a value from the browser's local storage based on a
specified key.
Parameters:
| Name | Type | Description |
|---|---|---|
key |
The `key` parameter is a string that represents the key of the item you want to retrieve from the localStorage. |
- Source:
Returns:
The value stored in the localStorage with the specified key is being returned.
getHockerNr(num)
The function `getHockerNr(num)` creates a new WebSocket connection to the SmartCube with the number
`num` and runs the function `run_Sitzknochen(num)` to handle the connection.
Parameters:
| Name | Type | Description |
|---|---|---|
num |
The number of the cube you want to connect to. |
- Source:
getHockerNr(num)
The function `getHockerNr(num)` creates a new WebSocket connection to the SmartCube with the number
`num` and runs the function `run_Sitzknochen(num)` to handle the connection.
Parameters:
| Name | Type | Description |
|---|---|---|
num |
The number of the cube you want to connect to. |
- Source:
getImgData(num, ele)
The function `getImgData` retrieves image data, updates styles, sets button functionality, sends
data to a server, and triggers a chart display.
Parameters:
| Name | Type | Description |
|---|---|---|
num |
The `num` parameter in the `getImgData` function is used to specify the index or identifier of the image data that you want to retrieve and display. It is likely used to access specific data or elements related to a particular image in a gallery or collection. | |
ele |
The `ele` parameter in the `getImgData` function represents the HTML element that triggered the function. It is typically an image element that the user interacts with, such as clicking on an image in a gallery. |
- Source:
getLocalTime()
The function `getLocalTime` returns the current local date and time in the format "YYYY-MM-DD
HH:MM:SS".
Returns:
The function `getLocalTime` returns the current local date and time in the format
"YYYY-MM-DD HH:MM:SS".
getLog(params)
It takes a parameter, and logs it to the console
Parameters:
| Name | Type | Description |
|---|---|---|
params |
{ |
- Source:
getLog(params)
It takes a parameter, and logs it to the console
Parameters:
| Name | Type | Description |
|---|---|---|
params |
{ |
- Source:
getLog(params)
It takes a parameter, and logs it to the console
Parameters:
| Name | Type | Description |
|---|---|---|
params |
{ |
- Source:
getLog(params)
It takes a parameter, and logs it to the console
Parameters:
| Name | Type | Description |
|---|---|---|
params |
{ |
- Source:
getLog(params)
The function `getLog` logs the value of the `params` parameter to the console, or logs 'no SQL' if
`params` is falsy.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is a variable that represents the SQL query or statement. It is an optional parameter, meaning it can be omitted when calling the `getLog` function. If `params` is provided, it will be logged to the console. If `params` is not provided, the |
getSession(params)
The function `getSession` retrieves data from a parameter, performs a calculation on each element,
and saves the result to local storage.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
It looks like you were about to provide some information about the `params` variable, but it seems to be missing. Could you please provide the content of the `params` variable so that I can assist you further with the `getSession` function? |
- Source:
getSession(params)
The `getSession` function logs the input parameters, calculates a new session value based on the
input elements, and saves this new session value to local storage.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
It seems like you haven't provided the actual parameters for the `getSession` function. Could you please provide the values for the `params` variable so that I can assist you further with the function? |
- Source:
getSession(params)
The `getSession` function logs the input parameters, calculates a new session value based on the
input elements, and saves this new session value to local storage.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
It seems like you haven't provided the actual parameters for the `getSession` function. Could you please provide the values for the `params` variable so that I can assist you further with the function? |
- Source:
gettrans(params)
It takes a string, and returns a translated string
Parameters:
| Name | Type | Description |
|---|---|---|
params |
String | The string you want to translate. |
Returns:
The value of the key in the object.
getValue()
The function `getValue` retrieves the selected value from a dropdown menu with the id "view3d".
- Source:
Returns:
The function `getValue()` is returning the value of the selected option in the "view3d"
select element.
grid_socet(type)
It sends a command to the sattelanalyse server to set the grid type for all three JPEG streams
Parameters:
| Name | Type | Description |
|---|---|---|
type |
line, dotted, no |
- Source:
grid_socet(type)
It sends a command to the sattelanalyse server to set the grid type for all three JPEG streams
Parameters:
| Name | Type | Description |
|---|---|---|
type |
line, dotted, no |
- Source:
handleWSMessage(wsmessage)
It receives a message from the server, parses it, and then calls the function
`hockerbildAktualisieren()` with the message as an argument
Parameters:
| Name | Type | Description |
|---|---|---|
wsmessage |
object | The message received from the server. |
Returns:
the value of the variable msg.
handleWSMessage(wsmessage)
It receives a message from the server, parses it, and then calls the function
`hockerbildAktualisieren()` with the message as an argument
Parameters:
| Name | Type | Description |
|---|---|---|
wsmessage |
object | The message received from the server. |
- Source:
Returns:
the value of the variable msg.
heatchart(data)
The `heatchart` function generates a 3D bar chart using the provided data and displays it on a
webpage.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
The `data` parameter is an array of objects. Each object represents a data point and has the following properties: |
- Source:
heatchart(data)
The `heatchart` function generates a 3D bar chart visualization using input data and various
configurations.
Parameters:
| Name | Type | Description |
|---|---|---|
data |
It looks like the code you provided is a function called `heatchart` that generates a 3D bar chart using ECharts library based on the input data. The function processes the input data, sets up the chart configuration, and then renders the chart. |
- Source:
Returns:
The `heatchart` function does not explicitly return any value. It is primarily responsible
for generating a 3D bar chart visualization using the provided data and rendering it on a web page
using ECharts library. The function processes the input data, sets various chart options, and then
renders the chart.
HelpReset()
It removes the local storage items 'ReadFirstStart' and 'ReadFirstSatteldruckanalyse'
hiddenSSID()
The function `hiddenSSID` logs the value of an input field with the ID 'h_essid' and then calls the
`wlanconnect` function with that value as an argument.
- Source:
hide()
The function `hide` hides all dropdown elements with the class 'uk-dropdown' using UIkit library.
hide_mask()
"When the user clicks on the button, toggle the class 'hide' on the element with the class 'line'."
The first line of the function is a variable declaration. The variable is called 'elm' and it's
assigned the value of the jQuery selector $(".line"). This means that the variable 'elm' is now a
jQuery object that represents the element with the class 'line'
- Source:
hide_mask()
"When the user clicks on the button, toggle the class 'hide' on the element with the class 'line'."
The first line of the function is a variable declaration. The variable is called 'elm' and it's
assigned the value of the jQuery selector $(".line"). This means that the variable 'elm' is now a
jQuery object that represents the element with the class 'line'
- Source:
hideMask(num)
It sends a command to the Sattelanalyse server to hide the mask of the JPEG image with the given
number
Parameters:
| Name | Type | Description |
|---|---|---|
num |
the number of the jpeg you want to hide the mask on |
- Source:
hideMask(num)
It sends a command to the Sattelanalyse server to hide the mask of the JPEG image with the given
number
Parameters:
| Name | Type | Description |
|---|---|---|
num |
the number of the jpeg you want to hide the mask on |
- Source:
hockerbildAktualisieren(msg)
It loads the image from the server and displays it in the canvas
Parameters:
| Name | Type | Description |
|---|---|---|
msg |
object | the message received from the server |
hockerbildAktualisieren(msg)
It loads the image from the server and displays it in the canvas
Parameters:
| Name | Type | Description |
|---|---|---|
msg |
object | the message received from the server |
- Source:
htdocs(jsn)
The function htdocs takes a JSON object as input and updates the innerHTML of all elements with the
class 'version' to the value of the VERSION property in the JSON object.
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
The parameter `jsn` is expected to be a JSON object containing information about the `htdocs` version. |
imageBig()
The function toggles the class of an image element to make it bigger or smaller when clicked.
- Source:
imageText()
If the checkbox is checked, then the setting.showText is set to true, otherwise it is set to false
- Source:
imageText()
If the checkbox is checked, then the setting.showText is set to true, otherwise it is set to false
- Source:
info(client_id, name, mail)
It takes three arguments, sends a query to the database, and then creates a table with the results
of the query
Parameters:
| Name | Type | Description |
|---|---|---|
client_id |
number | The client's ID |
name |
string | The name of the client |
mail |
string | The email address of the user. |
- Source:
info(client_id, name, mail)
It takes three arguments, sends a query to the database, and then creates a table with the results
of the query
Parameters:
| Name | Type | Description |
|---|---|---|
client_id |
number | The client's ID |
name |
string | The name of the client |
mail |
string | The email address of the user. |
- Source:
info(client_id, name, mail)
It takes three arguments, sends a query to the database, and then creates a table with the results
of the query
Parameters:
| Name | Type | Description |
|---|---|---|
client_id |
number | The client's ID |
name |
string | The name of the client |
mail |
string | The email address of the user. |
- Source:
info(client_id, name, mail)
It takes three arguments, sends a query to the database, and then creates a table with the results
of the query
Parameters:
| Name | Type | Description |
|---|---|---|
client_id |
number | The client's ID |
name |
string | The name of the client |
mail |
string | The email address of the user. |
- Source:
info(client_id, name, mail)
It takes three arguments, sends a query to the database, and then creates a table with the results
of the query
Parameters:
| Name | Type | Description |
|---|---|---|
client_id |
number | The client's ID |
name |
string | The name of the client |
mail |
string | The email address of the user. |
- Source:
info_update(jsn)
The function `info_update` checks for updates in a JSON object and displays information accordingly
on a web page.
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
The `jsn` parameter in the `info_update` function is an object that contains information about versions. It has a property `versionen` which is an array of objects, each representing a version with a `version` property. The function compares the current version in the `htdocsInfo.VERSION |
Infos(jsn)
The function `Infos` iterates through elements in a JSON object, checks if they are visible, and if
so, logs the element and fetches content from a provided link to display in a container.
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
The `jsn` parameter is expected to be an object containing an `infos` property, which is an array of objects. Each object in the `infos` array should have a `visible` property that is a string representing a boolean value ("true" or "false"), and a `link |
ITColor()
`function ITColor(){setting.text_color = $('#it_color').val();saveToLocalStorage('setting',
JSON.stringify(setting));BgColor()}`
- Source:
ITColor()
`function ITColor(){setting.text_color = $('#it_color').val();saveToLocalStorage('setting',
JSON.stringify(setting));BgColor()}`
- Source:
langSelected(lang)
It sets the language to the local storage and then fetches the json file and translates the page.
Parameters:
| Name | Type | Description |
|---|---|---|
lang |
String | The language you want to translate to. |
LineColor()
`LineColor()` is a function that sets the line color to the value of the `#line_color` input element
- Source:
LineColor()
`LineColor()` is a function that sets the line color to the value of the `#line_color` input element
- Source:
lineDistance(p1, p2)
The function calculates the distance between two points in a two-dimensional space.
Parameters:
| Name | Type | Description |
|---|---|---|
p1 |
The `p1` parameter represents the coordinates of the first point in the form of an array `[x1, y1]`. | |
p2 |
The `p2` parameter in the `lineDistance` function represents the coordinates of the second point in a two-dimensional space. It is typically an array with two elements, where `p2[0]` is the x-coordinate and `p2[1]` is the y-coordinate of |
- Source:
Returns:
The function `lineDistance` calculates the Euclidean distance between two points `p1` and
`p2` in a 2D plane and returns the distance as a numeric value.
lineDistance(p1, p2)
The lineDistance function calculates the distance between two points in a two-dimensional space.
Parameters:
| Name | Type | Description |
|---|---|---|
p1 |
The parameter `p1` represents the coordinates of the first point on the line. It is an array with two elements, where the first element is the x-coordinate and the second element is the y-coordinate. | |
p2 |
The parameter `p2` represents the coordinates of the second point in the line. It is an array with two elements, where the first element is the x-coordinate and the second element is the y-coordinate. |
Returns:
the distance between two points, `p1` and `p2`.
LinkTo(params)
The function takes a parameter, which is the name of the page you want to link to, and then it
changes the location of the current page to the page you want to link to
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The name of the parameter you want to pass to the function. |
LinkTo(params)
The function takes a parameter, which is the name of the page you want to link to, and then it
changes the location of the current page to the page you want to link to
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The name of the parameter you want to pass to the function. |
- Source:
liveMask()
The function `liveMask` dynamically creates and initializes mask points within a grid structure for
a live editing feature.
- Source:
load(params, id)
The load function sends a request to retrieve a recording with a specific ID and parameters, and
logs the request if the log variable is true.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is a string that contains additional information or instructions for the `load` function. It is used as part of the message sent to the `sattelanalyse` object. | |
id |
The `id` parameter is used to specify the identifier of the recording that needs to be retrieved. |
- Source:
load(params, id)
The function "load" sends a request to retrieve a recording with specific parameters and logs the
action if the "log" variable is true.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` variable in the `load` function likely contains additional information or settings needed for retrieving a recording with a specific `id`. It could include things like authentication tokens, query parameters, or any other data required to successfully retrieve the recording. | |
id |
The `id` parameter in the `load` function is used to specify the identifier of the recording that needs to be retrieved. |
- Source:
load_rec(num)
It sends a SQL query to the server, and when the server responds, it calls the function RowImg
Parameters:
| Name | Type | Description |
|---|---|---|
num |
the number of the recording to load |
- Source:
load_rec(num)
It sends a SQL query to the server, and when the server responds, it calls the function RowImg
Parameters:
| Name | Type | Description |
|---|---|---|
num |
the number of the recording to load |
- Source:
load_rec(num)
It sends a SQL query to the server, and when the server responds, it calls the function RowImg
Parameters:
| Name | Type | Description |
|---|---|---|
num |
the number of the recording to load |
- Source:
localstart()
It checks if the user has already seen the first start modal and if not, it shows it
Maskmenue(params)
It takes an array of objects, and for each object, it calls a function called add_mask, passing the
name property of the object as a parameter
Parameters:
| Name | Type | Description |
|---|---|---|
params |
an array of objects, each object has a name property |
- Source:
Maskmenue(params)
It takes an array of objects, and for each object, it calls a function called add_mask, passing the
name property of the object as a parameter
Parameters:
| Name | Type | Description |
|---|---|---|
params |
an array of objects, each object has a name property |
- Source:
measure(canvas)
It draws a line between two points and calculates the length of the line
Parameters:
| Name | Type | Description |
|---|---|---|
canvas |
the canvas object |
- Source:
Returns:
A function that takes a canvas as an argument.
measure(canvas)
It draws a line between two points and calculates the length of the line
Parameters:
| Name | Type | Description |
|---|---|---|
canvas |
the canvas object |
- Source:
Returns:
A function that takes a canvas as an argument.
mod_about()
The function mod_about() displays a modal with the id "modal-about" using UIkit.
mod_log()
The function `mod_log` opens a modal with the ID "modal-log-modal" using UIkit.
moveJSONKey(jsonObj, keyToMove, newPosition)
The `moveJSONKey` function moves a specified key to a new position in a JSON object.
Parameters:
| Name | Type | Description |
|---|---|---|
jsonObj |
The `jsonObj` parameter is the JSON object that you want to modify. It should be a valid JavaScript object that can be converted to JSON format. | |
keyToMove |
The key that you want to move within the JSON object. | |
newPosition |
The `newPosition` parameter is the new index position where you want to move the specified key in the JSON object. |
Returns:
a new JSON object with the specified key moved to the new position.
new_session(bool)
It sends a message to the server to start a new session
Parameters:
| Name | Type | Description |
|---|---|---|
bool |
boolean | if true, the user will be redirected to the next page, if false, the session will be finished. |
- Source:
new_session_id(id)
It sends a message to the server that the session is finished, then it sets the session id in the
local storage, and then it redirects the user to the next page
Parameters:
| Name | Type | Description |
|---|---|---|
id |
the id of the session |
- Source:
newElement(jsn, DOM_Element) → {HTMLElement}
It creates a new element with the given parameters and appends it to the given element
Parameters:
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
jsn |
Object.<JSON> | JSON object
Properties
|
|||||||||||||||
DOM_Element |
HTMLElement | the complete element |
Returns:
- Type
- HTMLElement
newElement(jsn, DOM_Element) → {HTMLElement}
It creates a new element with the given parameters and appends it to the given element
Parameters:
| Name | Type | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
jsn |
Object.<JSON> | JSON object
Properties
|
|||||||||||||||
DOM_Element |
HTMLElement | the complete element |
Returns:
- Type
- HTMLElement
open_img(params)
The function `open_img` opens a modal window to display an image.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is used to specify the ID of the image that you want to open in the modal. |
- Source:
open_img(params)
The function `open_img` displays a modal centered on the screen with the specified parameters.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter in the `open_img` function is used to specify the ID of the image modal that you want to open. |
- Source:
OpenChart(id)
The function `OpenChart` opens a chart modal and sends a SQL query to retrieve pressure values for a
specific recording ID.
Parameters:
| Name | Type | Description |
|---|---|---|
id |
The `id` parameter is the identifier of the chart that you want to open. It is used to retrieve the pressure values from the database for that specific chart. |
- Source:
OpenChart(id)
The function `OpenChart` logs the loaded `id` and sends a SQL query to retrieve pressure values for
a specific recording ID, then displays a chart modal.
Parameters:
| Name | Type | Description |
|---|---|---|
id |
The `id` parameter in the `OpenChart` function is used to specify the ID of the chart that you want to open. This function logs a message indicating that a specific ID has been loaded, sets the `open_chartID` variable to the provided ID, specifies the `onsqlresult |
- Source:
openDelDialog(params)
The function `openDelDialog` opens a dialog box with a warning message and options to delete an
image or cancel the operation.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is an object that contains the information about the image to be deleted. It is passed as an argument to the `openDelDialog` function. |
- Source:
openDelDialog(params)
The function `openDelDialog` opens a modal dialog box to confirm deletion of an image.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
It seems like the `params` variable is being used to pass some data to the `openDelDialog` function. In this case, `params` likely contains information about the image that is going to be deleted. This information could include details such as the image name, size, or any other |
- Source:
openFullscreen()
The function opens the browser in fullscreen mode if supported by the browser.
OpenInfoBox(params)
The function `OpenInfoBox` opens a modal dialog box with information about a new update, including
the version number.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
It looks like the `OpenInfoBox` function is designed to open a dialog box with information about a new update. The `params` variable likely contains the version number of the update. When the function is called, it will display the version number in the dialog box along with buttons for the user |
OpenMail()
The function `OpenMail` generates a mailto link with recipient, subject, and body information and
opens the default email client with the generated link.
- Source:
OpenMod(params)
The function opens a UIkit modal with the ID specified in the parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The parameter `params` is a string that represents the ID of the modal that needs to be opened. The function `OpenMod` takes this parameter and uses it to show the corresponding modal using the UIkit framework. |
- Source:
OpenMod(params)
The function opens a UIkit modal with the ID specified in the parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The parameter `params` is a string that represents the ID of the modal that needs to be opened. The function `OpenMod` takes this parameter and uses it to show the corresponding modal using the UIkit framework. |
- Source:
OpenMod(params)
The function opens a UIkit modal with the ID specified in the parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The parameter `params` is a string that represents the ID of the modal that needs to be opened. The function `OpenMod` takes this parameter and uses it to show the corresponding modal using the UIkit framework. |
OpenModDialog(jsn)
It creates a modal dialog with a header, body and footer
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
JSON.type | head:"overwrites the defautl head",title:what happend, msg:more info hidden,master_btn:[translationkey,onclick(nothing=close),slave_btn:[translationkey,onclick(nothing=close)] |
openNewWindow()
The function opens a new window with a specific URL and dimensions, and then closes the current
window.
OpenReadMe(params)
> This function opens a modal window with the id of `mod_`
Parameters:
| Name | Type | Description |
|---|---|---|
params |
String | The name of the modal you want to open. |
OpenSetting(SettingName)
The function opens a UIkit modal with the ID corresponding to the input SettingName.
Parameters:
| Name | Type | Description |
|---|---|---|
SettingName |
String | The parameter `SettingName` is a string that represents the name of the setting that needs to be accessed or modified. It is used as a reference to open the corresponding modal window with the settings options. |
openTPFS(params)
The function `openTPFS` saves the provided parameters to local storage and then links to a file
named `tpfs.tcls`.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
It looks like the `openTPFS` function is saving the `params` to the local storage with the key 'tpfs' and then linking to 'tpfs.tcls'. |
openWindow()
The openWindow function redirects the user to the dashboard page.
PDFgenGal()
The function `PDFgenGal` generates a PDF document containing a gallery of images.
- Source:
PDFgenGal()
The function `PDFgenGal` generates a PDF document containing a gallery of images based on the
client's name and image elements on the webpage.
- Source:
PRColor()
`function PRColor() { setting.pr_color = $('#pr_color').val(); saveToLocalStorage('setting',
JSON.stringify(setting)); BgColor() }`
The function is called when the user changes the value of the `#pr_color` input element. The value
of the input element is stored in the `setting.pr_color` variable. The `setting` variable is then
stored in the browser's local storage. The `BgColor()` function is then called to update the
background color of the page
- Source:
PRColor()
`function PRColor() { setting.pr_color = $('#pr_color').val(); saveToLocalStorage('setting',
JSON.stringify(setting)); BgColor() }`
The function is called when the user changes the value of the `#pr_color` input element. The value
of the input element is stored in the `setting.pr_color` variable. The `setting` variable is then
stored in the browser's local storage. The `BgColor()` function is then called to update the
background color of the page
- Source:
PrintLog(params)
The function "PrintLog" logs a message to the console if the "log" variable is true.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
Array.<String> | The parameter "params" is a variable that represents the data or message that needs to be logged. It is passed as an argument to the function "PrintLog". |
progress(add)
The function "progress" increases the value of a progress bar by a specified amount.
Parameters:
| Name | Type | Description |
|---|---|---|
add |
number | The `add` parameter is the value that will be added to the current value of the progress bar. |
progressMax(add)
The function `progressMax` sets the maximum value of a progress bar element.
Parameters:
| Name | Type | Description |
|---|---|---|
add |
The `add` parameter is the value that you want to set as the maximum value for the progress bar. |
ProgressTimeHandler(num)
It takes a number as an argument, and then it uses that number to find the progress bar with the
same number in its id. Then it uses the value of the progress bar to determine how long it should
take to fill the progress bar
Parameters:
| Name | Type | Description |
|---|---|---|
num |
The number of the progress bar. |
- Source:
reboot()
The function starts a countdown and then reboots the Velobox
rec_cancel(num)
The function `rec_cancel` sends a message and logs a recording cancellation with a given number.
Parameters:
| Name | Type | Description |
|---|---|---|
num |
Number | The parameter "num" is a number that represents the recording number that needs to be cancelled. |
- Source:
rec_cancel(num)
The function `rec_cancel` sends a recording cancel command with a specified number and logs the
action.
Parameters:
| Name | Type | Description |
|---|---|---|
num |
The `num` parameter in the `rec_cancel` function represents the number associated with the recording that you want to cancel. This number is used to identify the specific recording that needs to be canceled. |
- Source:
rec_cancel(num)
It sends a message to the server to cancel the recording of the specified number
Parameters:
| Name | Type | Description |
|---|---|---|
num |
number | The number of the recording to cancel. |
- Source:
rec_cancel(num)
It sends a message to the server to cancel the recording of the specified number
Parameters:
| Name | Type | Description |
|---|---|---|
num |
number | The number of the recording to cancel. |
- Source:
(async) refreshWLAN()
It sends a request to the server to execute the iwscan.tcls script
- Source:
Returns:
The result of the iwscan.tcls script.
reinit()
The function `reinit` is used to reload the current page after sending a GET request to a specific
URL based on the host name.
removeArr(arr)
It takes an array and removes all the elements in that array that are in arguments[1], arguments[2],
etc
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
The array you want to remove items from. |
- Source:
Returns:
The array with the value removed.
removeArr(arr)
It takes an array and removes all the elements in that array that are in arguments[1], arguments[2],
etc
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
The array you want to remove items from. |
- Source:
Returns:
The array with the value removed.
resetTrail()
The function `resetTrail` resets three arrays and logs a message indicating that the trails have
been reset.
- Source:
resetTrail()
The function `resetTrail` resets three arrays and logs a message indicating that the trails have
been reset.
- Source:
rest_session(id)
`rest_session(id)`
This function is called when the user clicks the "Restart" button. It sends a message to the server
that the session is finished, and then redirects the user to the start page
Parameters:
| Name | Type | Description |
|---|---|---|
id |
the id of the session |
- Source:
result_1(params)
The function `result_1` updates the content of specific HTML elements with values from the `params`
object.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` object contains the following properties: |
- Source:
result_1(params)
The function result_1 takes in parameters and updates specific elements in the HTML document based
on the values of those parameters.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` object contains the following properties: |
- Source:
result_1(jsn)
The function takes the JSON object returned from the API and displays the results on the page
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
the JSON object returned from the API |
- Source:
result_1(jsn)
The function takes the JSON object returned from the API and displays the results on the page
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
the JSON object returned from the API |
- Source:
result_2(params)
The function "result_2" updates the HTML elements with the values from the "params" object.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` object contains the following properties: |
- Source:
result_2(params)
The function result_2 takes in a parameter object and updates specific elements in the HTML document
with values from the parameter object.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
It looks like you haven't provided the actual parameters for the `result_2` function. Could you please provide the values for `params` so that I can assist you further with this function? |
- Source:
result_2(jsn)
It takes the JSON object returned from the server and displays the results on the page
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
the JSON object returned from the API |
- Source:
result_2(jsn)
It takes the JSON object returned from the server and displays the results on the page
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
the JSON object returned from the API |
- Source:
RowImg(params)
The function `RowImg` is used to dynamically create and display rows of images on a webpage.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is an array of objects. Each object in the array represents a row of data and contains the following properties: |
- Source:
RowImg(params)
The function `RowImg` creates and appends elements to display a list of images with associated
information, and sets click events on charts based on the data provided.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
It looks like the code snippet you provided is a JavaScript function called `RowImg` that takes in a parameter `params` and performs some operations based on the elements in `params`. |
- Source:
RowImg(params)
It takes an array of objects, each object has a recording_id property, and it creates a list of
images, each image is a thumbnail of the recording_id
Parameters:
| Name | Type | Description |
|---|---|---|
params |
an array of objects, each object has a recording_id property |
- Source:
RowImg(params)
It takes an array of objects, each object has a recording_id property, and it creates a list of
images, each image is a thumbnail of the recording_id
Parameters:
| Name | Type | Description |
|---|---|---|
params |
an array of objects, each object has a recording_id property |
- Source:
RowImg(params)
It takes an array of objects as a parameter, and for each object in the array, it creates an image
element, sets the width and height, and adds a class to the image element
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The array of objects returned from the SQL query. |
- Source:
run_Sitzknochen(num)
It creates a websocket connection to the smartcube and listens for messages. If the message is of
type "sitzknochenabstand" it will draw the sitzknochenabstand on the canvas
Parameters:
| Name | Type | Description |
|---|---|---|
num |
the number of the cube you want to connect to. |
- Source:
run_Sitzknochen(num)
It creates a websocket connection to the smartcube and listens for messages. If the message is of
type "sitzknochenabstand" it will draw the sitzknochenabstand on the canvas
Parameters:
| Name | Type | Description |
|---|---|---|
num |
the number of the cube you want to connect to. |
- Source:
sattel_einstellungen()
It opens a modal window
- Source:
sattel_einstellungen()
It opens a modal window
- Source:
save_mask()
"When the user clicks the save button, show the save mask modal."
The `save_mask()` function is called by the `onclick` attribute of the save button
- Source:
save_mask()
"When the user clicks the save button, show the save mask modal."
The `save_mask()` function is called by the `onclick` attribute of the save button
- Source:
Save_rec(num)
The function `Save_rec` saves input values for product, product label, and notes into designated
elements and logs a message with the saved data.
Parameters:
| Name | Type | Description |
|---|---|---|
num |
The `num` parameter in the `Save_rec` function represents the store number that is being recorded. It is used to identify and save the product information, product label, and notes for that specific store. |
- Source:
save_rec(num)
It takes the number of the image, gets the values of the three input fields, and sends them to the
server
Parameters:
| Name | Type | Description |
|---|---|---|
num |
the number of the image to be saved |
- Source:
save_rec(num)
It takes the number of the image, gets the values of the three input fields, and sends them to the
server
Parameters:
| Name | Type | Description |
|---|---|---|
num |
the number of the image to be saved |
- Source:
saveConfig()
The function `saveConfig` sends the client settings as a JSON string over a WebSocket connection.
SaveCustomProtocol()
The function `SaveCustomProtocol` saves a custom protocol setting, then saves the configuration and
generates a custom output.
saveImage_n1()
`saveImage_n1()` is a function that saves the current canvas as a png file
- Source:
saveImage_n1()
`saveImage_n1()` is a function that saves the current canvas as a png file
- Source:
saveImage_n2()
The function `saveImage_n2()` is called when the user clicks on the download button. It saves the
current canvas as a PNG image with the name `Messung_Frame_B.png` in the download folder of the user
- Source:
saveImage_n2()
The function `saveImage_n2()` is called when the user clicks on the download button. It saves the
current canvas as a PNG image with the name `Messung_Frame_B.png` in the download folder of the user
- Source:
saveMask(name)
The function `saveMask` takes a name as input, manipulates it to create a mask name, and then sends
a command to save the mask with that name.
Parameters:
| Name | Type | Description |
|---|---|---|
name |
The name of the mask to be saved. |
- Source:
saveToLocalStorage(key, value)
The function `saveToLocalStorage` saves a key-value pair to the browser's local storage.
Parameters:
| Name | Type | Description |
|---|---|---|
key |
The `key` parameter is a string that represents the name under which the `value` will be stored in the browser's local storage. | |
value |
The `value` parameter in the `saveToLocalStorage` function is the data that you want to save to the local storage. It could be a string, number, object, array, or any other type of data that you want to store locally in the browser. |
saveToLocalStorage(key, value)
The function `saveToLocalStorage` saves a key-value pair to the browser's local storage.
Parameters:
| Name | Type | Description |
|---|---|---|
key |
The `key` parameter is a string that represents the name under which the `value` will be stored in the browser's local storage. | |
value |
The `value` parameter in the `saveToLocalStorage` function is the data that you want to save to the local storage. It could be a string, number, object, array, or any other type of data that you want to store locally in the browser. |
- Source:
scaleCoP(coP, originalWidth, originalHeight, canvasWidth, canvasHeight)
The function `scaleCoP` scales a given point's coordinates based on the original and canvas
dimensions provided.
Parameters:
| Name | Type | Description |
|---|---|---|
coP |
The `coP` parameter represents the coordinates of a point on a canvas. It is an object with `x` and `y` properties indicating the x and y coordinates of the point. | |
originalWidth |
The `originalWidth` parameter represents the original width of the coordinate point (coP) before scaling. | |
originalHeight |
The `originalHeight` parameter represents the original height of the content or image that you are scaling. This value is used in the calculation to determine the new position of a point based on the scaling factor applied to the canvas. | |
canvasWidth |
The `canvasWidth` parameter represents the width of the canvas where you want to scale the coordinates of a point (`coP`). This function takes the original width and height of the coordinate point (`coP`) and the dimensions of the canvas to calculate the scaled coordinates. | |
canvasHeight |
The `canvasHeight` parameter represents the height of the canvas where you want to scale the coordinates of a point (`coP`). This function takes the original coordinates (`coP`) relative to an original width and height (`originalWidth` and `originalHeight`) and scales them to fit within a new |
- Source:
Returns:
An object with properties `x` and `y` representing the scaled coordinates of the point
`coP` based on the original dimensions and the canvas dimensions provided.
scaleCoP(coP, originalWidth, originalHeight, canvasWidth, canvasHeight)
The function `scaleCoP` scales a given point's coordinates based on the original and canvas
dimensions provided.
Parameters:
| Name | Type | Description |
|---|---|---|
coP |
The `coP` parameter represents the coordinates of a point on a canvas. It is an object with `x` and `y` properties indicating the x and y coordinates of the point. | |
originalWidth |
The `originalWidth` parameter represents the original width of the coordinate point (coP) before scaling. | |
originalHeight |
The `originalHeight` parameter represents the original height of the content or image that you are scaling. This value is used in the calculation to determine the new position of a point based on the scaling factor applied to the canvas. | |
canvasWidth |
The `canvasWidth` parameter represents the width of the canvas where you want to scale the coordinates of a point (`coP`). This function takes the original width and height of the coordinate point (`coP`) and the dimensions of the canvas to calculate the scaled coordinates. | |
canvasHeight |
The `canvasHeight` parameter represents the height of the canvas where you want to scale the coordinates of a point (`coP`). This function takes the original coordinates (`coP`) relative to an original width and height (`originalWidth` and `originalHeight`) and scales them to fit within a new |
- Source:
Returns:
An object with properties `x` and `y` representing the scaled coordinates of the point
`coP` based on the original dimensions and the canvas dimensions provided.
selectBack(params)
The function `selectBack` updates the background color of an element and sends the updated settings
to a WebSocket server.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
params is a parameter that represents the selected element. It is expected to be a DOM element that contains child nodes. |
selectImg(params)
The function `selectImg` is used to handle the selection and deselection of images based on certain
conditions and update corresponding values and classes accordingly.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` object seems to contain information related to an image element. The function `selectImg` is designed to handle the selection and deselection of images based on certain conditions and user interactions. |
- Source:
Returns:
The `selectImg` function returns different actions based on the conditions met within the
function. Here are the possible return scenarios:
SelectSessionDel()
It deletes the session and all recordings associated with it
- Source:
sendMask()
It takes the contents of the custommask array and sends it to the server
- Source:
sendMatte(parameters)
The function "sendMatte" sends parameters to the "sitzknochen" object.
Parameters:
| Name | Type | Description |
|---|---|---|
parameters |
I'm sorry, but the code snippet you provided doesn't include any information about the parameters that are expected by the `sendMatte` function. Can you please provide more context or code so I can better understand what the function does and what parameters it expects? |
- Source:
sendMatte(parameters)
The function "sendMatte" sends parameters to the "sitzknochen" object.
Parameters:
| Name | Type | Description |
|---|---|---|
parameters |
I'm sorry, but the code snippet you provided doesn't include any information about the parameters that are expected by the `sendMatte` function. Can you please provide more context or code so I can better understand what the function does and what parameters it expects? |
SendSkImg()
This function sends an HTTP GET request to store an image in a database and opens a confirmation
modal.
- Source:
Returns:
There is no return statement in this code snippet, so nothing is being returned explicitly.
However, the function may return undefined implicitly if it reaches the end without encountering a
return statement.
SendSkImg()
The function `SendSkImg()` sends an HTTP GET request to a specified URL with an encoded email
parameter.
session(val)
It sends a message to the server to start a session and then it displays the client's name and email
address
Parameters:
| Name | Type | Description |
|---|---|---|
val |
localStorage value of session |
- Source:
session(val)
It sends a message to the server to start a session and then it displays the client's name and email
address
Parameters:
| Name | Type | Description |
|---|---|---|
val |
localStorage value of session |
- Source:
session_img(session_id)
`session_img(session_id)` is a function that sends a SQL query to the database to get the image
associated with the session_id.
Parameters:
| Name | Type | Description |
|---|---|---|
session_id |
The session ID of the recording you want to retrieve. |
- Source:
SessionDel(params)
It sets the title of the modal to the session number and shows the modal
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The name of the session to be deleted |
- Source:
set_comp(param)
It sends a message to the server to set the compare parameter
Parameters:
| Name | Type | Description |
|---|---|---|
param |
the parameter to set |
- Source:
set_comp(param)
It sends a message to the server to set the compare parameter
Parameters:
| Name | Type | Description |
|---|---|---|
param |
the parameter to set |
- Source:
set_contrast(num)
It sends a command to the server to set the color contrast of the JPEG image
Parameters:
| Name | Type | Description |
|---|---|---|
num |
0-7 |
- Source:
set_contrast(num)
It sends a command to the server to set the color contrast of the JPEG image
Parameters:
| Name | Type | Description |
|---|---|---|
num |
0-7 |
- Source:
set_mask(param)
`set_mask` sets the mask to one of the following: `nomask`, `standard`, `large`, `custom` or ``
Parameters:
| Name | Type | Description |
|---|---|---|
param |
The name of the mask to use. |
- Source:
set_mask(param)
`set_mask` sets the mask to one of the following: `nomask`, `standard`, `large`, `custom` or ``
Parameters:
| Name | Type | Description |
|---|---|---|
param |
The name of the mask to use. |
- Source:
setBgColor(color)
It sends a command to the server to set the background color of the JPEG image
Parameters:
| Name | Type | Description |
|---|---|---|
color |
The color to set the background to. |
- Source:
setBgColor(color)
It sends a command to the server to set the background color of the JPEG image
Parameters:
| Name | Type | Description |
|---|---|---|
color |
The color to set the background to. |
- Source:
SetCategoryName(param)
The function `SetCategoryName` updates the category name in a web page and dynamically generates a
table row with buttons for deleting the category.
Parameters:
| Name | Type | Description |
|---|---|---|
param |
The `SetCategoryName` function takes a parameter `param` which is used to set the category name. If the `param` is an empty string, the function will return without performing any actions. Otherwise, it will set the value of an element with the id `CategoryName` to an |
Returns:
The function `SetCategoryName` does not explicitly return anything.
setCenterColor(color)
It sets the value of the text input field with the id `center_color_txt` to the value of the
parameter `color`
Parameters:
| Name | Type | Description |
|---|---|---|
color |
The color to set the center of the image to. |
- Source:
setCenterColor(color)
It sets the value of the text input field with the id `center_color_txt` to the value of the
parameter `color`
Parameters:
| Name | Type | Description |
|---|---|---|
color |
The color to set the center of the image to. |
- Source:
setChartType(params)
The function `setChartType` sets the type of chart to be displayed in a charting library and updates
the chart with the new type.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is the type of chart that you want to set. It can be one of the following values: |
- Source:
setChartType(params)
The function `setChartType` sets the type of chart and its options based on the parameters provided.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` variable in the `setChartType` function represents the type of chart that you want to set. It could be a string value such as 'line', 'bar', 'pie', 'scatter', etc., depending on the type of chart you want to display. |
- Source:
setConfigfile()
It sends a request to the server to set the configuration file
setContrast()
The function sets the contrast value based on the user's input and saves it in local storage.
- Source:
setContrast()
The function sets the contrast value based on the user's input and saves it in local storage.
- Source:
setCoPVisibility(leftRight, global)
The function setCoPVisibility updates the display options for leftRight and global settings and logs
the updated display options.
Parameters:
| Name | Type | Description |
|---|---|---|
leftRight |
The `leftRight` parameter determines the visibility of the content on the left and right sides of the screen. It could be a boolean value indicating whether to display content on the left and right sides. | |
global |
The `global` parameter in the `setCoPVisibility` function likely refers to a setting that affects the visibility of an element or feature across the entire application or system. When `global` is set to `true`, it means that the visibility setting will be applied universally, affecting all instances or |
- Source:
setCoPVisibility(leftRight, global)
The function setCoPVisibility updates the display options for leftRight and global settings and logs
the updated display options.
Parameters:
| Name | Type | Description |
|---|---|---|
leftRight |
The `leftRight` parameter determines the visibility of the content on the left and right sides of the screen. It could be a boolean value indicating whether to display content on the left and right sides. | |
global |
The `global` parameter in the `setCoPVisibility` function likely refers to a setting that affects the visibility of an element or feature across the entire application or system. When `global` is set to `true`, it means that the visibility setting will be applied universally, affecting all instances or |
- Source:
setDemomode()
The function `setDemomode` toggles a demo mode setting and updates the display accordingly.
SetFieldName(cat, name)
The function `SetFieldName` sets a field name based on the category and name provided, updating a
custom protocol configuration and generating a custom output.
Parameters:
| Name | Type | Description |
|---|---|---|
cat |
The `cat` parameter in the `SetFieldName` function is used to specify the category or group to which the field name belongs. | |
name |
The `name` parameter in the `SetFieldName` function is the name of a field that is being set in a form. |
Returns:
If the `name` parameter is an empty string, the function will return without performing any
further actions.
setFirstSatteldruckanalyse()
The function sets a value in the local storage based on the checked state of a checkbox element.
- Source:
setFirstStart()
If the checkbox is checked, set the localStorage item "ReadFirstStart" to true, otherwise set it to
false
- Source:
setHandbuchfile(sprache)
It sends a request to the server to get the handbook file for the selected language
Parameters:
| Name | Type | Description |
|---|---|---|
sprache |
The language of the handbook. |
setHockerImage(params, img, coord, cm, v_sum)
It takes in a fabric.js canvas object, an image, a coordinate, a number of centimeters, and a sum of
the number of centimeters of all the hockers in the room. If the sum is not zero, it adds the image
to the canvas, and then calls three other functions to add text, and two lines to the canvas
Parameters:
| Name | Type | Description |
|---|---|---|
params |
the canvas | |
img |
the image to be drawn | |
coord |
the coordinates of the hocker | |
cm |
the number of the hocker | |
v_sum |
the value of the hocker |
- Source:
setHockerImage(params, img, coord, cm, v_sum)
It takes in a fabric.js canvas object, an image, a coordinate, a number of centimeters, and a sum of
the number of centimeters of all the hockers in the room. If the sum is not zero, it adds the image
to the canvas, and then calls three other functions to add text, and two lines to the canvas
Parameters:
| Name | Type | Description |
|---|---|---|
params |
the canvas | |
img |
the image to be drawn | |
coord |
the coordinates of the hocker | |
cm |
the number of the hocker | |
v_sum |
the value of the hocker |
- Source:
setImage(params, img, grid)
It takes a canvas, an image, and a boolean, and then it adds the image to the canvas, and then it
draws the text and the grid if the boolean is true
Parameters:
| Name | Type | Description |
|---|---|---|
params |
the canvas object | |
img |
the image to be loaded | |
grid |
boolean, whether to draw the grid or not |
- Source:
setImage(params, img)
This function takes a fabric.js canvas object and an image URL, and adds the image to the canvas.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
the canvas object | |
img |
The image to be loaded |
- Source:
setImage(params, img, grid)
It takes a canvas, an image, and a boolean, and then it adds the image to the canvas, and then it
draws the text and the grid if the boolean is true
Parameters:
| Name | Type | Description |
|---|---|---|
params |
the canvas object | |
img |
the image to be loaded | |
grid |
boolean, whether to draw the grid or not |
- Source:
setImage(params, img, grid)
It takes a canvas, an image, and a boolean, and then it adds the image to the canvas, and then it
draws the text and the grid if the boolean is true
Parameters:
| Name | Type | Description |
|---|---|---|
params |
the canvas object | |
img |
the image to be loaded | |
grid |
boolean, whether to draw the grid or not |
- Source:
setImage(params, img, grid)
It takes a canvas, an image, and a boolean, and then it adds the image to the canvas, and then it
draws the text and the grid if the boolean is true
Parameters:
| Name | Type | Description |
|---|---|---|
params |
the canvas object | |
img |
the image to be loaded | |
grid |
boolean, whether to draw the grid or not |
- Source:
setImage(params, img, grid)
It takes a canvas, an image, and a boolean, and then it adds the image to the canvas, and then it
draws the text and the grid if the boolean is true
Parameters:
| Name | Type | Description |
|---|---|---|
params |
the canvas object | |
img |
the image to be loaded | |
grid |
boolean, whether to draw the grid or not |
setMax(params)
The function "setMax" sets a variable "newMax" to the value of the parameter passed in.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is a value that will be assigned to the `newMax` variable. |
- Source:
setMax(params)
The function setMax sets a new maximum value based on the input parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
It looks like the `setMax` function is intended to set a maximum value. The `params` variable should contain the value that you want to set as the new maximum. You can call the `setMax` function with the desired value as the argument for `params`. For example, `setMax( |
- Source:
setPelSize()
It sets the pelvis size.
- Source:
setPelSize()
It sets the pelvis size.
- Source:
setProduct2(params)
The function sets the values of product, label, and notes for a specific element with the ID
"product2".
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is an object that contains the following properties: |
- Source:
setProduct2(params)
The function sets the values of product, label, and notes for a specific element with the ID
"product2".
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is an object that contains the following properties: |
- Source:
setReboot()
It shows a modal dialog with a message
setStationNumber()
The `setStationNumber` function validates input values, constructs a URL with parameters, sends a
GET request using XMLHttpRequest, displays a waiting modal, and changes the host address after a set
interval.
Returns:
The `setStationNumber` function is returning nothing explicitly. It either completes its
execution without any explicit return value or it may return `undefined` implicitly.
setTime()
The function `setTime` sends a request to a server to set the time using the local time obtained
from the client.
Setting_List(list)
The function creates a list of settings with icons and labels using HTML and CSS classes.
Parameters:
| Name | Type | Description |
|---|---|---|
list |
The `list` parameter is an array of arrays, where each inner array contains two elements: the first element is a string representing the setting name, and the second element is a string representing the icon to be displayed for that setting. |
setUserCity(params)
The function `setUserCity` sets the user's city in a script setting.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is a variable that represents the value you want to set for the `UserCity` property in the `script_setting` object. |
setUserCompany(params)
The function `setUserCompany` sets the value of `script_setting.UserCompany` to the provided
parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is a variable that represents the value you want to set for the `UserCompany` property in the `script_setting` object. |
setUserEinleitung(params)
The function setUserEinleitung sets the UserEinleitung property in the script_setting object to the
provided parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is a variable that can hold any value. It is used as an argument when calling the `setUserEinleitung` function. The purpose of this function is to set the value of the `UserEinleitung` property in the `script_setting` object. |
setUserMail(params)
The function `setUserMail` sets the value of `script_setting.UserMail` to the provided parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is the email address that you want to set for the user. |
setUserName(params)
The function sets the value of the UserName property in the script_setting object.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is a variable that represents the value you want to set as the username. |
setUserPhone(params)
The function `setUserPhone` sets the value of `script_setting.UserPhone` to the provided parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is the value that will be assigned to the `UserPhone` property of the `script_setting` object. |
setUserStreet(params)
The function `setUserStreet` sets the value of `script_setting.UserStreet` to the provided
parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is a variable that represents the value of the user's street address. |
setUserUnit(params)
The function `setUserUnit` sets the `UserUnit` property of the `script_setting` object to the
provided parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is the value that will be assigned to the `UserUnit` property of the `script_setting` object. |
setUserWeb(params)
The function `setUserWeb` sets the value of `script_setting.UserWeb` to the provided parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is a variable that represents the value you want to set for the `UserWeb` property in the `script_setting` object. |
setView(x, y)
The function setView adjusts the view control settings of a 3D chart in JavaScript.
Parameters:
| Name | Type | Description |
|---|---|---|
x |
The `x` parameter in the `setView` function represents the alpha value for the view control in a 3D chart. It determines the horizontal rotation angle of the chart view. | |
y |
The parameter `y` in the `setView` function corresponds to the beta angle in the `viewControl` option of the 3D chart. It controls the vertical rotation of the chart view. Changing the `y` value will adjust the vertical angle at which the chart is viewed. |
- Source:
show3d()
The function show3d toggles the 'hidden' class on the element with the id 'chart-container'.
showErrormessage()
If the error message is not displayed, display it. Otherwise, hide it
showMask(num)
It sends a command to the Sattelanalyse server to show the mask of the JPEG image with the given
number
Parameters:
| Name | Type | Description |
|---|---|---|
num |
the number of the camera |
- Source:
showMask(num)
It sends a command to the Sattelanalyse server to show the mask of the JPEG image with the given
number
Parameters:
| Name | Type | Description |
|---|---|---|
num |
the number of the camera |
- Source:
showProductDetails(num)
The function `showProductDetails` retrieves product information using an AXIOS request and displays
it in a table on the webpage.
Parameters:
| Name | Type | Description |
|---|---|---|
num |
The `num` parameter is the product number or identifier that is used to fetch the product details from the server. |
ShowTableCategory(param)
The function `ShowTableCategory` hides all elements with the class 'category' and shows the element
with the specified ID while also storing the selected category in localStorage.
Parameters:
| Name | Type | Description |
|---|---|---|
param |
The `param` variable in the `ShowTableCategory` function is used to specify the category ID that you want to show in the table. The function hides all elements with the class name 'category' and then shows the element with the specified category ID. If `param` is an empty string |
store(val, key, a)
The function `store` takes in a value, a key, and an analysis object, and stores the value in the
analysis object using the key. It then sends the updated analysis object to a server and logs the
action if the `log` variable is true.
Parameters:
| Name | Type | Description |
|---|---|---|
val |
The `val` parameter represents the value that you want to store in the `analysis` object. | |
key |
The `key` parameter is a string that represents the key or property name in the `analysis` object. It is used to access and modify the value associated with that key in the `analysis` object. | |
a |
The parameter 'a' is used as an index to access a specific element in the 'analysis' array. |
- Source:
store(val, key, a)
The function "store" stores a value in an object called "analysis" and sends the updated analysis
object as a JSON string.
Parameters:
| Name | Type | Description |
|---|---|---|
val |
The `val` parameter represents the value that you want to store in the analysis object. | |
key |
The `key` parameter is a string that represents the key or property name in the `analysis` object where the `val` value will be stored. | |
a |
The parameter "a" is used as a key to access a specific object within the "analysis" object. It is used to store the value "val" with the key "key" in the specified object. |
suche(params)
It searches for the given parameter in the attribute 'suche' of all elements with the class 'suche'
and shows the elements that contain the parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The search term |
- Source:
suche(params)
The function "suche" hides elements with class "suche" that do not match the search parameter and
shows elements that do match the search parameter.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` variable in the `suche` function is used to search for elements with a specific attribute value. The function loops through all elements with the class name 'suche', hides them initially, and then shows the elements whose 'suche' attribute value includes the `params` value |
- Source:
SystemCards()
The function `SystemCards` fetches a JSON file containing system cards and passes the data to the
`Setting_List` function, while handling any errors with the `getError` function.
TESTJSN()
The function TESTJSN processes language keys and checks for missing translations in a JSON object.
TextTo(params, x, field)
The function updates and stores product and label values in local storage based on user input.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
number | A parameter that determines which product field to update (either 1 or 2). |
x |
HTMLBaseElement | The "x" parameter is a reference to the HTML element that triggered the function. |
field |
number | The field parameter is used to determine whether the value being passed should be assigned to the "product" or "label" field in the local storage object. If field is equal to 1, the value is assigned to the "product" field, otherwise it is assigned to the "label" field |
- Source:
TextTo(params, x, field)
The function updates and stores product and label values in local storage based on user input.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
number | A parameter that determines which product field to update (either 1 or 2). |
x |
HTMLBaseElement | The "x" parameter is a reference to the HTML element that triggered the function. |
field |
number | The field parameter is used to determine whether the value being passed should be assigned to the "product" or "label" field in the local storage object. If field is equal to 1, the value is assigned to the "product" field, otherwise it is assigned to the "label" field |
- Source:
time_to_use(params)
The function calculates the number of days between a given date and the current date, and displays a
warning message if the number of days is less than 300.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The parameter `params` is expected to be a date string in a format that can be parsed by the `Date` constructor. It represents the date for which the time to use is being calculated. |
time_to_use_custom_pro(params)
The function calculates the number of days between a given date and the current date, and displays a
warning message if the difference is less than 60 days.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
It looks like the `params` variable is expected to be a date value that is passed into the `time_to_use_custom_pro` function. The function then calculates the number of days between the provided date and the current date. |
- Source:
time_to_use_custom_pro(params)
The function calculates the number of days between a given date and the current date, and displays a
warning message if the difference is less than 60 days.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
It looks like the `params` variable is missing its value in the code snippet you provided. To use the `time_to_use_custom_pro` function properly, you need to pass a valid date string as the `params` argument when calling the function. |
- Source:
tM(i, j, idx)
The function `tM` toggles the background color of an element based on the value of
`custommask[idx]`.
Parameters:
| Name | Type | Description |
|---|---|---|
i |
The parameter "i" is not used in the given code snippet. It is not clear what it represents without further context. | |
j |
The parameter "j" is not used in the given function. It is not clear what its purpose is. | |
idx |
The parameter "idx" represents the index of the custommask array. |
- Source:
toGalerie(id)
The function "toGalerie" sets a value in the local storage and redirects the user to a specific
page.
Parameters:
| Name | Type | Description |
|---|---|---|
id |
The `id` parameter is a unique identifier for a specific gallery. |
toggleCoPVisibility()
The function `toggleCoPVisibility` updates display options based on checkbox states and optionally
redraws the CoP data if needed.
- Source:
toggleCoPVisibility()
The function `toggleCoPVisibility` updates display options based on checkbox states and optionally
redraws the CoP data if needed.
- Source:
toggleHidden(params)
The function `toggleHidden` toggles the visibility of an element with the ID `hidden_` by
adding or removing the class `uk-hidden`.
Parameters:
| Name | Type | Description |
|---|---|---|
params |
The `params` parameter is a string that represents the ID of the element you want to toggle the visibility of. |
toggleTrailVisibility()
The function `toggleTrailVisibility` toggles the visibility of a trail based on the checked status
of an element with the id 'trailVisibility'.
- Source:
toggleTrailVisibility()
The function `toggleTrailVisibility` toggles the visibility of a trail based on the checked status
of an element with the id 'trailVisibility'.
- Source:
ToggleViewMode(mode)
It checks the local storage for the value of the key 'viewmode'. If the value is 'basic', it adds
the class 'basicview' to all elements with the class 'adba'. If the value is 'advanced', it removes
the class 'basicview' from all elements with the class 'adba'
Parameters:
| Name | Type | Description |
|---|---|---|
mode |
string | This is the view mode you want to switch to. |
- Source:
toogleMaskpoint(i, j, idx)
It toggles the maskpoint at the given index, and sends the mask to the server
Parameters:
| Name | Type | Description |
|---|---|---|
i |
the row of the Mp | |
j |
the number of rows | |
idx |
the index of the Mp in the custommask array |
- Source:
toProtokol()
It reads the values of the three input fields and sends them to the server
- Source:
toProtokol()
It reads the values of the three input fields and sends them to the server
- Source:
toProtokoll(id)
The function "toProtokoll" sets a value in the local storage and redirects the user to a specific
page.
Parameters:
| Name | Type | Description |
|---|---|---|
id |
The `id` parameter is a unique identifier for a session. |
toSDA()
The function toSDA redirects the user to a specific page for saddle pressure analysis.
- Source:
translatejs()
It fetches the JSON file, then calls the _Translate function with the JSON file as an argument.
translatejs()
This function attempts to fetch and parse a JSON file located at "/speach/speach.json?v=1" and then
passes the resulting data to another function called "_Translate".
- Source:
umschalten(id)
If the type of the element with the id "id" is "password", then change it to "text", otherwise
change it to "password"
Parameters:
| Name | Type | Description |
|---|---|---|
id |
string | The id of the password field. |
- Source:
update_jsn(jsn)
The function `update_jsn` checks for updates in a JSON object and updates a file input element with
the latest version name if an update is available.
Parameters:
| Name | Type | Description |
|---|---|---|
jsn |
The parameter `jsn` is expected to be an object that contains information about different versions of a software. It should have a property called `versionen`, which is an array of objects. Each object in the `versionen` array should have properties `version` and `name`, representing the |
updateValue(e)
The function `updateValue` is used to update the value of an input element and display a warning
notification if the value contains either a double quote or a single quote.
Parameters:
| Name | Type | Description |
|---|---|---|
e |
The parameter `e` is an event object that is passed to the function when it is called as an event handler. It represents the event that triggered the function, such as a keypress or a change in an input field. |
Vollbild()
The function toggles between opening and closing fullscreen mode.
wlanconnect(essid)
It sends a request to the server to connect to a WLAN with the given ESSID and the given key
Parameters:
| Name | Type | Description |
|---|---|---|
essid |
string | The name of the network you want to connect to. |
- Source:
Returns:
The return value is the result of the last command executed in the function.