예제 #1
0
        public void Close()
        {
            Dispose();

            if (LogFiler != null)
            {
                LogFiler.Close();
                LogFiler = null;
            }

            RecordWriter = null;
        }
예제 #2
0
        public void Close()
        {
            IsStopped = true;

            LogFiler.Close();
        }
예제 #3
0
 private void Analysisframe_FormClosed(object sender, FormClosedEventArgs e)
 {
     LogFiler.Close();
     Dispose();
     Close();
 }
예제 #4
0
        //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();
        }