Exemplo n.º 1
0
            public TickTopic(ExcelRtdServer server, int topicId, string msecs)
                : base(server, topicId, Strings.WAIT)
            {
                var period = uint.Parse(msecs);

                timer = new Timer(Notify, null, 0, period);
            }
        void CreateWrappedServer()
        {
            _wrappedServer = (IRtdServer)Activator.CreateInstance(_wrappedServerType);
            // Would be nice to combine the initialization here and in ExcelRtd.Rtd ...
            ExcelRtdServer rtdServer = _wrappedServer as ExcelRtdServer;

            if (rtdServer != null)
            {
                rtdServer.RegisteredProgId = _wrappedServerRegisteredProgId;
            }
        }
Exemplo n.º 3
0
 public TriggerTopic(ExcelRtdServer server, int topicId, string path)
     : base(server, topicId, Strings.WAIT)
 {
     Path = path;
 }
 public RealStockTopic(ExcelRtdServer server, int topicId) :
     base(server, topicId)
 {
 }
Exemplo n.º 5
0
 //TODO: add dynamic type ,maybe decemail,or int
 public QuoteTopic(ExcelRtdServer server, int topicId) :
     base(server, topicId)
 {
 }
Exemplo n.º 6
0
 public TestArrayTopic(ExcelRtdServer server, int topicId) :
     base(server, topicId)
 {
 }