First commit

Send all results
This commit is contained in:
2020-09-04 12:49:15 +05:00
commit 330a2ccfda
2819 changed files with 226201 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>DataClients</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<WarningLevel>0</WarningLevel>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="SharpZipLib" Version="1.2.0" />
<PackageReference Include="System.Text.Encoding.CodePages" Version="4.7.1" />
</ItemGroup>
</Project>

136
DataClients/FileClient.cs Normal file
View File

@@ -0,0 +1,136 @@
using ICSharpCode.SharpZipLib.GZip;
using ICSharpCode.SharpZipLib.Tar;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
namespace DataClients
{
public class FileClient
{
private char split = '/';
//private char split = '\\';
//private string dir = @"Y:\data";
//private string dir = @"C:\data";
private string dir = @"/archive_rmt/data";
public FileClient()
{
TempDir.StartCkeckDir();
}
public FileClient(string directory)
{
TempDir.StartCkeckDir();
dir = directory;
}
public byte[] GetFile(DateTime time, ushort vdp, ushort index)
{
var name = time.ToString("yyyyMMdd") + "." + vdp.ToString("D2") + index.ToString("D1");
var tmpFileName = TempDir.GetTempDirectory() + split + name;
if (!TempDir.IsExist(name))
{
if (!CheckArchive(time, vdp)) return new byte[0];
if (!ExtractArchive(time, vdp)) return new byte[0];
}
if (!TempDir.IsExist(name)) return new byte[0];
while (TempDir.IsProtect(name)) Thread.Sleep(1000);
TempDir.AddProtect(name);
Stream fs = File.OpenRead(tmpFileName);
var result = new List<byte>();
try
{
for (var i = 0; i < fs.Length; i++)
result.Add((byte)fs.ReadByte());
return result.ToArray();
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
return new byte[0];
}
finally
{
TempDir.RemoveProtect(name);
fs.Close();
}
}
private bool CheckArchive(DateTime time, ushort vdp)
{
var tmp =
dir + split +
time.Year.ToString("D4") + split +
time.Month.ToString("D2") + split +
time.Day.ToString("D2") + split +
vdp.ToString("D2");
return (File.Exists(tmp + ".tar") || File.Exists(tmp + ".tar.gz"));
}
private bool ExtractArchive(DateTime time, ushort vdp)
{
var tmp =
dir + split +
time.Year.ToString("D4") + split +
time.Month.ToString("D2") + split +
time.Day.ToString("D2") + split +
vdp.ToString("D2");
if (File.Exists(tmp + ".tar"))
{
ExtractTar(tmp + ".tar", TempDir.GetTempDirectory());
return true;
}
else if (File.Exists(tmp + ".tar.gz"))
{
ExtractTarGZ(tmp + ".tar.gz", TempDir.GetTempDirectory());
return true;
}
return false;
}
private void ExtractTarGZ(String gzArchiveName, String destFolder)
{
Stream inStream = File.OpenRead(gzArchiveName);
Stream gzipStream = new GZipInputStream(inStream);
try
{
TarArchive tarArchive = TarArchive.CreateInputTarArchive(gzipStream);
tarArchive.ExtractContents(destFolder);
tarArchive.Close();
}
catch (Exception e)
{
Console.WriteLine("Can't extract: " + gzArchiveName);
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
}
finally
{
gzipStream.Close();
inStream.Close();
}
}
private void ExtractTar(String tarFileName, String destFolder)
{
Stream inStream = File.OpenRead(tarFileName);
try
{
TarArchive tarArchive = TarArchive.CreateInputTarArchive(inStream);
tarArchive.ExtractContents(destFolder);
tarArchive.Close();
}
catch (Exception e)
{
Console.WriteLine("Can't extract: " + tarFileName);
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
}
finally
{
inStream.Close();
}
}
}
}

221
DataClients/NetClient.cs Normal file
View File

@@ -0,0 +1,221 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace DataClients
{
public class NetClient
{
private string ServerStr = "10.10.45.152";
private int PortStr = 1070;
private IPEndPoint IpPoint;
public enum Cmd : uint
{
check_command = 4294967295,
pasp_download = 4,
download_nh = 21,
dir_browse = 23,
user_flags = 26
}
//constructor
public NetClient()
{
IpPoint = new IPEndPoint(IPAddress.Parse(ServerStr), PortStr);
}
public NetClient(string ipAddr, int port = 1070)
{
ServerStr = ipAddr;
PortStr = port;
IpPoint = new IPEndPoint(IPAddress.Parse(ServerStr), PortStr);
}
//main functions
public byte[] CreateCommand(Cmd cmd, string val = null)
{
List<byte> result = new List<byte>();
result.AddRange(BitConverter.GetBytes((uint)cmd));
if (cmd == Cmd.dir_browse) result.Add(0x00);
if (cmd == Cmd.dir_browse && String.IsNullOrEmpty(val))
result.AddRange(new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00 });
if (!String.IsNullOrEmpty(val))
{
result.AddRange(BitConverter.GetBytes((uint)val.Length));
result.AddRange(Encoding.ASCII.GetBytes(val));
result.Add(0x00);
}
return result.ToArray();
}
public byte[][] SocketWork(Cmd code, string val = "")
{
var socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp)
{
ReceiveTimeout = 5000,
SendTimeout = 5000
};
var result = new List<byte[]>();
//Install Params
var check_start_mark = true;
var check_end_mark = true;
uint static_size = 0;
switch (code)
{
case Cmd.check_command:
check_end_mark = false;
static_size = 4;
break;
case Cmd.pasp_download:
check_end_mark = false;
static_size = 1528;
break;
case Cmd.dir_browse:
case Cmd.download_nh:
case Cmd.user_flags:
check_end_mark = true;
static_size = 0;
break;
}
try
{
//Connect
socket.Connect(IpPoint);
//SendRequest
Thread.Sleep(5);
socket.Send(CreateCommand(code, val));
uint? fullSize = null;
byte mark = 0x01;
if (check_start_mark) mark = SocketReadByte(ref socket);
while(mark != 0xff)
{
switch (mark)
{
case 0x01:
var tmpL = new List<byte>();
if (code == Cmd.pasp_download)
{
tmpL.AddRange(SocketReadBytes(ref socket, 16));
if (tmpL.Last() == 0x01)
tmpL.AddRange(SocketReadBytes(ref socket, 1512));
mark = 0xff;
result.Add(tmpL.ToArray());
break;
}
{
uint size = (static_size > 0) ?
static_size : BitConverter.ToUInt32(SocketReadBytes(ref socket, 4), 0);
tmpL.AddRange(SocketReadBytes(ref socket, size));
mark = 0xff;
result.Add(tmpL.ToArray());
break;
}
case 0x02:
var currSize = BitConverter.ToUInt32(SocketReadBytes(ref socket, 4), 0);
fullSize = fullSize.HasValue ? fullSize + currSize : currSize;
break;
case 0x03:
Thread.Sleep(1000);
if (check_start_mark) mark = SocketReadByte(ref socket);
continue;
case 0x00:
if (!check_end_mark)
throw new Exception("Can't catch all packeges.");
if (result.Count == 0)
return result.ToArray();
mark = 0xff;
break;
case 0xff:
if (!check_end_mark || !fullSize.HasValue || fullSize.Value != result.Count)
throw new Exception("Can't catch all packeges.");
return result.ToArray();
default:
throw new Exception("Can't get mark for download.");
}
if (check_end_mark) mark = SocketReadByte(ref socket);
}
return result.ToArray();
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
return result.ToArray();
}
finally
{
socket.Disconnect(false);
}
}
private byte SocketReadByte(ref Socket socket)
{
try
{
byte[] t = new byte[1];
t[0] = 0xff;
Thread.Sleep(5);
int countbyte = socket.Receive(t);
if (countbyte != 1)
throw new Exception("Error get Byte.");
return t[0];
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
return 0xff;
}
}
private byte[] SocketReadBytes(ref Socket socket, uint length)
{
try
{
var result = new List<byte>();
var count = 5;
do
{
byte[] t = new byte[length];
Thread.Sleep(5);
int countbyte = socket.Receive(t);
if (countbyte != length)
{
if (countbyte > 0)
{
var c = new byte[countbyte];
Array.Copy(t, c, countbyte);
result.AddRange(t);
length = length - (uint)countbyte;
count = 5;
continue;
}
else
{
count--;
Thread.Sleep(5);
}
}
result.AddRange(t);
return result.ToArray();
} while (count >= 0);
throw new Exception("Error get Bytes.");
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
return new byte[0];
}
}
}
}

412
DataClients/STPClient.cs Normal file
View File

@@ -0,0 +1,412 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Text;
using System.Threading;
namespace DataClients
{
public class STPClient
{
private NetClient netClient;
private FileClient fileClient;
public STPClient()
{
netClient = new NetClient();
fileClient = new FileClient();
}
public Pasport GetPasport(string link)
{
var result = new Pasport();
var arr = new List<byte>();
{
var tmp = netClient.SocketWork(NetClient.Cmd.pasp_download, link);
foreach (var e in tmp) arr.AddRange(e);
}
result.byteArr = arr.ToArray();
return result;
}
public Tuple<string, string>[] GetListPasport(DateTime date)
{
var result = new List<Tuple<string, string>>();
var str = date.ToString(@"yyyy\/MM\/dd");
var e = netClient.SocketWork(NetClient.Cmd.dir_browse, str);
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
var enc = Encoding.GetEncoding(866);
foreach(var t in e)
{
var subres = "";
var r1 = enc.GetString(t);
var r2 = r1.Split('-');
if (r2.Length > 1)
for (var i = 1; i < r2.Length; i++) {
if (subres.Length > 0) subres = subres + "-";
subres = subres + r2[i].Split('.')[0];
}
if (!String.IsNullOrEmpty(subres))
result.Add(new Tuple<string, string>(subres, str + '/' + r1));
}
return result.ToArray();
}
public ADresult GetAnalogDiscret(DateTime start, DateTime end, ushort vdp)
{
var cursor = start;
byte[] subRes = new byte[0];
var resByteMatrix = new List<ByteMatrix>();
while (cursor.AddDays(-1) <= end)
{
subRes = GetFile(cursor, vdp, 1);
var arr = STPConverter.GetADByteMatrix(cursor, subRes);
resByteMatrix.AddRange(arr);
cursor = cursor.AddDays(1);
}
return STPConverter.AnalogDiscret(resByteMatrix,vdp);
}
public List<IshData> GetIshData(DateTime start, DateTime end, ushort vdp)
{
var result = new List<IshData>();
var cursor = start.AddDays(-1);
byte[] subRes = new byte[0];
do
{
cursor = cursor.AddDays(1);
subRes = GetFile(cursor, vdp, 0);
var arr = STPConverter.IshData(subRes);
foreach (var e in arr)
if (start <= e.time && e.time <= end)
result.Add(e);
} while (cursor <= end);
return result;
}
public List<TechCycle> GetTechCycle(DateTime start, DateTime end, ushort vdp)
{
var result = new List<TechCycle>();
var cursor = start;
byte[] subRes = new byte[0];
do
{
cursor = cursor.AddDays(-1);
subRes = GetFile(cursor, vdp, 3);
} while (subRes.Length == 0 && cursor > start.AddDays(-10));
TechCycle a = new TechCycle()
{
start = start,
index = TechCycle.Operation.unloading_loading
};
{
if (subRes.Length > 0)
{
var b = STPConverter.TechCycle(subRes);
if (b.Length > 0) a = b.Last();
}
a.start = start;
}
cursor = start.AddDays(-1);
do
{
cursor = cursor.AddDays(1);
subRes = GetFile(cursor, vdp, 3);
var arr = STPConverter.TechCycle(subRes);
foreach(var e in arr)
{
if (e.start <= start)
{
a = e;
continue;
}
if (e.start >= end)
{
a.end = end;
result.Add(a);
break;
}
if (e.start > start && e.start < end)
{
a.end = e.start;
result.Add(a);
a = e;
}
}
} while (cursor <= end);
return result;
}
public List<Protect> GetProtectData(DateTime start, DateTime end, ushort vdp)
{
var result = new List<Protect>();
var cursor = start.AddDays(-1);
byte[] subRes = new byte[0];
do
{
cursor = cursor.AddDays(1);
subRes = GetFile(cursor, vdp, 4);
var arr = STPConverter.ProtectData(subRes);
foreach (var e in arr)
if (start <= e.time && e.time <= end)
result.Add(e);
} while (cursor <= end);
return result;
}
private byte[] GetFile(DateTime time, ushort vdp, ushort index)
{
var result = new List<byte>();
var name = time.ToString("yyyyMMdd") + "." + vdp.ToString("D2") + index.ToString("D1");
var temp = new List<byte>();
temp.AddRange(fileClient.GetFile(time, vdp, index));
if (temp.Count == 0)
{
var subTemp = netClient.SocketWork(NetClient.Cmd.download_nh, name);
foreach (var e in subTemp)
temp.AddRange(e);
}
return temp.ToArray();
}
}
public static class STPConverter
{
public static IshData[] IshData(byte[] arr)
{
var result = new List<IshData>();
try
{
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
var enc = Encoding.GetEncoding(866);
var strs = enc.GetString(arr).Split('\n');
foreach (var e in strs)
{
var substr = e.Split('\t');
if (substr.Length < 3) continue;
var time = Converter.ConvertUnixTimeToDateTime(Int32.Parse(substr[1]));
for(var i = 2; i < substr.Length; i++)
{
if (String.IsNullOrEmpty(substr[i])) continue;
var tmp = substr[i].Split(' ');
var c = new IshData() { time = time, id = Convert.ToUInt16(tmp[0]) };
var val = "";
for (var j = 1; j < tmp.Length; j++)
val = j < (tmp.Length - 1) ? val + tmp[j] + ' ' : val + tmp[j];
c.value = val;
result.Add(c);
}
}
return result.ToArray();
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
return result.ToArray();
}
}
public static TechCycle[] TechCycle(byte[] arr)
{
var result = new List<TechCycle>();
try
{
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
var enc = Encoding.GetEncoding(866);
var strs = enc.GetString(arr).Split('\n');
foreach(var e in strs)
{
var substr = e.Split('\t');
if (substr.Length != 3) continue;
var cycle = new TechCycle();
cycle.index = (DataClients.TechCycle.Operation)UInt32.Parse(substr[0]);
cycle.start = Converter.ConvertUnixTimeToDateTime(Int32.Parse(substr[2]));
result.Add(cycle);
}
return result.ToArray();
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
return result.ToArray();
}
}
public static Protect[] ProtectData(byte[] arr)
{
var result = new List<Protect>();
try
{
var cursor = 0;
var time = new DateTime();
while (cursor < arr.Length)
{
if (cursor + 4 >= arr.Length) break;
time = Converter.ConvertUnixTimeToDateTime(BitConverter.ToInt32(arr, cursor));
cursor += 4;
if (cursor + 4 >= arr.Length) break;
time = time.AddMilliseconds((double)BitConverter.ToInt32(arr, cursor) / 1000000);
cursor += 4;
while (true)
{
if (cursor >= arr.Length) break;
if (arr[cursor] == 0xff)
{
cursor++;
break;
}
var id = (int)arr[cursor];
cursor++;
if (cursor >= arr.Length) break;
var value = (int)arr[cursor];
cursor++;
result.Add(new Protect()
{
time = time,
id = id,
value = value
});
}
}
return result.ToArray();
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
return result.ToArray();
}
}
public static ADresult AnalogDiscret(List<ByteMatrix> adBytes, int vdp)
{
var result = new ADresult();
try
{
var aMatrix = new AnalogsMatrix(vdp);
foreach(var an in aMatrix.matrix)
{
var subRes = new List<Tuple<DateTime, double?>>();
foreach(var b in adBytes)
{
var c = new byte?[2];
for(var i = 0; i < 2; i++)
c[i] = b.matrix.Length > an.Value.byteId[i] ?
b.matrix[an.Value.byteId[i]] : null;
double? d = c[0].HasValue && c[1].HasValue ?
(double?)BitConverter.ToInt16(new byte[] { c[0].Value, c[1].Value }, 0) * an.Value.mul : null;
d = !d.HasValue ? null : d.Value < an.Value.min ? an.Value.min : d.Value > an.Value.max ? an.Value.max : d;
var e = new Tuple<DateTime, double?>(b.time, d);
if (subRes.Count > 1 && subRes[subRes.Count - 1].Item2 == e.Item2 && subRes[subRes.Count - 2].Item2 == e.Item2)
subRes.RemoveAt(subRes.Count - 1);
subRes.Add(e);
}
result.an.Add(an.Key, subRes.ToArray());
}
var dMatrix = new DiscretsMatrix(vdp);
foreach (var di in dMatrix.matrix)
{
var subRes = new List<Tuple<DateTime, bool?>>();
foreach (var b in adBytes)
{
bool? c = b.matrix.Length <= di.Value.byteId ? null :
!b.matrix[di.Value.byteId].HasValue ? null :
(bool?)((b.matrix[di.Value.byteId] & (1 << di.Value.bitId)) != 0);
c = !c.HasValue ? null : di.Value.invert ? !c : c;
var e = new Tuple<DateTime, bool?>(b.time, c);
if ((subRes.Count == 0) || (subRes.Count > 0 && subRes[subRes.Count - 1].Item2 != e.Item2))
subRes.Add(e);
}
result.di.Add(di.Key, subRes.ToArray());
}
return result;
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
return result;
}
return result;
}
public static List<ByteMatrix> GetADByteMatrix(DateTime time, byte[] arr)
{
var result = new List<ByteMatrix>();
var byteArr = new List<byte?>();
var currTime = new DateTime(time.Year, time.Month, time.Day, 0, 0, 0);
var halfsec = 0;
var cursor = 0;
try
{
while (cursor < arr.Length)
{
var id = arr[cursor];
cursor++;
switch (id)
{
case 0xfb:
halfsec = BitConverter.ToInt32(arr, cursor);
cursor = cursor + 4;
break;
case 0xfc:
byteArr = new List<byte?>();
result.Add(
new ByteMatrix()
{
time = currTime.AddSeconds((double)(halfsec + 1) / 2),
matrix = byteArr.ToArray()
}
);
halfsec = BitConverter.ToInt32(arr, cursor);
cursor = cursor + 4;
break;
case 0xfe:
halfsec = halfsec + BitConverter.ToInt16(arr, cursor);
break;
case 0xff:
result.Add(
new ByteMatrix()
{
time = currTime.AddSeconds((double)halfsec / 2),
matrix = byteArr.ToArray()
}
);
halfsec++;
break;
default:
var a = Convert.ToInt32(id);
while (byteArr.Count <= a) byteArr.Add(null);
byteArr[a] = arr[cursor];
cursor++;
break;
}
}
return result;
}
catch (Exception e)
{
Console.WriteLine(e.Message);
Console.WriteLine(e.StackTrace);
return result;
}
}
}
}

79
DataClients/TempDir.cs Normal file
View File

@@ -0,0 +1,79 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace DataClients
{
public static class TempDir
{
private static readonly char split = '/';
private static string dir = Directory.GetCurrentDirectory() + split + "temp";
private static List<string> protect = new List<string>();
private static Task checkTask = null;
private static async Task CheckDir()
{
while (true)
{
Directory.CreateDirectory(dir);
var listFiles = Directory.GetFiles(dir);
foreach (var e in listFiles)
{
var name = e.Split(split).Last();
if (!protect.Contains(name) && File.GetCreationTime(e) < DateTime.Now.AddMinutes(-5))
File.Delete(e);
}
await Task.Delay(5 * 60 * 1000);
}
}
public static void StartCkeckDir()
{
if (checkTask == null)
checkTask = Task.Run(() => CheckDir());
}
public static bool AddProtect(string name)
{
StartCkeckDir();
if (!protect.Contains(name))
{
protect.Add(name);
return true;
}
return false;
}
public static bool RemoveProtect(string name)
{
StartCkeckDir();
if (protect.Contains(name))
{
protect.Remove(name);
return true;
}
return false;
}
public static string GetTempDirectory()
{
StartCkeckDir();
return dir;
}
public static bool IsProtect(string name)
{
StartCkeckDir();
return protect.Contains(name);
}
public static bool IsExist(string name)
{
StartCkeckDir();
if (File.Exists(dir + split + name))
if (File.GetCreationTime(dir + split + name) > DateTime.Now.AddMinutes(-5))
return true;
else
File.Delete(dir + split + name);
return false;
}
}
}

603
DataClients/Variables.cs Normal file
View File

@@ -0,0 +1,603 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace DataClients
{
public class IshData
{
public DateTime time;
public ushort id;
public string value;
}
public class TechCycle
{
public enum Operation : ushort
{
end_tech_cycle = 0,
unloading_loading = 1,
vacuum_welding = 2,
welding = 5,
cooling_welding = 6,
looking_welding = 7,
vacuum_melting = 8,
breeding_bathtub = 9,
melting = 10,
VUR = 11,
cooling_ingot = 12,
unloading_kit = 13,
vacuum_reflow = 14,
reflow = 15,
cooling_reflow = 16,
overflow_metal = 17,
check_protection = 25
}
public DateTime start;
public DateTime end;
public Operation index;
}
public class ByteMatrix
{
public DateTime time;
public byte?[] matrix;
}
public static class Converter
{
public static char ConvertByteToChar(byte b)
{
char temp;
switch (b)
{
case 0x00: temp = ' '; break;
case 0x09: temp = '\t'; break;
case 0x0a: temp = '\n'; break;
case 0x80: temp = 'А'; break;
case 0x81: temp = 'Б'; break;
case 0x82: temp = 'В'; break;
case 0x83: temp = 'Г'; break;
case 0x84: temp = 'Д'; break;
case 0x85: temp = 'Е'; break;
case 0x86: temp = 'Ж'; break;
case 0x87: temp = 'З'; break;
case 0x88: temp = 'И'; break;
case 0x89: temp = 'Й'; break;
case 0x8a: temp = 'К'; break;
case 0x8b: temp = 'Л'; break;
case 0x8c: temp = 'М'; break;
case 0x8d: temp = 'Н'; break;
case 0x8e: temp = 'О'; break;
case 0x8f: temp = 'П'; break;
case 0x90: temp = 'Р'; break;
case 0x91: temp = 'С'; break;
case 0x92: temp = 'Т'; break;
case 0x93: temp = 'У'; break;
case 0x94: temp = 'Ф'; break;
case 0x95: temp = 'Х'; break;
case 0x96: temp = 'Ц'; break;
case 0x97: temp = 'Ч'; break;
case 0x98: temp = 'Ш'; break;
case 0x99: temp = 'Щ'; break;
case 0x9a: temp = 'Ъ'; break;
case 0x9b: temp = 'Ы'; break;
case 0x9c: temp = 'Ь'; break;
case 0x9d: temp = 'Э'; break;
case 0x9e: temp = 'Ю'; break;
case 0x9f: temp = 'Я'; break;
case 0xa0: temp = 'а'; break;
case 0xa1: temp = 'б'; break;
case 0xa2: temp = 'в'; break;
case 0xa3: temp = 'г'; break;
case 0xa4: temp = 'д'; break;
case 0xa5: temp = 'е'; break;
case 0xa6: temp = 'ж'; break;
case 0xa7: temp = 'з'; break;
case 0xa8: temp = 'и'; break;
case 0xa9: temp = 'й'; break;
case 0xaa: temp = 'к'; break;
case 0xab: temp = 'л'; break;
case 0xac: temp = 'м'; break;
case 0xad: temp = 'н'; break;
case 0xae: temp = 'о'; break;
case 0xaf: temp = 'п'; break;
case 0xe0: temp = 'р'; break;
case 0xe1: temp = 'c'; break;
case 0xe2: temp = 'т'; break;
case 0xe3: temp = 'у'; break;
case 0xe4: temp = 'ф'; break;
case 0xe5: temp = 'х'; break;
case 0xe6: temp = 'ц'; break;
case 0xe7: temp = 'ч'; break;
case 0xe8: temp = 'ш'; break;
case 0xe9: temp = 'щ'; break;
case 0xea: temp = 'ъ'; break;
case 0xeb: temp = 'ы'; break;
case 0xec: temp = 'ь'; break;
case 0xed: temp = 'э'; break;
case 0xee: temp = 'ю'; break;
case 0xef: temp = 'я'; break;
case 0xf0: temp = 'Ё'; break;
case 0xf1: temp = 'ё'; break;
default: temp = Convert.ToChar(b); break;
}
return temp;
}
public static DateTime ConvertUnixTimeToDateTime(int unixTimeStamp)
{
DateTime dtDateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0);
dtDateTime = dtDateTime.AddSeconds(unixTimeStamp).AddHours(5);
return dtDateTime;
}
}
public static class Names
{
public static List<string> techCycle = new List<string>()
{
"Конец технологического цикла", //00
"Выгрузка-загрузка", //01
"Вакуумирование на приварку", //02
"Цикл 3", //03
"Цикл 4", //04
"Приварка", //05
"Охлаждение приварки", //06
"Осмотр приварки", //07
"Вакуумирование на плавку", //08
"Разведение ванны", //09
"Плавка (основной режим)", //10
"ВУР", //11
"Охлаждение слитка", //12
"Выгрузка комплекта", //13
"Вакуумирование на оплавление", //14
"Оплавление", //15
"Охлаждение оплавыша", //16
"Слив металла", //17
"Цикл 18", //18
"Цикл 19", //19
"Цикл 20", //20
"Цикл 21", //21
"Цикл 22", //22
"Цикл 23", //23
"Цикл 24", //24
"Проверка защит" //25
};
public static List<string> analogFull = new List<string>()
{
"", //000
"", //001
"", //002
"", //003
"", //004
"", //005
"", //006
"", //007
"", //008
"", //009
"", //010
"", //011
"", //012
"Вакуум" //013
};
public static List<string> analogShort = new List<string>()
{
"", //000
"", //001
"", //002
"", //003
"", //004
"", //005
"", //006
"", //007
"", //008
"", //009
"", //010
"", //011
"", //012
"Вакуум" //013
};
public static List<string> analogMeasure = new List<string>()
{
"", //000
"", //001
"", //002
"", //003
"", //004
"", //005
"", //006
"", //007
"", //008
"", //009
"", //010
"", //011
"", //012
"мкм.рт.ст" //013
};
public static List<string> discretFull = new List<string>()
{
"", //000
"", //001
"", //002
"", //003
"", //004
"", //005
"", //006
"", //007
"", //008
"", //009
"", //010
"", //011
"", //012
"", //013
"", //014
"", //015
"", //016
"", //017
"", //018
"", //019
"", //020
"", //021
"SZO включен" //022
};
public static List<string> discretShort = new List<string>()
{
"", //000
"", //001
"", //002
"", //003
"", //004
"", //005
"", //006
"", //007
"", //008
"", //009
"", //010
"", //011
"", //012
"", //013
"", //014
"", //015
"", //016
"", //017
"", //018
"", //019
"", //020
"", //021
"" //022
};
public static List<string[]> dscretMods = new List<string[]>()
{
new string[] { "","" }, //000
new string[] { "","" }, //001
new string[] { "","" }, //002
new string[] { "","" }, //003
new string[] { "","" }, //004
new string[] { "","" }, //005
new string[] { "","" }, //006
new string[] { "","" }, //007
new string[] { "","" }, //008
new string[] { "","" }, //009
new string[] { "","" }, //010
new string[] { "","" }, //011
new string[] { "","" }, //012
new string[] { "","" }, //013
new string[] { "","" }, //014
new string[] { "","" }, //015
new string[] { "","" }, //016
new string[] { "","" }, //017
new string[] { "","" }, //018
new string[] { "","" }, //019
new string[] { "","" }, //020
new string[] { "","" }, //021
new string[] { "Нет","Да" } //022
};
public static List<string> protect = new List<string>()
{
"", //00
"", //01
"", //02
"", //03
"", //04
"", //05
"", //06
"", //07
"", //08
"", //09
"", //10
"", //11
"", //12
"", //13
"", //14
"", //15
"", //16
"", //17
"", //18
"", //19
"", //20
"", //21
"", //22
"", //23
"", //24
"", //25
"", //26
"", //27
"", //28
"", //29
"", //30
"", //31
"", //32
"", //33
"", //34
"", //35
"", //36
"", //37
"", //38
"", //39
"", //40
"", //41
"", //42
"", //43
"", //44
"", //45
"", //46
"", //47
"", //48
"", //49
"", //50
"", //51
"", //52
"", //53
"", //54
"", //55
"", //56
"", //57
"", //58
"", //59
"", //60
"", //61
"", //62
"", //63
"", //64
"", //65
"", //66
"", //67
"", //68
"", //69
"", //70
"", //71
"Алгоритм 31: Низкая скорость плавки!", //72
"", //73
"", //74
"", //75
"", //76
"", //77
"", //78
"", //79
"" //80
};
}
public class Pasport
{
public byte numVDP = 0x00;
public DateTime time_start = DateTime.Now;
public DateTime time_end = DateTime.Now;
public bool have_pasport = false;
public int kod_npl = 0;
public string nplav = "";
public string rm = "";
public string splav = "";
public string _is = "";
public ushort notd = 0;
public ushort vessl = 0;
public ushort diam = 0;
public ushort prpl = 0;
public string tin = "";
public string dzap = "";
public short dlog = 0;
public short last = 0;
public short dlper = 0;
public string nazn = "";
public ushort kompl = 0;
public ushort izl = 0;
public float robm = 0.0f;
public float rizol = 0.0f;
public ushort dkr = 0;
public string nkon = "";
public string pos = "";
public string ukaz = "";
public string zakaz = "";
public string kat = "";
public string pril = "";
public string rezerved = "";
public byte[] time_start_byte { set { time_start = byte_to_date(value); } }
public byte[] time_end_byte { set { time_end = byte_to_date(value); } }
private DateTime byte_to_date(byte[] a) { return (a.Length < 7) ? DateTime.Now : new DateTime(BitConverter.ToUInt16(a, 0), (int)a[2], (int)a[3], (int)a[4], (int)a[5], (int)a[6]); }
public byte[] byteArr
{
set
{
var i = 0;
if (value.Length < i + 1) return;
numVDP = value[i]; i += 1;
if (value.Length < i + 7) return;
var arr = new byte[7];
Array.Copy(value, i, arr, 0, 7);
time_start_byte = arr; i += 7;
if (value.Length < i + 7) return;
arr = new byte[7];
Array.Copy(value, i, arr, 0, 7);
time_end_byte = arr; i += 7;
if (value.Length < i + 1) return;
have_pasport = value[i] == 0x01; i += 1;
if (!have_pasport) return;
if (value.Length < i + 4) return;
kod_npl = BitConverter.ToInt32(value, i); i += 4;
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
var enc = Encoding.GetEncoding(866);
if (value.Length < i + 12) return;
nplav = enc.GetString(value, i, 12); i += 12;
if (value.Length < i + 11) return;
rm = enc.GetString(value, i, 11); i += 11;
if (value.Length < i + 101) return;
splav = enc.GetString(value, i, 101); i += 101;
if (value.Length < i + 51) return;
_is = enc.GetString(value, i, 51); i += 51;
if (value.Length < i + 2) return;
notd = BitConverter.ToUInt16(value, i); i += 2;
if (value.Length < i + 2) return;
vessl = BitConverter.ToUInt16(value, i); i += 2;
if (value.Length < i + 2) return;
diam = BitConverter.ToUInt16(value, i); i += 2;
if (value.Length < i + 2) return;
prpl = BitConverter.ToUInt16(value, i); i += 2;
if (value.Length < i + 9) return;
tin = enc.GetString(value, i, 9); i += 9;
if (value.Length < i + 9) return;
dzap = enc.GetString(value, i, 9); i += 9;
if (value.Length < i + 2) return;
dlog = BitConverter.ToInt16(value, i); i += 2;
if (value.Length < i + 2) return;
last = BitConverter.ToInt16(value, i); i += 2;
if (value.Length < i + 2) return;
dlper = BitConverter.ToInt16(value, i); i += 2;
if (value.Length < i + 51) return;
nazn = enc.GetString(value, i, 51); i += 51;
if (value.Length < i + 2) return;
kompl = BitConverter.ToUInt16(value, i); i += 2;
if (value.Length < i + 2) return;
izl = BitConverter.ToUInt16(value, i); i += 2;
if (value.Length < i + 4) return;
robm = BitConverter.ToSingle(value, i); i += 4;
if (value.Length < i + 4) return;
rizol = BitConverter.ToSingle(value, i); i += 4;
if (value.Length < i + 2) return;
dkr = BitConverter.ToUInt16(value, i); i += 2;
if (value.Length < i + 51) return;
nkon = enc.GetString(value, i, 51); i += 51;
if (value.Length < i + 6) return;
pos = enc.GetString(value, i, 6); i += 6;
if (value.Length < i + 51) return;
ukaz = enc.GetString(value, i, 51); i += 51;
if (value.Length < i + 51) return;
zakaz = enc.GetString(value, i, 51); i += 51;
if (value.Length < i + 51) return;
kat = enc.GetString(value, i, 51); i += 51;
if (value.Length < i + 3) return;
pril = enc.GetString(value, i, 3); i += 3;
if (value.Length < i + 1023) return;
rezerved = enc.GetString(value, i, 1023); i += 1023;
}
}
public string ToString()
{
var r = new StringBuilder();
r.Append("numVDP:\t"); r.Append(numVDP); r.Append('\n');
r.Append("tStart:\t"); r.Append(time_start.ToString()); r.Append('\n');
r.Append("tEnd:\t"); r.Append(time_end.ToString()); r.Append('\n');
r.Append("Check:\t"); r.Append(have_pasport.ToString()); r.Append('\n');
if (!have_pasport) return r.ToString();
r.Append("knpl:\t"); r.Append(kod_npl); r.Append('\n');
r.Append("nplav:\t"); r.Append(nplav); r.Append('\n');
r.Append("rm:\t"); r.Append(rm); r.Append('\n');
r.Append("splav:\t"); r.Append(splav); r.Append('\n');
r.Append("_is:\t"); r.Append(_is); r.Append('\n');
r.Append("notd:\t"); r.Append(notd); r.Append('\n');
r.Append("vessl:\t"); r.Append(vessl); r.Append('\n');
r.Append("diam:\t"); r.Append(diam); r.Append('\n');
r.Append("prpl:\t"); r.Append(prpl); r.Append('\n');
r.Append("tin:\t"); r.Append(tin); r.Append('\n');
r.Append("dzap:\t"); r.Append(dzap); r.Append('\n');
r.Append("dlog:\t"); r.Append(dlog); r.Append('\n');
r.Append("last:\t"); r.Append(last); r.Append('\n');
r.Append("dlper:\t"); r.Append(dlper); r.Append('\n');
r.Append("nazn:\t"); r.Append(nazn); r.Append('\n');
r.Append("kompl:\t"); r.Append(kompl); r.Append('\n');
r.Append("izl:\t"); r.Append(izl); r.Append('\n');
r.Append("robm:\t"); r.Append(robm); r.Append('\n');
r.Append("rizol:\t"); r.Append(rizol); r.Append('\n');
r.Append("dkr:\t"); r.Append(dkr); r.Append('\n');
r.Append("nkon:\t"); r.Append(nkon); r.Append('\n');
r.Append("pos:\t"); r.Append(pos); r.Append('\n');
r.Append("ukaz:\t"); r.Append(ukaz); r.Append('\n');
r.Append("zakaz:\t"); r.Append(zakaz); r.Append('\n');
r.Append("kat:\t"); r.Append(kat); r.Append('\n');
r.Append("pril:\t"); r.Append(pril); r.Append('\n');
r.Append("rezerv:\t"); r.Append(rezerved); r.Append('\n');
return r.ToString();
}
}
public class ADresult
{
public Dictionary<int, Tuple<DateTime, double?>[]> an = new Dictionary<int, Tuple<DateTime, double?>[]>();
public Dictionary<int, Tuple<DateTime, bool?>[]> di = new Dictionary<int, Tuple<DateTime, bool?>[]>();
}
public class AnalogsMatrix
{
public Dictionary<int, Analog> matrix = new Dictionary<int, Analog>();
public AnalogsMatrix(int vdp = 0)
{
matrix.Add(13, new Analog() { min = 0, max = 1000, mul = 0.1, byteId = new ushort[] { 26, 27 } });
}
}
public class Analog
{
public double min = double.MinValue;
public double max = double.MaxValue;
public double mul = 1;
public ushort[] byteId = new ushort[0];
}
public class DiscretsMatrix
{
public Dictionary<int, Discret> matrix = new Dictionary<int, Discret>();
public DiscretsMatrix(int vdp = 0)
{
matrix.Add(22, new Discret() { byteId = 0x30, bitId = 6, invert = false });
}
}
public class Discret
{
public ushort byteId = 0x00;
public ushort bitId = 0x00;
public bool invert = false;
}
public class Protect
{
public DateTime time;
public int id;
public int value;
}
}

View File

@@ -0,0 +1,97 @@
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.0/",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETStandard,Version=v2.0": {},
".NETStandard,Version=v2.0/": {
"DataClients/1.0.0": {
"dependencies": {
"NETStandard.Library": "2.0.3",
"SharpZipLib": "1.2.0",
"System.Text.Encoding.CodePages": "4.7.1"
},
"runtime": {
"DataClients.dll": {}
}
},
"Microsoft.NETCore.Platforms/1.1.0": {},
"NETStandard.Library/2.0.3": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0"
}
},
"SharpZipLib/1.2.0": {
"runtime": {
"lib/netstandard2.0/ICSharpCode.SharpZipLib.dll": {
"assemblyVersion": "1.2.0.246",
"fileVersion": "1.2.0.246"
}
}
},
"System.Runtime.CompilerServices.Unsafe/4.7.1": {
"runtime": {
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {
"assemblyVersion": "4.0.6.0",
"fileVersion": "4.700.20.12001"
}
}
},
"System.Text.Encoding.CodePages/4.7.1": {
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "4.7.1"
},
"runtime": {
"lib/netstandard2.0/System.Text.Encoding.CodePages.dll": {
"assemblyVersion": "4.1.3.0",
"fileVersion": "4.700.20.21406"
}
}
}
}
},
"libraries": {
"DataClients/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.NETCore.Platforms/1.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
"path": "microsoft.netcore.platforms/1.1.0",
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
},
"NETStandard.Library/2.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
"path": "netstandard.library/2.0.3",
"hashPath": "netstandard.library.2.0.3.nupkg.sha512"
},
"SharpZipLib/1.2.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zvWa/L02JHNatdtjya6Swpudb2YEHaOLHL1eRrqpjm71iGRNUNONO5adUF/9CHbSJbzhELW1UoH4NGy7n7+3bQ==",
"path": "sharpziplib/1.2.0",
"hashPath": "sharpziplib.1.2.0.nupkg.sha512"
},
"System.Runtime.CompilerServices.Unsafe/4.7.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-zOHkQmzPCn5zm/BH+cxC1XbUS3P4Yoi3xzW7eRgVpDR2tPGSzyMZ17Ig1iRkfJuY0nhxkQQde8pgePNiA7z7TQ==",
"path": "system.runtime.compilerservices.unsafe/4.7.1",
"hashPath": "system.runtime.compilerservices.unsafe.4.7.1.nupkg.sha512"
},
"System.Text.Encoding.CodePages/4.7.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-i2fOvznVVgOOTLUz8FgSap/MsR98I4Iaoz99VXcOW/e7Y2OdY42zhYpBYpZyivk5alYY/UsOWAVswhtjxceodA==",
"path": "system.text.encoding.codepages/4.7.1",
"hashPath": "system.text.encoding.codepages.4.7.1.nupkg.sha512"
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,47 @@
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.0/",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETStandard,Version=v2.0": {},
".NETStandard,Version=v2.0/": {
"STPClient/1.0.0": {
"dependencies": {
"NETStandard.Library": "2.0.3"
},
"runtime": {
"STPClient.dll": {}
}
},
"Microsoft.NETCore.Platforms/1.1.0": {},
"NETStandard.Library/2.0.3": {
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0"
}
}
}
},
"libraries": {
"STPClient/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.NETCore.Platforms/1.1.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
"path": "microsoft.netcore.platforms/1.1.0",
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
},
"NETStandard.Library/2.0.3": {
"type": "package",
"serviceable": true,
"sha512": "sha512-st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
"path": "netstandard.library/2.0.3",
"hashPath": "netstandard.library.2.0.3.nupkg.sha512"
}
}
}

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,76 @@
{
"format": 1,
"restore": {
"F:\\Projects1\\DataClients\\DataClients.csproj": {}
},
"projects": {
"F:\\Projects1\\DataClients\\DataClients.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "F:\\Projects1\\DataClients\\DataClients.csproj",
"projectName": "DataClients",
"projectPath": "F:\\Projects1\\DataClients\\DataClients.csproj",
"packagesPath": "C:\\Users\\google\\.nuget\\packages\\",
"outputPath": "F:\\Projects1\\DataClients\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Microsoft\\Xamarin\\NuGet\\",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\google\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.0": {
"dependencies": {
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
},
"SharpZipLib": {
"target": "Package",
"version": "[1.2.0, )"
},
"System.Text.Encoding.CodePages": {
"target": "Package",
"version": "[4.7.1, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.301\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\google\.nuget\packages\;C:\Microsoft\Xamarin\NuGet\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.6.0</NuGetToolVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
</ImportGroup>
</Project>

View File

@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.0", FrameworkDisplayName = "")]

View File

@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("DataClients")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("DataClients")]
[assembly: System.Reflection.AssemblyTitleAttribute("DataClients")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Создано классом WriteCodeFragment MSBuild.

View File

@@ -0,0 +1 @@
5b50c6ff4854229e53843d7ef9f5704fbed5215a

View File

@@ -0,0 +1 @@
28f25e2c7da5c3cddc132285b76b94739ff791dd

View File

@@ -0,0 +1,18 @@
F:\Projects1\DataClients\bin\Debug\netstandard2.0\DataClients.deps.json
F:\Projects1\DataClients\bin\Debug\netstandard2.0\DataClients.dll
F:\Projects1\DataClients\obj\Debug\netstandard2.0\DataClients.csprojAssemblyReference.cache
F:\Projects1\DataClients\obj\Debug\netstandard2.0\DataClients.AssemblyInfoInputs.cache
F:\Projects1\DataClients\obj\Debug\netstandard2.0\DataClients.AssemblyInfo.cs
F:\Projects1\DataClients\bin\Debug\netstandard2.0\DataClients.pdb
F:\Projects1\DataClients\obj\Debug\netstandard2.0\DataClients.dll
F:\Projects1\DataClients\obj\Debug\netstandard2.0\DataClients.pdb
F:\Projects1\DataClients\obj\Debug\netstandard2.0\DataClients.csproj.CoreCompileInputs.cache
G:\Projects1\DataClients\bin\Debug\netstandard2.0\DataClients.deps.json
G:\Projects1\DataClients\bin\Debug\netstandard2.0\DataClients.dll
G:\Projects1\DataClients\bin\Debug\netstandard2.0\DataClients.pdb
G:\Projects1\DataClients\obj\Debug\netstandard2.0\DataClients.csprojAssemblyReference.cache
G:\Projects1\DataClients\obj\Debug\netstandard2.0\DataClients.AssemblyInfoInputs.cache
G:\Projects1\DataClients\obj\Debug\netstandard2.0\DataClients.AssemblyInfo.cs
G:\Projects1\DataClients\obj\Debug\netstandard2.0\DataClients.csproj.CoreCompileInputs.cache
G:\Projects1\DataClients\obj\Debug\netstandard2.0\DataClients.dll
G:\Projects1\DataClients\obj\Debug\netstandard2.0\DataClients.pdb

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("DataClients")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("DataClients")]
[assembly: System.Reflection.AssemblyTitleAttribute("DataClients")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Создано классом WriteCodeFragment MSBuild.

View File

@@ -0,0 +1 @@
5b50c6ff4854229e53843d7ef9f5704fbed5215a

View File

@@ -0,0 +1 @@
7ee31470a41af845680b94375cd688c73b182d3e

View File

@@ -0,0 +1,9 @@
D:\Projects\STPClient\bin\Debug\netstandard2.0\STPClient.deps.json
D:\Projects\STPClient\bin\Debug\netstandard2.0\STPClient.dll
D:\Projects\STPClient\bin\Debug\netstandard2.0\STPClient.pdb
D:\Projects\STPClient\obj\Debug\netstandard2.0\STPClient.csprojAssemblyReference.cache
D:\Projects\STPClient\obj\Debug\netstandard2.0\STPClient.AssemblyInfoInputs.cache
D:\Projects\STPClient\obj\Debug\netstandard2.0\STPClient.AssemblyInfo.cs
D:\Projects\STPClient\obj\Debug\netstandard2.0\STPClient.csproj.CoreCompileInputs.cache
D:\Projects\STPClient\obj\Debug\netstandard2.0\STPClient.dll
D:\Projects\STPClient\obj\Debug\netstandard2.0\STPClient.pdb

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,68 @@
{
"format": 1,
"restore": {
"F:\\Projects1\\STPClient\\STPClient.csproj": {}
},
"projects": {
"F:\\Projects1\\STPClient\\STPClient.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "F:\\Projects1\\STPClient\\STPClient.csproj",
"projectName": "DataClients",
"projectPath": "F:\\Projects1\\STPClient\\STPClient.csproj",
"packagesPath": "C:\\Users\\google\\.nuget\\packages\\",
"outputPath": "F:\\Projects1\\STPClient\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Microsoft\\Xamarin\\NuGet\\",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\google\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.0": {
"dependencies": {
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.301\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\google\.nuget\packages\;C:\Microsoft\Xamarin\NuGet\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.6.0</NuGetToolVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
</ImportGroup>
</Project>

View File

@@ -0,0 +1,380 @@
{
"version": 3,
"targets": {
".NETStandard,Version=v2.0": {
"Microsoft.NETCore.Platforms/1.1.0": {
"type": "package",
"compile": {
"lib/netstandard1.0/_._": {}
},
"runtime": {
"lib/netstandard1.0/_._": {}
}
},
"NETStandard.Library/2.0.3": {
"type": "package",
"dependencies": {
"Microsoft.NETCore.Platforms": "1.1.0"
},
"compile": {
"lib/netstandard1.0/_._": {}
},
"runtime": {
"lib/netstandard1.0/_._": {}
},
"build": {
"build/netstandard2.0/NETStandard.Library.targets": {}
}
},
"SharpZipLib/1.2.0": {
"type": "package",
"compile": {
"lib/netstandard2.0/ICSharpCode.SharpZipLib.dll": {}
},
"runtime": {
"lib/netstandard2.0/ICSharpCode.SharpZipLib.dll": {}
}
},
"System.Runtime.CompilerServices.Unsafe/4.7.1": {
"type": "package",
"compile": {
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {}
},
"runtime": {
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {}
}
},
"System.Text.Encoding.CodePages/4.7.1": {
"type": "package",
"dependencies": {
"System.Runtime.CompilerServices.Unsafe": "4.7.1"
},
"compile": {
"lib/netstandard2.0/System.Text.Encoding.CodePages.dll": {}
},
"runtime": {
"lib/netstandard2.0/System.Text.Encoding.CodePages.dll": {}
},
"runtimeTargets": {
"runtimes/win/lib/netstandard2.0/System.Text.Encoding.CodePages.dll": {
"assetType": "runtime",
"rid": "win"
}
}
}
}
},
"libraries": {
"Microsoft.NETCore.Platforms/1.1.0": {
"sha512": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
"type": "package",
"path": "microsoft.netcore.platforms/1.1.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"ThirdPartyNotices.txt",
"dotnet_library_license.txt",
"lib/netstandard1.0/_._",
"microsoft.netcore.platforms.1.1.0.nupkg.sha512",
"microsoft.netcore.platforms.nuspec",
"runtime.json"
]
},
"NETStandard.Library/2.0.3": {
"sha512": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
"type": "package",
"path": "netstandard.library/2.0.3",
"files": [
".nupkg.metadata",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"build/netstandard2.0/NETStandard.Library.targets",
"build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll",
"build/netstandard2.0/ref/System.AppContext.dll",
"build/netstandard2.0/ref/System.Collections.Concurrent.dll",
"build/netstandard2.0/ref/System.Collections.NonGeneric.dll",
"build/netstandard2.0/ref/System.Collections.Specialized.dll",
"build/netstandard2.0/ref/System.Collections.dll",
"build/netstandard2.0/ref/System.ComponentModel.Composition.dll",
"build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll",
"build/netstandard2.0/ref/System.ComponentModel.Primitives.dll",
"build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll",
"build/netstandard2.0/ref/System.ComponentModel.dll",
"build/netstandard2.0/ref/System.Console.dll",
"build/netstandard2.0/ref/System.Core.dll",
"build/netstandard2.0/ref/System.Data.Common.dll",
"build/netstandard2.0/ref/System.Data.dll",
"build/netstandard2.0/ref/System.Diagnostics.Contracts.dll",
"build/netstandard2.0/ref/System.Diagnostics.Debug.dll",
"build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll",
"build/netstandard2.0/ref/System.Diagnostics.Process.dll",
"build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll",
"build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll",
"build/netstandard2.0/ref/System.Diagnostics.Tools.dll",
"build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll",
"build/netstandard2.0/ref/System.Diagnostics.Tracing.dll",
"build/netstandard2.0/ref/System.Drawing.Primitives.dll",
"build/netstandard2.0/ref/System.Drawing.dll",
"build/netstandard2.0/ref/System.Dynamic.Runtime.dll",
"build/netstandard2.0/ref/System.Globalization.Calendars.dll",
"build/netstandard2.0/ref/System.Globalization.Extensions.dll",
"build/netstandard2.0/ref/System.Globalization.dll",
"build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll",
"build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll",
"build/netstandard2.0/ref/System.IO.Compression.dll",
"build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll",
"build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll",
"build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll",
"build/netstandard2.0/ref/System.IO.FileSystem.dll",
"build/netstandard2.0/ref/System.IO.IsolatedStorage.dll",
"build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll",
"build/netstandard2.0/ref/System.IO.Pipes.dll",
"build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll",
"build/netstandard2.0/ref/System.IO.dll",
"build/netstandard2.0/ref/System.Linq.Expressions.dll",
"build/netstandard2.0/ref/System.Linq.Parallel.dll",
"build/netstandard2.0/ref/System.Linq.Queryable.dll",
"build/netstandard2.0/ref/System.Linq.dll",
"build/netstandard2.0/ref/System.Net.Http.dll",
"build/netstandard2.0/ref/System.Net.NameResolution.dll",
"build/netstandard2.0/ref/System.Net.NetworkInformation.dll",
"build/netstandard2.0/ref/System.Net.Ping.dll",
"build/netstandard2.0/ref/System.Net.Primitives.dll",
"build/netstandard2.0/ref/System.Net.Requests.dll",
"build/netstandard2.0/ref/System.Net.Security.dll",
"build/netstandard2.0/ref/System.Net.Sockets.dll",
"build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll",
"build/netstandard2.0/ref/System.Net.WebSockets.Client.dll",
"build/netstandard2.0/ref/System.Net.WebSockets.dll",
"build/netstandard2.0/ref/System.Net.dll",
"build/netstandard2.0/ref/System.Numerics.dll",
"build/netstandard2.0/ref/System.ObjectModel.dll",
"build/netstandard2.0/ref/System.Reflection.Extensions.dll",
"build/netstandard2.0/ref/System.Reflection.Primitives.dll",
"build/netstandard2.0/ref/System.Reflection.dll",
"build/netstandard2.0/ref/System.Resources.Reader.dll",
"build/netstandard2.0/ref/System.Resources.ResourceManager.dll",
"build/netstandard2.0/ref/System.Resources.Writer.dll",
"build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll",
"build/netstandard2.0/ref/System.Runtime.Extensions.dll",
"build/netstandard2.0/ref/System.Runtime.Handles.dll",
"build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll",
"build/netstandard2.0/ref/System.Runtime.InteropServices.dll",
"build/netstandard2.0/ref/System.Runtime.Numerics.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll",
"build/netstandard2.0/ref/System.Runtime.Serialization.dll",
"build/netstandard2.0/ref/System.Runtime.dll",
"build/netstandard2.0/ref/System.Security.Claims.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll",
"build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll",
"build/netstandard2.0/ref/System.Security.Principal.dll",
"build/netstandard2.0/ref/System.Security.SecureString.dll",
"build/netstandard2.0/ref/System.ServiceModel.Web.dll",
"build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll",
"build/netstandard2.0/ref/System.Text.Encoding.dll",
"build/netstandard2.0/ref/System.Text.RegularExpressions.dll",
"build/netstandard2.0/ref/System.Threading.Overlapped.dll",
"build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll",
"build/netstandard2.0/ref/System.Threading.Tasks.dll",
"build/netstandard2.0/ref/System.Threading.Thread.dll",
"build/netstandard2.0/ref/System.Threading.ThreadPool.dll",
"build/netstandard2.0/ref/System.Threading.Timer.dll",
"build/netstandard2.0/ref/System.Threading.dll",
"build/netstandard2.0/ref/System.Transactions.dll",
"build/netstandard2.0/ref/System.ValueTuple.dll",
"build/netstandard2.0/ref/System.Web.dll",
"build/netstandard2.0/ref/System.Windows.dll",
"build/netstandard2.0/ref/System.Xml.Linq.dll",
"build/netstandard2.0/ref/System.Xml.ReaderWriter.dll",
"build/netstandard2.0/ref/System.Xml.Serialization.dll",
"build/netstandard2.0/ref/System.Xml.XDocument.dll",
"build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll",
"build/netstandard2.0/ref/System.Xml.XPath.dll",
"build/netstandard2.0/ref/System.Xml.XmlDocument.dll",
"build/netstandard2.0/ref/System.Xml.XmlSerializer.dll",
"build/netstandard2.0/ref/System.Xml.dll",
"build/netstandard2.0/ref/System.dll",
"build/netstandard2.0/ref/mscorlib.dll",
"build/netstandard2.0/ref/netstandard.dll",
"build/netstandard2.0/ref/netstandard.xml",
"lib/netstandard1.0/_._",
"netstandard.library.2.0.3.nupkg.sha512",
"netstandard.library.nuspec"
]
},
"SharpZipLib/1.2.0": {
"sha512": "zvWa/L02JHNatdtjya6Swpudb2YEHaOLHL1eRrqpjm71iGRNUNONO5adUF/9CHbSJbzhELW1UoH4NGy7n7+3bQ==",
"type": "package",
"path": "sharpziplib/1.2.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net45/ICSharpCode.SharpZipLib.dll",
"lib/net45/ICSharpCode.SharpZipLib.pdb",
"lib/net45/ICSharpCode.SharpZipLib.xml",
"lib/netstandard2.0/ICSharpCode.SharpZipLib.dll",
"lib/netstandard2.0/ICSharpCode.SharpZipLib.pdb",
"lib/netstandard2.0/ICSharpCode.SharpZipLib.xml",
"sharpziplib.1.2.0.nupkg.sha512",
"sharpziplib.nuspec"
]
},
"System.Runtime.CompilerServices.Unsafe/4.7.1": {
"sha512": "zOHkQmzPCn5zm/BH+cxC1XbUS3P4Yoi3xzW7eRgVpDR2tPGSzyMZ17Ig1iRkfJuY0nhxkQQde8pgePNiA7z7TQ==",
"type": "package",
"path": "system.runtime.compilerservices.unsafe/4.7.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/net461/System.Runtime.CompilerServices.Unsafe.dll",
"lib/net461/System.Runtime.CompilerServices.Unsafe.xml",
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
"ref/net461/System.Runtime.CompilerServices.Unsafe.dll",
"ref/net461/System.Runtime.CompilerServices.Unsafe.xml",
"ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
"system.runtime.compilerservices.unsafe.4.7.1.nupkg.sha512",
"system.runtime.compilerservices.unsafe.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Text.Encoding.CodePages/4.7.1": {
"sha512": "i2fOvznVVgOOTLUz8FgSap/MsR98I4Iaoz99VXcOW/e7Y2OdY42zhYpBYpZyivk5alYY/UsOWAVswhtjxceodA==",
"type": "package",
"path": "system.text.encoding.codepages/4.7.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net46/System.Text.Encoding.CodePages.dll",
"lib/net461/System.Text.Encoding.CodePages.dll",
"lib/net461/System.Text.Encoding.CodePages.xml",
"lib/netstandard1.3/System.Text.Encoding.CodePages.dll",
"lib/netstandard2.0/System.Text.Encoding.CodePages.dll",
"lib/netstandard2.0/System.Text.Encoding.CodePages.xml",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"ref/MonoAndroid10/_._",
"ref/MonoTouch10/_._",
"ref/xamarinios10/_._",
"ref/xamarinmac20/_._",
"ref/xamarintvos10/_._",
"ref/xamarinwatchos10/_._",
"runtimes/win/lib/net461/System.Text.Encoding.CodePages.dll",
"runtimes/win/lib/net461/System.Text.Encoding.CodePages.xml",
"runtimes/win/lib/netcoreapp2.0/System.Text.Encoding.CodePages.dll",
"runtimes/win/lib/netcoreapp2.0/System.Text.Encoding.CodePages.xml",
"runtimes/win/lib/netstandard1.3/System.Text.Encoding.CodePages.dll",
"runtimes/win/lib/netstandard2.0/System.Text.Encoding.CodePages.dll",
"runtimes/win/lib/netstandard2.0/System.Text.Encoding.CodePages.xml",
"system.text.encoding.codepages.4.7.1.nupkg.sha512",
"system.text.encoding.codepages.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
}
},
"projectFileDependencyGroups": {
".NETStandard,Version=v2.0": [
"NETStandard.Library >= 2.0.3",
"SharpZipLib >= 1.2.0",
"System.Text.Encoding.CodePages >= 4.7.1"
]
},
"packageFolders": {
"C:\\Users\\google\\.nuget\\packages\\": {},
"C:\\Microsoft\\Xamarin\\NuGet\\": {},
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "F:\\Projects1\\DataClients\\DataClients.csproj",
"projectName": "DataClients",
"projectPath": "F:\\Projects1\\DataClients\\DataClients.csproj",
"packagesPath": "C:\\Users\\google\\.nuget\\packages\\",
"outputPath": "F:\\Projects1\\DataClients\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Microsoft\\Xamarin\\NuGet\\",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\google\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.0": {
"dependencies": {
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
},
"SharpZipLib": {
"target": "Package",
"version": "[1.2.0, )"
},
"System.Text.Encoding.CodePages": {
"target": "Package",
"version": "[4.7.1, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.301\\RuntimeIdentifierGraph.json"
}
}
}
}

View File

@@ -0,0 +1,14 @@
{
"version": 2,
"dgSpecHash": "luIlLkJpphdxn+N0Tej8I3Q8t0JhY6JKvYdSHoGjFRJtuja+iy9Rig0D/ls+i8l95ePrv+iVmnnMZKlk07oDFA==",
"success": true,
"projectFilePath": "F:\\Projects1\\DataClients\\DataClients.csproj",
"expectedPackageFiles": [
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder\\netstandard.library\\2.0.3\\netstandard.library.2.0.3.nupkg.sha512",
"C:\\Users\\google\\.nuget\\packages\\sharpziplib\\1.2.0\\sharpziplib.1.2.0.nupkg.sha512",
"C:\\Users\\google\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.7.1\\system.runtime.compilerservices.unsafe.4.7.1.nupkg.sha512",
"C:\\Users\\google\\.nuget\\packages\\system.text.encoding.codepages\\4.7.1\\system.text.encoding.codepages.4.7.1.nupkg.sha512"
],
"logs": []
}