李勇

修改文档模块的mcuDelay延迟

此 diff 太大无法显示。
@@ -466,6 +466,7 @@ export default class MessageEntrance extends Emiter { @@ -466,6 +466,7 @@ export default class MessageEntrance extends Emiter {
466 // console.log(_data); 466 // console.log(_data);
467 //包含整个会议最全的信息,储存数据 467 //包含整个会议最全的信息,储存数据
468 if (_data) { 468 if (_data) {
  469 + GlobalConfig.mcuDelay= _data.mcuDelay || 60;
469 GlobalConfig.className = _data.meetingName || ""; 470 GlobalConfig.className = _data.meetingName || "";
470 GlobalConfig.classBeginTime = _data.beginTime || ""; 471 GlobalConfig.classBeginTime = _data.beginTime || "";
471 GlobalConfig.classEndTime = _data.endTime || ""; 472 GlobalConfig.classEndTime = _data.endTime || "";
@@ -241,7 +241,7 @@ GlobalConfig.statusCode_4={"code":4,message:"未知状态"}; @@ -241,7 +241,7 @@ GlobalConfig.statusCode_4={"code":4,message:"未知状态"};
241 241
242 GlobalConfig.md5=""; 242 GlobalConfig.md5="";
243 GlobalConfig.msType=1;//目前固定用这个 243 GlobalConfig.msType=1;//目前固定用这个
244 -GlobalConfig.mcuDelay=0;//默认的延迟时间,flash中设置的是3000 244 +GlobalConfig.mcuDelay=60;//默认的延迟时间,flash中设置的是3000
245 GlobalConfig.docDelay=1600;//文档模块加入成功之后延迟发送送成功的消息给主模块 245 GlobalConfig.docDelay=1600;//文档模块加入成功之后延迟发送送成功的消息给主模块
246 GlobalConfig.portal="112.126.80.182:80";//Sass IP 246 GlobalConfig.portal="112.126.80.182:80";//Sass IP
247 247
@@ -70,7 +70,7 @@ export default class Ape extends Emiter { @@ -70,7 +70,7 @@ export default class Ape extends Emiter {
70 // this._apeDelayedStart(); 70 // this._apeDelayedStart();
71 setTimeout(() => { 71 setTimeout(() => {
72 this._pduRegAdapterHandler(regBuffer); 72 this._pduRegAdapterHandler(regBuffer);
73 - },GlobalConfig.mcuDelay|| 12000); 73 + },GlobalConfig.mcuDelay);
74 return; 74 return;
75 } 75 }
76 this._pduRegAdapterHandler(regBuffer); 76 this._pduRegAdapterHandler(regBuffer);
@@ -35,7 +35,7 @@ class DocApe extends Ape { @@ -35,7 +35,7 @@ class DocApe extends Ape {
35 //this.activeDocItemIdx =0;//当前激活的文档itemIdx 35 //this.activeDocItemIdx =0;//当前激活的文档itemIdx
36 //this.activeDocCurPage=1;//当前激活的文档的当前页 36 //this.activeDocCurPage=1;//当前激活的文档的当前页
37 // 延迟 37 // 延迟
38 - this._apeDelayed = true; 38 + this._apeDelayed = false;
39 39
40 // Ape Models 40 // Ape Models
41 this.registerKey(this._session_id, this._session_name, this._session_tag, new ArrayBuffer); 41 this.registerKey(this._session_id, this._session_name, this._session_tag, new ArrayBuffer);