360 lines
11 KiB
Plaintext
360 lines
11 KiB
Plaintext
//
|
|
// Generated by sm1-html-2-json5 version:0.5 Chameleon version:3.8.1 On Python:3.12.3 at 2025-06-15 10:49:09
|
|
//
|
|
{
|
|
'PackageName': 'Datetime',
|
|
'prefix': 'dat',
|
|
'MenuHeading': 'System',
|
|
'MenuDescription': 'Date and time',
|
|
'MenuNavigation': '4000 300',
|
|
'firstPanel': 'PARAMS',
|
|
'signalEvent': 'smeserver-datetime-update',
|
|
'html': [
|
|
{
|
|
'Name': 'params',
|
|
'route': 'PARAMS',
|
|
'Header': 'Date and time configuration',
|
|
'SubHeader': 'Time Configuration',
|
|
'Input1': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'time_mode',
|
|
'Label': 'Time Setting Mode:',
|
|
'Options': [
|
|
{
|
|
'Value': 'dat_ntp_server',
|
|
'Text': 'NTP server'
|
|
},
|
|
{
|
|
'Value': 'dat_manually_set',
|
|
'Text': 'Set manually'
|
|
}
|
|
]
|
|
},
|
|
'Paragraph1': 'The server is periodically synchronizing the system clock to the network time protocol (NTP) server specified below. To synchronize to a different NTP server, enter a different hostname or IP address in the field below.',
|
|
'Input2': {
|
|
'Type': 'Text',
|
|
'Value': 'smeserver.pool.ntp.org',
|
|
'Name': 'ntpserver',
|
|
'Label': 'Set Date and Time:'
|
|
},
|
|
'Paragraph2': 'Choose this option to stop syncronizing the system clock to the NTP server.When the NTP service is disabled, you can set the system date and time manually from this page.',
|
|
'Input3': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'year',
|
|
'Label': 'Year:',
|
|
'Options': [
|
|
{
|
|
'Value': '2025',
|
|
'Text': '2025'
|
|
},
|
|
{
|
|
'Value': '2026',
|
|
'Text': '2026'
|
|
},
|
|
{
|
|
'Value': '2027',
|
|
'Text': '2027'
|
|
},
|
|
{
|
|
'Value': '2028',
|
|
'Text': '2028'
|
|
},
|
|
{
|
|
'Value': '2029',
|
|
'Text': '2029'
|
|
},
|
|
{
|
|
'Value': '2030',
|
|
'Text': '2030'
|
|
},
|
|
{
|
|
'Value': '2031',
|
|
'Text': '2031'
|
|
},
|
|
{
|
|
'Value': '2032',
|
|
'Text': '2032'
|
|
},
|
|
{
|
|
'Value': '2033',
|
|
'Text': '2033'
|
|
},
|
|
{
|
|
'Value': '2034',
|
|
'Text': '2034'
|
|
},
|
|
{
|
|
'Value': '2035',
|
|
'Text': '2035'
|
|
},
|
|
{
|
|
'Value': '2036',
|
|
'Text': '2036'
|
|
},
|
|
{
|
|
'Value': '2037',
|
|
'Text': '2037'
|
|
},
|
|
{
|
|
'Value': '2038',
|
|
'Text': '2038'
|
|
},
|
|
{
|
|
'Value': '2039',
|
|
'Text': '2039'
|
|
},
|
|
{
|
|
'Value': '2040',
|
|
'Text': '2040'
|
|
},
|
|
{
|
|
'Value': '2041',
|
|
'Text': '2041'
|
|
},
|
|
{
|
|
'Value': '2042',
|
|
'Text': '2042'
|
|
},
|
|
{
|
|
'Value': '2043',
|
|
'Text': '2043'
|
|
},
|
|
{
|
|
'Value': '2044',
|
|
'Text': '2044'
|
|
},
|
|
{
|
|
'Value': '2045',
|
|
'Text': '2045'
|
|
},
|
|
{
|
|
'Value': '2046',
|
|
'Text': '2046'
|
|
},
|
|
{
|
|
'Value': '2047',
|
|
'Text': '2047'
|
|
},
|
|
{
|
|
'Value': '2048',
|
|
'Text': '2048'
|
|
},
|
|
{
|
|
'Value': '2049',
|
|
'Text': '2049'
|
|
},
|
|
{
|
|
'Value': '2050',
|
|
'Text': '2050'
|
|
},
|
|
{
|
|
'Value': '2051',
|
|
'Text': '2051'
|
|
},
|
|
{
|
|
'Value': '2052',
|
|
'Text': '2052'
|
|
},
|
|
{
|
|
'Value': '2053',
|
|
'Text': '2053'
|
|
},
|
|
{
|
|
'Value': '2054',
|
|
'Text': '2054'
|
|
},
|
|
{
|
|
'Value': '2055',
|
|
'Text': '2055'
|
|
}
|
|
]
|
|
},
|
|
'Input4': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'month',
|
|
'Label': 'Month:',
|
|
'Options': [
|
|
{
|
|
'Value': '01',
|
|
'Text': '01'
|
|
},
|
|
{
|
|
'Value': '02',
|
|
'Text': '02'
|
|
},
|
|
{
|
|
'Value': '03',
|
|
'Text': '03'
|
|
},
|
|
{
|
|
'Value': '04',
|
|
'Text': '04'
|
|
},
|
|
{
|
|
'Value': '05',
|
|
'Text': '05'
|
|
},
|
|
{
|
|
'Value': '06',
|
|
'Text': '06'
|
|
},
|
|
{
|
|
'Value': '07',
|
|
'Text': '07'
|
|
},
|
|
{
|
|
'Value': '08',
|
|
'Text': '08'
|
|
},
|
|
{
|
|
'Value': '09',
|
|
'Text': '09'
|
|
},
|
|
{
|
|
'Value': '10',
|
|
'Text': '10'
|
|
},
|
|
{
|
|
'Value': '11',
|
|
'Text': '11'
|
|
},
|
|
{
|
|
'Value': '12',
|
|
'Text': '12'
|
|
}
|
|
]
|
|
},
|
|
'Input5': {
|
|
'Type': 'Text',
|
|
'Value': '15',
|
|
'Name': 'day',
|
|
'Label': 'Hour:'
|
|
},
|
|
'Input6': {
|
|
'Type': 'Select',
|
|
'Value': '',
|
|
'Name': 'hour',
|
|
'Label': 'Hour:',
|
|
'Options': [
|
|
{
|
|
'Value': '00',
|
|
'Text': '00'
|
|
},
|
|
{
|
|
'Value': '01',
|
|
'Text': '01'
|
|
},
|
|
{
|
|
'Value': '02',
|
|
'Text': '02'
|
|
},
|
|
{
|
|
'Value': '03',
|
|
'Text': '03'
|
|
},
|
|
{
|
|
'Value': '04',
|
|
'Text': '04'
|
|
},
|
|
{
|
|
'Value': '05',
|
|
'Text': '05'
|
|
},
|
|
{
|
|
'Value': '06',
|
|
'Text': '06'
|
|
},
|
|
{
|
|
'Value': '07',
|
|
'Text': '07'
|
|
},
|
|
{
|
|
'Value': '08',
|
|
'Text': '08'
|
|
},
|
|
{
|
|
'Value': '09',
|
|
'Text': '09'
|
|
},
|
|
{
|
|
'Value': '10',
|
|
'Text': '10'
|
|
},
|
|
{
|
|
'Value': '11',
|
|
'Text': '11'
|
|
},
|
|
{
|
|
'Value': '12',
|
|
'Text': '12'
|
|
},
|
|
{
|
|
'Value': '13',
|
|
'Text': '13'
|
|
},
|
|
{
|
|
'Value': '14',
|
|
'Text': '14'
|
|
},
|
|
{
|
|
'Value': '15',
|
|
'Text': '15'
|
|
},
|
|
{
|
|
'Value': '16',
|
|
'Text': '16'
|
|
},
|
|
{
|
|
'Value': '17',
|
|
'Text': '17'
|
|
},
|
|
{
|
|
'Value': '18',
|
|
'Text': '18'
|
|
},
|
|
{
|
|
'Value': '19',
|
|
'Text': '19'
|
|
},
|
|
{
|
|
'Value': '20',
|
|
'Text': '20'
|
|
},
|
|
{
|
|
'Value': '21',
|
|
'Text': '21'
|
|
},
|
|
{
|
|
'Value': '22',
|
|
'Text': '22'
|
|
},
|
|
{
|
|
'Value': '23',
|
|
'Text': '23'
|
|
}
|
|
]
|
|
},
|
|
'Input7': {
|
|
'Type': 'Text',
|
|
'Value': '42',
|
|
'Name': 'minute',
|
|
'Label': 'Second:'
|
|
},
|
|
'Input8': {
|
|
'Type': 'Text',
|
|
'Value': '47',
|
|
'Name': 'second',
|
|
'Label': 'second'
|
|
},
|
|
'Input9': {
|
|
'Type': 'Submit',
|
|
'Value': 'Save',
|
|
'Name': null,
|
|
'Label': null
|
|
}
|
|
}
|
|
]
|
|
} |