Commit 8171b36f by wangonghui

咪咕项目添加token上版信息

parent 9debc2d9
...@@ -59,7 +59,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -59,7 +59,10 @@ namespace VIZ.TVP.CBA.Module
/// <param name="conns">连接</param> /// <param name="conns">连接</param>
public void TakeContinue(ConnModel conns) public void TakeContinue(ConnModel conns)
{ {
if(conns.IsConnected)
{
conns.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE);
}
} }
/// <summary> /// <summary>
...@@ -108,7 +111,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -108,7 +111,10 @@ namespace VIZ.TVP.CBA.Module
/// <param name="conn">连接</param> /// <param name="conn">连接</param>
public void PreviewOut(ConnModel conn) public void PreviewOut(ConnModel conn)
{ {
//if(conn.IsConnected)
//{
// conn.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE);
//}
} }
/// <summary> /// <summary>
......
...@@ -53,7 +53,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -53,7 +53,10 @@ namespace VIZ.TVP.CBA.Module
public void PreviewOut(ConnModel conn) public void PreviewOut(ConnModel conn)
{ {
//if(conn.IsConnected)
// {
// conn.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE);
// }
} }
public void TakeContinue(ConnModel conns) public void TakeContinue(ConnModel conns)
...@@ -63,7 +66,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -63,7 +66,10 @@ namespace VIZ.TVP.CBA.Module
public void TakeOut(ConnModel conns) public void TakeOut(ConnModel conns)
{ {
if(conns.IsConnected)
{
conns.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE );
}
} }
public void TakeUpdate(ConnModel conns) public void TakeUpdate(ConnModel conns)
...@@ -73,7 +79,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -73,7 +79,10 @@ namespace VIZ.TVP.CBA.Module
public void TakIn(ConnModel conns) public void TakIn(ConnModel conns)
{ {
if (conns.IsConnected)
{
conns.EndpointManager.Send(String.Format(VizEngineCommands.SCRIPT_INVOKE, "dqyData", vm.CombinePlayerCommand()));
}
} }
} }
} }
...@@ -44,13 +44,16 @@ namespace VIZ.TVP.CBA.Module ...@@ -44,13 +44,16 @@ namespace VIZ.TVP.CBA.Module
{ {
if(conn.IsConnected) if(conn.IsConnected)
{ {
ApplicationDomainEx.PreviewConn.EndpointManager.Send(String.Format(VizEngineCommands.SCRIPT_INVOKE, "Data", vm.CombineMatchData())); conn.EndpointManager.Send(String.Format(VizEngineCommands.SCRIPT_INVOKE, "Data", vm.CombineMatchData()));
} }
} }
public void PreviewOut(ConnModel conn) public void PreviewOut(ConnModel conn)
{ {
//if(conn.IsConnected)
//{
// conn.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE);
//}
} }
public void TakeContinue(ConnModel conns) public void TakeContinue(ConnModel conns)
...@@ -60,7 +63,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -60,7 +63,10 @@ namespace VIZ.TVP.CBA.Module
public void TakeOut(ConnModel conns) public void TakeOut(ConnModel conns)
{ {
if(conns.IsConnected)
{
conns.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE);
}
} }
public void TakeUpdate(ConnModel conns) public void TakeUpdate(ConnModel conns)
...@@ -70,7 +76,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -70,7 +76,10 @@ namespace VIZ.TVP.CBA.Module
public void TakIn(ConnModel conns) public void TakIn(ConnModel conns)
{ {
if (conns.IsConnected)
{
conns.EndpointManager.Send(String.Format(VizEngineCommands.SCRIPT_INVOKE, "Data", vm.CombineMatchData()));
}
} }
} }
} }
...@@ -54,7 +54,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -54,7 +54,10 @@ namespace VIZ.TVP.CBA.Module
public void PreviewOut(ConnModel conn) public void PreviewOut(ConnModel conn)
{ {
//if(conn.IsConnected)
// {
// conn.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE);
// }
} }
public void TakeContinue(ConnModel conns) public void TakeContinue(ConnModel conns)
...@@ -64,7 +67,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -64,7 +67,10 @@ namespace VIZ.TVP.CBA.Module
public void TakeOut(ConnModel conns) public void TakeOut(ConnModel conns)
{ {
if(conns.IsConnected)
{
conns.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE);
}
} }
public void TakeUpdate(ConnModel conns) public void TakeUpdate(ConnModel conns)
...@@ -74,7 +80,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -74,7 +80,10 @@ namespace VIZ.TVP.CBA.Module
public void TakIn(ConnModel conns) public void TakIn(ConnModel conns)
{ {
if(conns.IsConnected)
{
conns.EndpointManager.Send(String.Format(VizEngineCommands.SCRIPT_INVOKE, "dqyData", vm.CombineSingleData()));
}
} }
} }
} }
...@@ -37,10 +37,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -37,10 +37,10 @@ namespace VIZ.TVP.CBA.Module
public void PreviewContinue(ConnModel conn) public void PreviewContinue(ConnModel conn)
{ {
if(conn.IsConnected) //if(conn.IsConnected)
{ //{
conn.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE); // conn.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE);
} //}
} }
public void PreviewIn(ConnModel conn) public void PreviewIn(ConnModel conn)
...@@ -60,22 +60,31 @@ namespace VIZ.TVP.CBA.Module ...@@ -60,22 +60,31 @@ namespace VIZ.TVP.CBA.Module
public void TakeContinue(ConnModel conns) public void TakeContinue(ConnModel conns)
{ {
if (conns.IsConnected)
{
conns.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE);
}
} }
public void TakeOut(ConnModel conns) public void TakeOut(ConnModel conns)
{ {
if (conns.IsConnected)
{
conns.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE);
}
} }
public void TakeUpdate(ConnModel conns) public void TakeUpdate(ConnModel conns)
{ {
} }
public void TakIn(ConnModel conns) public void TakIn(ConnModel conns)
{ {
if (conns.IsConnected)
{
conns.EndpointManager.Send(String.Format(VizEngineCommands.SCRIPT_INVOKE, "Data", vm.CombineTeamStandingData()));
}
} }
} }
} }
...@@ -53,7 +53,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -53,7 +53,10 @@ namespace VIZ.TVP.CBA.Module
public void PreviewOut(ConnModel conn) public void PreviewOut(ConnModel conn)
{ {
//if(conn.IsConnected)
//{
// conn.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE);
//}
} }
public void TakeContinue(ConnModel conns) public void TakeContinue(ConnModel conns)
...@@ -63,7 +66,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -63,7 +66,10 @@ namespace VIZ.TVP.CBA.Module
public void TakeOut(ConnModel conns) public void TakeOut(ConnModel conns)
{ {
if(conns.IsConnected)
{
conns.EndpointManager.Send(VizEngineCommands.STAGE_CONTINUE);
}
} }
public void TakeUpdate(ConnModel conns) public void TakeUpdate(ConnModel conns)
...@@ -73,7 +79,10 @@ namespace VIZ.TVP.CBA.Module ...@@ -73,7 +79,10 @@ namespace VIZ.TVP.CBA.Module
public void TakIn(ConnModel conns) public void TakIn(ConnModel conns)
{ {
if(conns.IsConnected)
{
conns.EndpointManager.Send(string.Format(VizEngineCommands.SCRIPT_INVOKE, "dqyData", vm.CombineTeamComData()));
}
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment