Changes for page 01 Lua Functions

Last modified by Theodore Xu on 2023/10/26 10:51

From version 5.33
edited by Stone Wu
on 2022/07/12 10:50
Change comment: (Autosaved)
To version 5.34
edited by Stone Wu
on 2022/07/12 10:55
Change comment: (Autosaved)

Summary

Details

Page properties
Content
... ... @@ -1839,6 +1839,8 @@
1839 1839  == **normal_getdata_byname(string name)** ==
1840 1840  
1841 1841  
1842 +
1843 +
1842 1842  **Function:** Read the data of the monitoring point name
1843 1843  
1844 1844  **Parameter:**
... ... @@ -1855,4 +1855,18 @@
1855 1855  
1856 1856  == **luaMySql.init(string sourcename, string username, string password, string host, number port, string character)** ==
1857 1857  
1858 -
1860 +**Function:** Configure database connection parameters
1861 +
1862 +**Parameter:**
1863 +
1864 +sourcename: the name of database
1865 +
1866 +username: the connected username
1867 +
1868 +password:
1869 +
1870 +**Return:**
1871 +
1872 +Succeed: string
1873 +
1874 +Failed: mil