public InSignal(int port, string name, string path, HiCoreClient hiCore) { _hiCore = hiCore; _portNumber = port; _portName = name; _pDll = DllMethods.LoadLibrary(path); }
public OutSignal(int port, string name, string path, HiCoreClient hiCore, string channelName) { _hiCore = hiCore; _portNumber = port; _portName = name; _pDll = DllMethods.LoadLibrary(path); _channelName = channelName; }
public SimulinkModel(string path, HiCoreClient hicore, XmlHelper xmlHelper) { _hiCore = hicore; _pDll = DllMethods.LoadLibrary(path); _path = path; _directoryPath = Path.GetDirectoryName(path); _name = new DirectoryInfo(_directoryPath).Name; Initialze(); ReadXml(); }
public SimulinkModel(string path, HiCoreClient hicore, List <ISignal> inSignals, List <ISignal> outSignals) { _hiCore = hicore; _pDll = DllMethods.LoadLibrary(path); _path = path; _directoryPath = Path.GetDirectoryName(path); _name = new DirectoryInfo(_directoryPath).Name; Initialze(); _inSignals = inSignals; _outSignals = outSignals; }