Changes for page 01 Lua Functions
Last modified by Theodore Xu on 2023/10/26 10:51
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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:** ... ... @@ -1853,4 +1853,20 @@ 1853 1853 1854 1854 = **11 MySQL database operation** = 1855 1855 1856 - 1858 +== **luaMySql.init(string sourcename, string username, string password, string host, number port, string character)** == 1859 + 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