private bool SymbolX_Poke(string tagName, string value) { string plc, tag; SplitTagname(tagName, out plc, out tag); int res = CommLib.SymbolX_Poke(_handle, plc, tag, value, 1); return(res != 0); }
private bool SymbolX_Advise(string tagName) { string plc, tag; SplitTagname(tagName, out plc, out tag); int res = CommLib.SymbolX_Advise(_handle, plc, tag); return(res != 0); }
private void RegisterCOMMLIB(IntPtr handle) { if (InvokeRequired) { Invoke(new Action <IntPtr>(RegisterCOMMLIB), handle); } else { if (!_registered) { WM_COMMLIBX = WinUser32.RegisterWindowMessage("WM_COMMLIBX"); _handle = handle; uint res = CommLib.SymbolX_PassPointers(_handle); _registered = true; } } }
private bool CommLib_RemoveIOManager(string host) { bool res = CommLib.CommLib_RemoveIOManager(host); return(res); }
private void Click_ShowDiag(object sender, EventArgs e) { CommLib.CommLib_CommDiag(_handle); }
private void Click_Show(object sender, EventArgs e) { CommLib.CommLib_Show(); }