public void Close() { Dispose(); if (LogFiler != null) { LogFiler.Close(); LogFiler = null; } RecordWriter = null; }
public void Close() { IsStopped = true; LogFiler.Close(); }
private void Analysisframe_FormClosed(object sender, FormClosedEventArgs e) { LogFiler.Close(); Dispose(); Close(); }
//public void WriteDataToPlc(PlcInformationType type, object obj) //{ // if (type == PlcInformationType.PlcStatus) // { // DatablockObjects.PlcStatus status = new DatablockObjects.PlcStatus(); // status.ParseDataBlockInformation(obj); // PlcConnection.Write(status); // } //} public void Close() { LogFiler.Close(); }