Skip to content

Commit 0f55baf

Browse files
committed
feat(HikVision): add ChangeWindowNum function
1 parent 97fd5a5 commit 0f55baf

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

src/components/BootstrapBlazor.HikVision/Components/HikVisionWebPlugin.razor.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,4 +390,15 @@ public async Task<bool> StopRecord()
390390
}
391391
return ret;
392392
}
393+
394+
/// <summary>
395+
/// 更改视口数量方法
396+
/// </summary>
397+
/// <param name="iWndType">画面分割类型 1- 1*1,2- 2*2,3- 3*3,4- 4*4 (最大显示数值为4*4分割,数字超过4返回16分割)</param>
398+
/// <returns></returns>
399+
public async Task<bool> ChangeWindowNum(string iWndType)
400+
{
401+
IsMultipleWindowType = iWndType != "1";
402+
return await InvokeAsync<bool>("changeWndNum", Id, iWndType);
403+
}
393404
}

0 commit comments

Comments
 (0)