示例#1
0
        public static ConnectedClientHelper GetInstance()
        {
            if (sInstance == null)
            {
                sInstance = new ConnectedClientHelper();
            }

            return(sInstance);
        }
示例#2
0
        private void sendVisionInputUpdate()
        {
            Session.Data.ServerInputStatus inputStatus = new Session.Data.ServerInputStatus()
            {
                InputAttributesList = Server.ServerVisionHelper.getInstance().GetAllVisionInputsAttributes(),
            };

            connectionManager.SendData(
                (int)CommandConst.MainCommandServer.Presents,
                (int)CommandConst.SubCommandServer.VisionInput,
                inputStatus,
                ConnectedClientHelper.GetInstance().GetAllClientsSocketId());
        }