public override void Connect() { if (IsConnected) { return; } IsConnected = true; TriggerConnectionStateChanged(ConnectionState.Connected); _timer.Start(); }
public void Connect() { if (IsConnected) { return; } Ticks = -1; // it can read the data when restart the program. _mmf = MemoryMappedFile.CreateOrOpen("KtCommon", _size * 2); _timer.Start(); }
public void Connect() { _timer.Start(); // 開始處理 }