// Copyright (c) 2012-2020 fo-dicom contributors. // Licensed under the Microsoft Public License (MS-PL). using Dicom.IO; using Dicom.Network; using System; using System.Collections.Generic; using System.Text; using System.Threading; using Worklist_SCP.Model; namespace Worklist_SCP { public class ZskkIOManager: IOManager { public static readonly IOManager Instance = new ZskkIOManager(); private ZskkIOManager() { } protected override Encoding BaseEncodingImpl { get { //return Encoding.ASCII; return Encoding.GetEncoding("GB18030"); } } protected override IPath PathImpl { get { return DesktopPath.Instance; } } protected override IDirectoryReference CreateDirectoryReferenceImpl(string directoryName) { return new DesktopDirectoryReference(directoryName); } protected override IFileReference CreateFileReferenceImpl(string fileName) { return new DesktopFileReference(fileName); } } }