Changes for page 01 Lua Functions

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

From version 5.31
edited by Stone Wu
on 2022/07/12 10:45
Change comment: (Autosaved)
To version 5.32
edited by Stone Wu
on 2022/07/12 10:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1781,7 +1781,7 @@
1781 1781  end
1782 1782  {{/code}}
1783 1783  
1784 -= **11 Special function for V-NET** =
1784 += **10 Special function for V-NET** =
1785 1785  
1786 1786  == **normal_get_alldata()** ==
1787 1787  
... ... @@ -1826,10 +1826,31 @@
1826 1826  
1827 1827  **Parameter:**
1828 1828  
1829 -name: the name of mo
1829 +name: the name of monitoring point
1830 1830  
1831 +data: the data to be written
1832 +
1831 1831  **Return:**
1832 1832  
1833 -Succeed: calculated result
1835 +Succeed: string: The value of the monitor point before it is written
1834 1834  
1835 -Failed: multi, error code
1837 +Failed: mil
1838 +
1839 +== **normal_getdata_byname(string name)** ==
1840 +
1841 +
1842 +**Function:** Read the data of the monitoring point name
1843 +
1844 +**Parameter:**
1845 +
1846 +name: the name of monitoring point
1847 +
1848 +**Return:**
1849 +
1850 +Succeed: string
1851 +
1852 +Failed: mil
1853 +
1854 += **11 MySQL database operation** =
1855 +
1856 +