/// <summary> /// 构造函数 /// </summary> public MainWinForm() { m_videoPanels = new ArrayList(); InitializeComponent(); devideScreen(); m_sdkOperator = new BVCUSdkOperator(this); m_getPuList = new GetPuListDel(procGetPuList);//设置获得设备列表后的响应 m_capturePath = ""; m_recordPath = ""; m_activePanelBorder = new RectBorder(panelVideo, Color.Red); Panel panel = m_videoPanels[0] as Panel; m_activePanelBorder.show(panel.Location, panel.Width, panel.Height, ACTIVE_PANEL_BORDER_WIDTH); m_activePanel = panel; m_sdkOperator.PtzSpeed = (int)numericUpDownPTZSpeed.Value; dateTimePickerBegin.Value = dateTimePickerBegin.Value.AddDays(-2); }
public CFileTrans(BVCUSdkOperator sdkOperator) { m_sdkOperator = sdkOperator; timerGetTransInfo = new System.Windows.Forms.Timer(); timerGetTransInfo.Interval = I_TICK_M_SECOND; timerGetTransInfo.Tick += TickGetTransInfoLoop; }
public void SetBVCUSdk(BVCUSdkOperator globalBVCUSdk) { m_globalBVCUSdk = globalBVCUSdk; }