亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? bocom.pas

?? 把類封裝成dll文件
?? PAS
?? 第 1 頁 / 共 3 頁
字號:
unit Bocom;
//***********************************************************
//本類是根據(jù)Bocom大屏的矩陣服務(wù)器管理軟件編寫,用作開發(fā)客戶端程序,因此本類
//中封裝了跟服務(wù)器通訊的基本接口,如連接、斷開連接、發(fā)送信息等指令接口,以及
//delaytime等參數(shù)接口,在此基礎(chǔ)上可以很容易完成應(yīng)用程序開發(fā)。
//具體是用方法:
//1 調(diào)用Connection(Ip:string;Port:integer)過程進行服務(wù)器連接 。
//2 設(shè)置返回信息等待時間delaytime,調(diào)用控制命令函數(shù),完成數(shù)據(jù)發(fā)送并返回信息。
//3 調(diào)用DisConnection過程斷開與服務(wù)器的連接。
//**********************************************************

interface

uses
   SysUtils,   Forms,   ScktComp,DateUtils, Dialogs,classes;

type

 TBocom = class		//自定義基類
 
 //------------------------------------------------------------------------------------------
  private		//內(nèi)部變量、函數(shù)和過程定義
    CommandStr:string;	//命令字符串
	BackMessage:string;	//控制命令反饋信息
    client : Tclientsocket;	//生成TclientSocket對象
    function SendMessage:string ;  //發(fā)送信息
    procedure ReadMessage(Sender: TObject;Socket: TCustomWinSocket);  //讀取信息事件
    
  //-----------------------------------------------------------------------------------------

  public            //外部可見變量和函數(shù)定義

  DelayTime:integer;// 接收信息延遲時間設(shè)置,在時間范圍內(nèi)接收信息,超出后跳出。
  
 //*********************外部可調(diào)用過程******************************** 
 
 //--//視頻信號控制---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 
			function  VideoShow(VideoShow_Source:string;VideoShow_Left:integer;VideoShow_Top:integer;VideoShow_Width:integer;VideoShow_Hight:integer;VideoShow_ID:integer):string;//開視頻
			function  VideoSize(VideoSize_Source:string;VideoSize_Width:integer;VideoSize_Hight:integer):string;//調(diào)整大小
			function  VideoMove(VideoMove_Source:string;VideoMove_Left:integer;VideoMove_Top:integer):string;//移動位置
			function  VideoClose(VideoClose_Source:string):string;//關(guān)閉視頻
			function  VideoTop(VideoTop_Source:string):string;//前置窗口
			function  VideoBright(VideoBright_Source:string;VideoBright_Value:integer):string;//調(diào)整亮度
			function  VideoContrast(VideoContrast_Source:string;VideoContrast_Value:integer):string;//調(diào)整對比度
			function  VideoHue(VideoHue_Source:string;VideoHue_Value:integer):string;//調(diào)整色度
			function  VideoFormatN(VideoFormatN_Source:string):string;//信號制式ntsc
			function  VideoFormatS(VideoFormatS_Source:string):string;//信號制式secam
			function  VideoFormatP(VideoFormatP_Source:string):string;//信號制式pal
			
	//-----攝像機信號控制-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
	
			function  CameraNear(CameraNear_Speed:integer;CameraNear_Num:integer):string;//攝像機拉近開始
			function  CameraStopNear(CameraStopNear_Num:integer):string;//攝像機拉近結(jié)束
			function  CameraFar(CameraFar_Speed:integer;CameraFar_Num:integer):string;//攝像機拉遠開始
			function  CameraStopFar(CameraStopFar_Num:integer):string;//攝像機拉遠結(jié)束
			function  CameraUp(CameraUp_Speed:integer;CameraUp_Num:integer):string;//攝像機上移開始
			function  CameraStopUp(CameraStopUp_Num:integer):string;//攝像機上移結(jié)束
			function  CameraDown(CameraDown_Speed:integer;CameraDown_Num:integer):string;//攝像機下移開始
			function  CameraStopDown(CameraStopDown_Num:integer):string;//攝像機下移結(jié)束
			function  CameraLeft(CameraLeft_Speed:integer;CameraLeft_Num:integer):string;//攝像機左移開始
			function  CameraStopLeft(CameraStopLeft_Num:integer):string;//攝像機左移結(jié)束
			function  CameraRight(CameraRight_Speed:integer;CameraRight_Num:integer):string;//攝像機右移開始
			function  CameraStopRight(CameraStopRight_Num:integer):string;//攝像機右移結(jié)束
			function  CameraFocusFar(CameraFocusFar_Speed:integer;CameraFocusFar_Num:integer):string;//調(diào)遠焦距開始
			function  CameraStopFocusFar(CameraStopFocusFar_Num:integer):string;//調(diào)遠焦距結(jié)束
			function  CameraFocusNear(CameraFocusNear_Speed:integer;CameraFocusNear_Num:integer):string;//調(diào)近焦距開始
			function  CameraStopFocusNear(CameraStopFocusNear_Num:integer):string;//調(diào)近焦距結(jié)束
			
	//RGB信號控制---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
	
			function  RGBShow(RGBShow_Source:string;RGBShow_Left:integer;RGBShow_Top:integer;RGBShow_Width:integer;RGBShow_Hight:integer;RGBShow_ID:integer):string;//開RGB信號
			function  RGBMove(RGBMove_Source:string;RGBMove_Left:integer;RGBMove_Top:integer):string;//移動位置
			function  RGBSize(RGBSize_Source:string;RGBSize_Width:integer;RGBSize_Hight:integer):string;//調(diào)整大小
			function  RGBTop(RGBTop_Source:string):string;//前置窗口
			function  RGBLeft(RGBLeft_Source:string):string;//信號源左移
			function  RGBRight(RGBRight_Source:string):string;//信號源右移
			function  RGBUp(RGBUp_Source:string):string;//信號源上移
			function  RGBDown(RGBDown_Source:string):string;//信號源下移
			function  RGBBrightUp(RGBBrightUp_Source:string):string;//調(diào)整亮度+
			function  RGBBrightDown(RGBBrightDown_Source:string):string;//調(diào)整亮度-
			function  RGBContrastUp(RGBContrastUp_Source:string):string;//調(diào)整對比度+
			function  RGBContrastDown(RGBContrastDown_Source:string):string;//調(diào)整對比度-
			function  RGBClose(RGBClose_Source:string):string;//關(guān)閉RGB信號
			

			
	//NetPC控制-----------------------------------------------------------------------------------------------------------------------------------------------------------
	
			function  NetPcShow(NetPcShow_Source:string;NetPcShow_Left:integer;NetPcShow_Top:integer;NetPcShow_Width:integer;NetPcShow_Hight:integer;NetPcShow_IP:string):string;//開NETPC
			function  NetPcMove(NetPcMove_Source:string;NetPcMove_Left:integer;NetPcMove_Top:integer):string;//移動位置
			function  NetPcTop(NetPcTop_Source:string):string;//前置窗口
			function  NetPcSize(NetPcSize_Source:string;NetPcSize_Width:integer;NetPcSize_Hight:integer):string;//調(diào)整大小
			function  NetPcClose(NetPcClose_Source:string):string;//關(guān)NETPC
			
	//其他控制---------------------------------------------------------------------------------------------------------------------------------------------------------------------
			
			function  MaxRGBShow(MaxRGBShow_Source:string;MaxRGBShow_Left:integer;MaxRGBShow_Top:integer;MaxRGBShow_Width:integer;MaxRGBShow_Hight:integer;MaxRGBShow_ID:integer;MaxRGBShow_RowCount:integer;MaxRGBShow_ColCount:integer):string;//開RGB信號
			function  MaxRGBClose(MaxRGBClose_Source:string):string;//關(guān)閉RGB信號
			
			function  MaxVideoShow(MaxVideoShow_Source:string;MaxVideoShow_Left:integer;MaxVideoShow_Top:integer;MaxVideoShow_Width:integer;MaxVideoShow_Hight:integer;MaxVideoShow_ID:integer;MaxVideoShow_RowCount:integer;MaxVideoShow_ColCount:integer):string;//開VIDEO信號
			function  MaxVideoClose(MaxVideoClose_Source:string):string;//關(guān)閉VIDEO信號
			
			function  ProjectorShow(ProjectorShow_Source:string;ProjectorShow_Left:integer;ProjectorShow_Top:integer;ProjectorShow_Width:integer;ProjectorShow_Hight:integer;ProjectorShow_ID:integer;ProjectorShow_RowCount:integer;ProjectorShow_ColCount:integer):string;//開投影機信燈
			function  ProjectorClose(ProjectorClose_Source:string):string;//關(guān)閉投影機信燈
			
			function  Login(Login_UserID:string;Login_Password:string):string;//登記用戶
			function  ListCamera():string;//列出攝像機信號
			function  ListNetPc():string;//列出netpc信號
			function  ListRGB():string;//列出rgbpc信號
			function  ListScheme():string;//列出預(yù)案
			function  ListDirectChannel():string;//列出直接通信號
			function  ListLiveWnd():string;//列出當前顯示窗
			function  Unlogin():string;//注銷用戶
			
{	//---------------------------------------
			function  MaxVideoToRGB1():string;//maxvideo switch RGB1
			function  MaxVideoToRGB2():string;//maxvideo switch RGB2
			function  MaxVideoToVideo():string;// maxvideo switch VIDEO
			function  MaxVideoOnAll():string;//maxvideo power onall
			function  MaxVideoOffAll():string;//maxvideo power Offall

	//直接通道信號控制---------------------------------------------------------------------------------------------------------------------
	
			function  DChannelShow(DChannelShow_Source:string;DChannelShow_Left:integer;DChannelShow_Top:integer;DChannelShow_Width:integer;DChannelShow_Hight:integer;DChannelShow_ID:integer):string;//開通道信號
			function  DChannelMove(DChannelMove_Source:string;DChannelMove_Left:integer;DChannelMove_Top:integer):string;//移動位置
			function  DChannelTop(DChannelTop_Source:string):string;//前置窗口
			function  DChannelSize(DChannelSize_Source:string;DChannelSize_Left:integer;DChannelSize_Top:integer):string;//調(diào)整大小
			function  DChannelClose(DChannelClose_Source:string):string;//關(guān)通道信號
			function  DChannelN(DChannelN_Mode:string;DChannelN_Source:string):string;//信號制式ntsc
			function  DChannelS(DChannelS_Mode:string;DChannelS_Source:string):string;//信號制式secam
			function  DChannelP(DChannelP_Mode:string;DChannelP_Source:string):string;//信號制式pal
			function  DChannelBright(DChannelBright_Source:string;DChannelBright_Value:integer):string;//調(diào)整亮度
			function  DChannelContrast(DChannelContrast_Source:string;DChannelContrast_Value:integer):string;//調(diào)整對比度
			function  DChannelHue(DChannelHue_Source:string;DChannelHue_Value:integer):string;//調(diào)整色度
			function  DChannelChange(DChannelChange_Source:string;DChannelChange_Value:integer):string;//更改信號源

  }
	//*********************************************
			constructor create;
			procedure Connection(Ip:string;Port:integer);
			procedure DisConnection;
  end;
//*************************命令字符串常量*******************************  
 const
	//-------------------------------------------------------------------------------
	VideoShow_Cmd='ntvideo show';
	VideoSize_Cmd='ntvideo size';
	VideoMove_Cmd='ntvideo move';
	VideoClose_Cmd='ntvideo close';
	VideoTop_Cmd='gotop';
	VideoBright_Cmd='ntvideo brightness';
	VideoContrast_Cmd='ntvideo contrast';
	VideoHue_Cmd='hue';
	VideoFormatN_Cmd='ntvideo format ntsc';
	VideoFormatS_Cmd='ntvideo format secam';
	VideoFormatP_Cmd='ntvideo format pal';
	//-------------------------------------------------------------------------------
	CameraNear_Cmd='camera near';
	CameraStopNear_Cmd='camera stopnear';
	CameraFar_Cmd='camera far';
	CameraStopFar_Cmd='camera stopfar';
	CameraUp_Cmd='camera up';
	CameraStopUp_Cmd='camera stopup';
	CameraDown_Cmd='camera down';
	CameraStopDown_Cmd='camera stopdown';
	CameraLeft_Cmd='camera left';
	CameraStopLeft_Cmd='camera stopleft';
	CameraRight_Cmd='camera right';
	CameraStopRight_Cmd='camera stopright ';
	CameraFocusFar_Cmd='camera focus> ';
	CameraStopFocusFar_Cmd='camera stopfocus>';
	CameraFocusNear_Cmd='camera focus<';
	CameraStopFocusNear_Cmd='camera stopfocus<';
	RGBShow_Cmd='rgbpc show';
	RGBMove_Cmd='rgbpc move';
	RGBSize_Cmd='rgbpc size';
	RGBTop_Cmd='gotop';
	RGBLeft_Cmd='rgbpc left';
	RGBRight_Cmd='rgbpc right';
	RGBUp_Cmd='rgbpc up';
	RGBDown_Cmd='rgbpc down';
	RGBBrightUp_Cmd='rgbpc brightnessup';
	RGBBrightDown_Cmd='rgbpc brightnessdown';
	RGBContrastUp_Cmd='rgbpc contrastup';
	RGBContrastDown_Cmd='rgbpc contrastdown';
	RGBClose_Cmd='rgbpc close';
	DChannelShow_Cmd='directchannel show';
	DChannelMove_Cmd='directchannel move';
	DChannelTop_Cmd='';
	DChannelSize_Cmd='directchannel size';
	DChannelClose_Cmd='directchannel close';
	DChannelN_Cmd='directchannel format ntsc';
	DChannelS_Cmd='directchannel format secam';
	DChannelP_Cmd='directchannel format pal';
	DChannelBright_Cmd='directchannel brightness';
	DChannelContrast_Cmd='directchannel contrast';
	DChannelHue_Cmd='directchannel hue';
	DChannelChange_Cmd='directchannel source';
	NetPcShow_Cmd='netpc show';
	NetPcMove_Cmd='netpc move';
	NetPcTop_Cmd='gotop';
	NetPcSize_Cmd='netpc size';
	NetPcClose_Cmd='netpc close';
	Login_Cmd='manager login ';
	ListCamera_Cmd='list camera';
	ListNetPc_Cmd='list netpc';
	ListRGB_Cmd='list rgbpc';
	ListScheme_Cmd='list scheme';
	ListDirectChannel_Cmd='list directchannel';
	ListLiveWnd_Cmd='list livewnd';
	Unlogin_Cmd='Manager unlogin';
	MaxRGBShow_Cmd='maxrgbpc show';
	MaxRGBClose_Cmd='maxrgbpc close';
	MaxVideoShow_Cmd='maxvideo show';
	MaxVideoClose_Cmd='maxvideo close';
	ProjectorShow_Cmd='maxvideo show';
	ProjectorClose_Cmd='maxvideo close';
	MaxVideoToRGB1_Cmd='maxvideo switch RGB1';
	MaxVideoToRGB2_Cmd='maxvideo switch RGB2';
	MaxVideoToVideo_Cmd='maxvideo switch VIDEO';
	MaxVideoOnAll_Cmd='maxvideo power onall';
	MaxVideoOffAll_Cmd='maxvideo power offall';


implementation

  constructor TBocom.create;
  begin
	  client := tclientsocket.Create(client);
	  client.OnRead := readmessage;
  end;

 //--//視頻信號控制---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

			function  TBocom.VideoShow(VideoShow_Source:string;VideoShow_Left:integer;VideoShow_Top:integer;VideoShow_Width:integer;VideoShow_Hight:integer;VideoShow_ID:integer):string;  //開視頻
				begin
					CommandStr:=VideoShow_Cmd+' '+VideoShow_Source+' '+inttostr(VideoShow_Left)+' '+inttostr(VideoShow_Top)+' '+inttostr(VideoShow_Width)+' '+inttostr(VideoShow_Hight)+' '+inttostr(VideoShow_ID)+' -1 -1' ;
					result:=SendMessage;
				end;
				
			function  TBocom.VideoSize(VideoSize_Source:string;VideoSize_Width:integer;VideoSize_Hight:integer):string;  //調(diào)整大小
				begin
					CommandStr:=VideoSize_Cmd+' '+VideoSize_Source+' '+inttostr(VideoSize_Width)+' '+inttostr(VideoSize_Hight) ;
					result:=SendMessage;
				end;
				
			function  TBocom.VideoMove(VideoMove_Source:string;VideoMove_Left:integer;VideoMove_Top:integer):string;  //移動位置
				begin
					CommandStr:=VideoMove_Cmd+' '+VideoMove_Source+' '+inttostr(VideoMove_Left)+' '+inttostr(VideoMove_Top) ;
					result:=SendMessage;
				end;
				
			function  TBocom.VideoClose(VideoClose_Source:string):string;  //關(guān)閉視頻
				begin

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美色综合影院| 久久久久久久久久久久久女国产乱 | 国产麻豆午夜三级精品| 成人福利电影精品一区二区在线观看| 91麻豆精品一区二区三区| 宅男噜噜噜66一区二区66| 国产精品狼人久久影院观看方式| 亚洲va韩国va欧美va| 国产成人综合精品三级| 91精品国产色综合久久久蜜香臀| 日韩精品福利网| www..com久久爱| 久久亚洲一级片| 亚洲v日本v欧美v久久精品| 夫妻av一区二区| 日韩精品专区在线影院观看| 亚洲欧洲制服丝袜| 成人激情免费网站| 久久精品一区二区| 日本不卡视频一二三区| 在线亚洲免费视频| 亚洲免费av高清| 波多野结衣中文字幕一区二区三区| 91精品国产综合久久福利| 亚洲一二三四区| 91玉足脚交白嫩脚丫在线播放| 久久久久久久久久久99999| 美女精品一区二区| 欧美一区二区三区精品| 午夜精品福利一区二区蜜股av| 在线亚洲高清视频| 亚洲国产成人av网| 欧美日韩国产乱码电影| 亚洲成人自拍网| 欧美性猛交xxxx乱大交退制版 | 欧美亚洲动漫精品| 玉足女爽爽91| 91精品福利视频| 一区二区三区中文在线观看| 欧美电影免费观看高清完整版| 午夜精品爽啪视频| 欧美精品久久久久久久多人混战 | 欧美va亚洲va在线观看蝴蝶网| 日韩av二区在线播放| 538prom精品视频线放| 日韩精品午夜视频| 日韩三级中文字幕| 国产一区二区在线免费观看| 久久男人中文字幕资源站| 久久99精品国产.久久久久| 26uuu精品一区二区三区四区在线| 久久精品国产999大香线蕉| 精品国产乱码久久| 久久99精品久久久久久国产越南| 久久色.com| 99久久99久久精品免费看蜜桃| 亚洲柠檬福利资源导航| 欧美亚洲国产怡红院影院| 亚洲va欧美va人人爽| 日韩美一区二区三区| 国产精品白丝jk黑袜喷水| 日韩伦理av电影| 777精品伊人久久久久大香线蕉| 六月婷婷色综合| 中文字幕精品三区| 一本一道久久a久久精品综合蜜臀| 亚洲国产一二三| 久久久久久久久久久黄色| 91蜜桃免费观看视频| 日日夜夜免费精品视频| 久久综合久色欧美综合狠狠| 粉嫩aⅴ一区二区三区四区五区| 一色屋精品亚洲香蕉网站| 欧美日韩亚洲综合一区| 久久精品72免费观看| 亚洲乱码国产乱码精品精小说 | 色综合天天综合网天天看片| 亚洲一二三四久久| 久久天天做天天爱综合色| 日本精品一区二区三区高清| 蜜乳av一区二区三区| 国产精品护士白丝一区av| 3d动漫精品啪啪一区二区竹菊| 懂色av一区二区夜夜嗨| 日本不卡一区二区三区| 亚洲男同性恋视频| 久久精品一区二区三区不卡牛牛 | 国产69精品久久久久毛片| 亚洲第一狼人社区| 国产精品女同互慰在线看| 欧美久久久久久久久久| 成人app网站| 激情偷乱视频一区二区三区| 天天色 色综合| 亚洲视频一区二区免费在线观看| 欧美xingq一区二区| 在线观看日韩高清av| 成人午夜视频免费看| 理论片日本一区| 亚洲r级在线视频| 樱花草国产18久久久久| 久久久99精品久久| 精品久久久久久久久久久久包黑料 | 911精品产国品一二三产区| www.日本不卡| 成人污视频在线观看| 国产一区二区伦理| 美女视频黄a大片欧美| 亚洲自拍与偷拍| 亚洲免费观看高清完整版在线观看| 欧美精品一区二区三区蜜臀| 日韩一二三区不卡| 91麻豆精品国产91久久久更新时间| 91同城在线观看| 成人高清伦理免费影院在线观看| 高清成人在线观看| 成人动漫精品一区二区| 国产成人av一区二区三区在线观看| 免费不卡在线视频| 久久成人综合网| 韩国精品免费视频| 国产精品综合在线视频| 国产综合久久久久久鬼色| 久久99久久精品| 国产精品白丝jk白祙喷水网站| 国产精品一区二区久久精品爱涩| 紧缚奴在线一区二区三区| 精品一区二区三区久久| 国产美女久久久久| 成人免费毛片a| av在线播放不卡| 久久久久青草大香线综合精品| 精品电影一区二区三区| 国产欧美精品一区二区三区四区| 久久精品亚洲精品国产欧美| 国产精品国产三级国产| 亚洲欧美激情小说另类| 亚洲一区二区三区四区五区黄 | 91精品啪在线观看国产60岁| 欧美精品v国产精品v日韩精品 | 成人黄色片在线观看| 性欧美大战久久久久久久久| 在线亚洲一区二区| 国产欧美中文在线| 欧美无砖专区一中文字| 日韩精品91亚洲二区在线观看| 欧美亚洲一区二区在线观看| 国产呦精品一区二区三区网站| 亚洲成人高清在线| 亚洲精品中文字幕乱码三区| 国产亚洲精品aa午夜观看| 欧美一二三四在线| 欧美亚洲国产一区在线观看网站| 不卡一区二区中文字幕| 成人一区二区在线观看| 国产成人亚洲综合色影视| 五月婷婷另类国产| 日韩av电影天堂| 美女一区二区三区在线观看| 午夜电影一区二区| 性久久久久久久久| 天堂久久久久va久久久久| 亚洲黄色尤物视频| 一区二区三区加勒比av| 亚洲另类春色国产| 亚洲亚洲精品在线观看| 亚洲一区二区三区自拍| 亚洲午夜在线电影| 日韩精品一卡二卡三卡四卡无卡| 午夜精品久久久久久不卡8050| 亚洲国产日韩一区二区| 一区二区三区产品免费精品久久75| 亚洲欧洲制服丝袜| 午夜激情久久久| 精品一区二区三区的国产在线播放| 国产综合久久久久影院| 成人动漫在线一区| 91久久人澡人人添人人爽欧美| 欧美视频精品在线| 精品日韩av一区二区| 欧美激情中文字幕| 一区二区三区在线视频免费| 亚洲午夜久久久久| 久久99久久99小草精品免视看| 国产精品一品二品| 欧美日韩中文国产| 久久先锋影音av鲁色资源| 国产精品久久久久久福利一牛影视| 亚洲男人的天堂在线观看| 日日嗨av一区二区三区四区| 国产一区91精品张津瑜| 成人蜜臀av电影| 欧美美女直播网站| 精品国产乱子伦一区| 亚洲综合色视频| 处破女av一区二区| 日韩欧美一区中文| 一区二区免费看| 国产精品综合久久| 欧美一区二区在线免费观看|