"modifile wifi/test/wifi_testapp/entry/src/main/ets/pages/subScenarioTest/wifiConnectScenarioTest.ets 将应用提升至api10,增加网页时延测试页面"

Signed-off-by: shitijun <shitijun@kaihong.com>
This commit is contained in:
shitijun 2023-11-17 18:26:38 +08:00
parent 20cad1dd19
commit 6687b02ca9

View File

@ -19,14 +19,14 @@ import prompt from '@system.prompt';
import router from '@system.router';
import { PageTitle } from '../../Component/pageTitle';
import { TestImageDisplay } from '../../Component/testImageDisplay';
import { TestData } from '../../MainAbility/model/testData'
import { TestData } from '../../entryability/model/testData'
import { ScenarioContentTable } from '../../Component/scenarioContentTable'
import {
WifiConnectScenarioTestCase ,
initWifiConnectScenarioData
} from '../../MainAbility/model/scenarioTestDataModels'
import * as WifiInterface from '../../MainAbility/model/wifiInterface'
import ConfigData from '../../Utils/ConfigData';
} from '../../entryability/model/scenarioTestDataModels'
import * as WifiInterface from '../../entryability/model/wifiInterface'
import ConfigData from '../../utils/ConfigData';
/**
* WiFi Connect Scenario Test Page Of WiFi test
@ -37,25 +37,25 @@ import ConfigData from '../../Utils/ConfigData';
struct wifiConnectScenarioTest {
@State message: string = 'wifiConnectScenarioTest';
private testItem: TestData = router.getParams().testId;
@State changeIndex: number = - 1
@State changeIndex: Number = - 1
@StorageLink( "wifiConnectScenarioMessage" ) wifiConnectScenarioMessage: string = ""
@State w_ssid: string = "TP-LINK_6365";
@State w_bssid: string = "6C:B1:58:75:63:65";
@State w_preSharedKey: string = "12345678";
@State w_isHiddenSsid: boolean = false;
@State w_securityType: number = 3
@State w_creatorUid: number = 1;
@State w_disableReason: number = 0;
@State w_netId: number = 100 ;
@State w_randomMacType: number = 0 ;
@State w_securityType: Number = 3
@State w_creatorUid: Number = 1;
@State w_disableReason: Number = 0;
@State w_netId: Number = 100 ;
@State w_randomMacType: Number = 0 ;
@State w_randomMacAddr: string = "08:fb:ea:1b:38:aa"
@State w_ipType: number = 1 ;
@State w_staticIp_ipAddress: number = 3232235880 ;
@State w_staticIp_gateway: number = 3232235777 ;
@State w_staticIp_dnsServers: number = 3716386629 ;
@State w_ipType: Number = 1 ;
@State w_staticIp_ipAddress: Number = 3232235880 ;
@State w_staticIp_gateway: Number = 3232235777 ;
@State w_staticIp_dnsServers: Number = 3716386629 ;
@State w_staticIp_domains: Array<string> = [ "0", "1", "2" ] ;
@State w_networkId: number = 0 ; // id,netId,networkId是一个值嘛
@State w_featureId: number = 1 ;
@State w_networkId: Number = 0 ; // id,netId,networkId是一个值嘛
@State w_featureId: Number = 1 ;
aboutToAppear() {
AppStorage.SetOrCreate( 'w_ssid' , this.w_ssid );