123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- // 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);
- }
- }
- }
|