modify for adding ethernet lan js interface

Signed-off-by: liuxiyao223 <liuxiyao223@huawei.com>
This commit is contained in:
liuxiyao223 2023-11-07 11:03:45 +08:00
parent b886cb4935
commit 337710ef72

View File

@ -305,7 +305,23 @@ declare namespace ethernet {
* @systemapi Hide this for inner system use.
* @since 9
*/
DHCP = 1
DHCP = 1,
/**
* LAN Static configuration.
* @syscap SystemCapability.Communication.NetManager.Ethernet
* @systemapi Hide this for inner system use.
* @since 9
*/
LAN_STATIC = 2,
/**
* LAN Dynamic configuration.
* @syscap SystemCapability.Communication.NetManager.Ethernet
* @systemapi Hide this for inner system use.
* @since 3
*/
LAN_DHCP = 3
}
}