初始化CRICS
This commit is contained in:
132
ConsoleApplication2/ConsoleApplication2.csproj
Normal file
132
ConsoleApplication2/ConsoleApplication2.csproj
Normal file
@@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{4646F920-6D41-4519-8E03-5528B64EC7FE}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>ConsoleApplication2</RootNamespace>
|
||||
<AssemblyName>ConsoleApplication2</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile>
|
||||
</TargetFrameworkProfile>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="FluentScheduler">
|
||||
<HintPath>..\lib\taskschedule\FluentScheduler.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="jose-jwt">
|
||||
<HintPath>..\lib\jwt\jose-jwt.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\lib\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="RestSharp, Version=105.2.3.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\lib\RestSharp\RestSharp.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CommonEntity\CommonEntity.csproj">
|
||||
<Project>{1D7073B2-4CC3-49F5-9F37-50A21D74A39D}</Project>
|
||||
<Name>CommonEntity</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Common\Common.csproj">
|
||||
<Project>{B3F29715-E925-4E56-9248-580F06C3BC11}</Project>
|
||||
<Name>Common</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Domain\Domain.csproj">
|
||||
<Project>{A42D287A-8EF4-48F6-B14C-7F9CA834F786}</Project>
|
||||
<Name>Domain</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\RCUHost\RCUHost.csproj">
|
||||
<Project>{3AF4C628-0B47-412C-950A-DBC0161F2A7F}</Project>
|
||||
<Name>RCUHost</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include=".NETFramework,Version=v4.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Microsoft .NET Framework 4 %28x86 和 x64%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
13
ConsoleApplication2/ConsoleApplication2.csproj.user
Normal file
13
ConsoleApplication2/ConsoleApplication2.csproj.user
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<PublishUrlHistory />
|
||||
<InstallUrlHistory />
|
||||
<SupportUrlHistory />
|
||||
<UpdateUrlHistory />
|
||||
<BootstrapperUrlHistory />
|
||||
<ErrorReportUrlHistory />
|
||||
<FallbackCulture>zh-CN</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
649
ConsoleApplication2/Program.cs
Normal file
649
ConsoleApplication2/Program.cs
Normal file
@@ -0,0 +1,649 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using Jose;
|
||||
using System.Timers;
|
||||
using Common;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using System.Threading;
|
||||
using FluentScheduler;
|
||||
using System.Xml;
|
||||
using System.Xml.Linq;
|
||||
using System.Collections;
|
||||
using System.Security.Cryptography.X509Certificates;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using RCUHost.Protocols;
|
||||
using RestSharp;
|
||||
using Domain.IoTFerErEntity;
|
||||
using System.Net;
|
||||
using System.Collections.Concurrent;
|
||||
using RCUHost.Implement;
|
||||
using Domain;
|
||||
using Newtonsoft.Json;
|
||||
using CommonEntity;
|
||||
using Newtonsoft.Json.Linq;
|
||||
|
||||
namespace ConsoleApplication2
|
||||
{
|
||||
class Program
|
||||
{
|
||||
|
||||
public static string NormalizeVersion(string version, int desiredParts = 3)
|
||||
{
|
||||
// 移除末尾的冗余点并分割
|
||||
var parts = version.TrimEnd('.').Split(new[] { '.' }, StringSplitOptions.RemoveEmptyEntries);
|
||||
|
||||
// 补零到目标位数
|
||||
while (parts.Length < desiredParts)
|
||||
{
|
||||
parts = parts.Concat(new[] { "0" }).ToArray();
|
||||
}
|
||||
|
||||
return string.Join(".", parts);
|
||||
}
|
||||
|
||||
|
||||
public struct A
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string name { get; set; }
|
||||
}
|
||||
static System.Timers.Timer t = null;
|
||||
|
||||
|
||||
|
||||
public enum Fruit
|
||||
{
|
||||
Apple, Bear
|
||||
}
|
||||
public class GA
|
||||
{
|
||||
public string NNN { get; set; }
|
||||
public Fruit FFF { get; set; }
|
||||
}
|
||||
|
||||
public class GGG
|
||||
{
|
||||
public string Name { get; set; }
|
||||
}
|
||||
|
||||
[DllImport("kernel32.dll")]
|
||||
private static extern void GetSystemTimePreciseAsFileTime(out long fileTime);
|
||||
|
||||
// 将 FILETIME (long) 转换为 DateTime
|
||||
public static DateTime GetNowPrecise()
|
||||
{
|
||||
long fileTime;
|
||||
GetSystemTimePreciseAsFileTime(out fileTime);
|
||||
DateTime localTime = DateTime.FromFileTimeUtc(fileTime).ToLocalTime();
|
||||
return localTime;
|
||||
}
|
||||
|
||||
static byte[] GetBytesFromString(string hexString)
|
||||
{
|
||||
byte[] bytes = new byte[hexString.Length / 2]; // 计算字节数组的长度
|
||||
for (int i = 0; i < bytes.Length; i++)
|
||||
{
|
||||
bytes[i] = Convert.ToByte(hexString.Substring(i * 2, 2), 16); // 每次取两个字符转换为字节
|
||||
}
|
||||
return bytes;
|
||||
}
|
||||
|
||||
static void JieXi()
|
||||
{
|
||||
|
||||
string strnn1 = "AA 55 2F 00 54 33 53 41 02 34 80 EB 03 6B 24 34 D0 B8 11 6B 24 01 01 01 39 01 01 00 10 F0 55 E8 03 E8 03 00 00 E8 03 00 00 E8 03 00 00 9E 00";
|
||||
|
||||
|
||||
//AA 55 2F 00 54 33 53 41 02 34 80 EB 03 6B 24
|
||||
//34 D0 B8 11 6B 24
|
||||
//01 解析版本
|
||||
//01 取电
|
||||
//01 设备数量
|
||||
//39
|
||||
//01
|
||||
//01
|
||||
//00
|
||||
//10 ///长度
|
||||
//F0 55 //电压
|
||||
//E8 03 //电流
|
||||
//E8 03 00 00 功率
|
||||
//E8 03 00 00 能耗
|
||||
//E8 03 00 00 总能耗
|
||||
//9E 00
|
||||
byte[] nnnafd = GetBytesFromString(strnn1.Replace(" ", ""));
|
||||
byte[] Data = GetBytesFromString(strnn1.Replace(" ", ""));
|
||||
byte[] MAC = Data.Skip(15).Take(6).ToArray();
|
||||
byte Version = Data.Skip(21).Take(1).FirstOrDefault();
|
||||
|
||||
//从第21个数据开始
|
||||
byte TakeCard = Data.Skip(22).Take(1).FirstOrDefault();
|
||||
|
||||
//设备数量
|
||||
byte DeviceCount = Data.Skip(23).Take(1).FirstOrDefault();
|
||||
byte LeiXing = Data.Skip(24).Take(1).FirstOrDefault();
|
||||
byte Address = Data.Skip(25).Take(1).FirstOrDefault();
|
||||
byte[] Num = Data.Skip(26).Take(2).ToArray();
|
||||
|
||||
List<byte> lll = new List<byte>();
|
||||
lll.Add(LeiXing);
|
||||
lll.Add(Address);
|
||||
lll.AddRange(Num);
|
||||
|
||||
string address = new DeviceAddress(lll.ToArray()).ToString();
|
||||
|
||||
byte Len = Data.Skip(28).Take(1).FirstOrDefault();
|
||||
byte[] DianYa = Data.Skip(29).Take(2).ToArray();
|
||||
byte[] DianLiu = Data.Skip(31).Take(2).ToArray();
|
||||
byte[] Power = Data.Skip(33).Take(4).ToArray();
|
||||
byte[] PowerUsed = Data.Skip(37).Take(4).ToArray();
|
||||
byte[] TotalPowerUsed = Data.Skip(41).Take(4).ToArray();
|
||||
int dianya = BitConverter.ToUInt16(DianYa, 0);
|
||||
int dianliu = BitConverter.ToInt16(DianLiu, 0);
|
||||
int gonglv = BitConverter.ToInt32(Power, 0);
|
||||
|
||||
int nenghao = BitConverter.ToInt32(PowerUsed, 0);
|
||||
int zongnenghao = BitConverter.ToInt32(TotalPowerUsed, 0);
|
||||
|
||||
int V = dianya * 10 / 1000;
|
||||
int A = dianliu * 10 / 1000;
|
||||
int P = gonglv * 10 / 1000;
|
||||
|
||||
decimal KW_H = nenghao / 1000;
|
||||
decimal Sum_KW_H = zongnenghao / 1000;
|
||||
}
|
||||
|
||||
public class VVV
|
||||
{
|
||||
public DateTime ddd { get; set; }
|
||||
public VVV()
|
||||
{
|
||||
this.ddd = DateTime.Now;
|
||||
}
|
||||
}
|
||||
|
||||
public class AUser
|
||||
{
|
||||
public string username { get; set; }
|
||||
public string password { get; set; }
|
||||
public int oauth_id { get; set; }
|
||||
}
|
||||
public static void FCSLLL()
|
||||
{
|
||||
try
|
||||
{
|
||||
//ssl 协议不兼容
|
||||
var A = (SecurityProtocolType)48;
|
||||
var B = (SecurityProtocolType)192;
|
||||
var C = (SecurityProtocolType)768;
|
||||
var D = (SecurityProtocolType)3072;
|
||||
var E = (SecurityProtocolType)12288;
|
||||
ServicePointManager.SecurityProtocol = A | B | C | D | E;
|
||||
string FCSLoginUrl = "https://api.fcs1cloud.com";
|
||||
string FCSLoginUserName = "hb.rcu";
|
||||
string FCSLoginPassWord = "P@1234";
|
||||
var client1 = new RestClient(FCSLoginUrl);
|
||||
var request1 = new RestRequest("/api/security/authenticate", Method.POST);
|
||||
//request1.AddHeader("Content-Type", "application/json");
|
||||
|
||||
AUser us = new AUser();
|
||||
us.username = FCSLoginUserName;
|
||||
us.password = FCSLoginPassWord;
|
||||
us.oauth_id = 1;
|
||||
request1.AddJsonBody(us);
|
||||
|
||||
//request1.AddBody(Newtonsoft.Json.JsonConvert.SerializeObject(us), DataFormat.Json);
|
||||
|
||||
|
||||
var QQQ = client1.Execute(request1);
|
||||
var UUN = QQQ.Content;
|
||||
HttpStatusCode HHH = QQQ.StatusCode;
|
||||
if (HHH == HttpStatusCode.Created || HHH == HttpStatusCode.OK)
|
||||
{
|
||||
string ddd = QQQ.Content;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
public static ConcurrentQueue<string> ssslist = new ConcurrentQueue<string>();
|
||||
public class A1
|
||||
{
|
||||
public string id { get; set; }
|
||||
public string name { get; set; }
|
||||
}
|
||||
static void Main(string[] args)
|
||||
{
|
||||
string uuawer= string.Concat("h","eeeelll");
|
||||
|
||||
string QQQQSSS = File.ReadAllText("3.txt", Encoding.UTF8);
|
||||
var FFF = JsonConvert.DeserializeObject<FCS_Response>(QQQQSSS);
|
||||
|
||||
JObject jsonObject = JObject.Parse(QQQQSSS);
|
||||
var error = jsonObject.SelectToken("error");
|
||||
var JJJ = FFF.data.FirstOrDefault();
|
||||
|
||||
string orderuuid = JJJ.job_uuid;
|
||||
|
||||
AskRoomStatusChangedReceiver h = new AskRoomStatusChangedReceiver();
|
||||
RoomStatus vv = new RoomStatus();
|
||||
vv.ID = 0x10;
|
||||
|
||||
h.SendRoomStatusSelfNew("123", "321", vv, new byte[] { 0xee, 0xff }, 0x70);
|
||||
string NNU11232 = Guid.NewGuid().ToString("N");
|
||||
List<A1> list112 = new List<A1>(){new A1{id="1",name="A"},
|
||||
new A1(){id="2",name="B"}};
|
||||
List<string> flattenedList = list112.SelectMany(a => new[] { a.id, a.name }).ToList();
|
||||
string result3432432 = string.Join(",", flattenedList); // 输出 "1,A,2,B"
|
||||
|
||||
CSRedisCacheHelper.HMSet(5, "UUU", "1", "333333", "2", "3434342");
|
||||
|
||||
|
||||
int afdfdsa = 1;
|
||||
string fdfd = afdfdsa.ToString("000");
|
||||
|
||||
ssslist.Enqueue("aaaaaa");
|
||||
|
||||
string wer = "233003112125";
|
||||
var nnha = Tools.HostNumberToHotelCode(wer);
|
||||
bool isNumeric = wer.All(char.IsDigit);
|
||||
byte Chaka = CSRedisCacheHelper.Get_Partition<byte>("NNNNNNNNNNN", 5);
|
||||
CSRedisCacheHelper.HMSet(5, "A", "1", "333333");
|
||||
CSRedisCacheHelper.HMSet(5, "A", "2", "2222222222");
|
||||
CSRedisCacheHelper.HMSet(5, "A", "3", "1111111111111");
|
||||
var nnafdssfd = CSRedisCacheHelper.HMGetAll(5, "A");
|
||||
var nnafdssfd1 = CSRedisCacheHelper.HMGet<string>(5, "A", "3");
|
||||
var bb = new byte[] { 0x00, 0x01, 0x02, 0x03 };
|
||||
var KKKFFF = BitConverter.ToString(bb);
|
||||
|
||||
VVV vva = new VVV();
|
||||
Console.WriteLine(vva.ddd);
|
||||
|
||||
uint yua = 30;
|
||||
double ddaf = (double)yua / 1000;
|
||||
|
||||
double dddjkl = Math.Round(13.722);
|
||||
System.Timers.Timer timer2 = new System.Timers.Timer(1000);//每20秒扫描一次
|
||||
timer2.Elapsed += new ElapsedEventHandler(timer2_Elapsed); ;//定时同步PMS房态
|
||||
timer2.Enabled = true;
|
||||
timer2.AutoReset = true;
|
||||
|
||||
long lln = Tools.GetUnixTime();
|
||||
DateTime nd = Tools.GetTimeFromUnixTime(lln);
|
||||
// 小端数字节数组(低位在前,高位在后)
|
||||
byte[] littleEndianBytes = { 0xE8, 0x03, 0x00, 0x00 }; // 表示1000
|
||||
|
||||
// 直接转换为int(BitConverter会自动处理端序)
|
||||
int result = BitConverter.ToInt32(littleEndianBytes, 0);
|
||||
|
||||
JieXi();
|
||||
|
||||
DateTime ddd = GetNowPrecise();
|
||||
string tii = ddd.ToString("yyyy-MM-dd HH:mm:ss.ffffff");
|
||||
Console.WriteLine(tii);
|
||||
Console.ReadLine();
|
||||
|
||||
List<GGG> lllus = new List<GGG>();
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
GGG g = new GGG();
|
||||
g.Name = i.ToString();
|
||||
|
||||
lllus.Add(g);
|
||||
}
|
||||
//Tuple<List<GGG>> lllaf = new Tuple<List<GGG>>(lllus);
|
||||
List<GGG> newlist = lllus;
|
||||
foreach (var item in lllus)
|
||||
{
|
||||
Task.Factory.StartNew(() =>
|
||||
{
|
||||
Console.WriteLine(item.Name);
|
||||
});
|
||||
}
|
||||
|
||||
Console.ReadLine();
|
||||
|
||||
System.Collections.Concurrent.ConcurrentQueue<string> NNA = new System.Collections.Concurrent.ConcurrentQueue<string>();
|
||||
|
||||
Task.Factory.StartNew(() =>
|
||||
{
|
||||
}).ContinueWith((mytask) =>
|
||||
{
|
||||
|
||||
});
|
||||
|
||||
string ti = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss.ffffff");
|
||||
Console.WriteLine(ti);
|
||||
byte[] b1 = new byte[] { 0x01, 0x02, 0x03, 0x04 };
|
||||
byte[] b2 = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05 };
|
||||
bool bbbnfm = b1.SequenceEqual<byte>(b2);
|
||||
foreach (var name in Enum.GetNames(typeof(Domain.DeviceType)))
|
||||
{
|
||||
Console.WriteLine(name);
|
||||
}
|
||||
long lll = Tools.GetCurrentTimeStamp(DateTime.Now);
|
||||
DateTime ddf = Tools.GetCurrentDateTime(lll);
|
||||
var payload = new Dictionary<string, object>()
|
||||
{
|
||||
//{ "sub", "mr.x@contoso.com" },
|
||||
//{ "exp", 1300819380 }
|
||||
//iss:发行人
|
||||
//exp:到期时间
|
||||
//sub:主题
|
||||
//aud:用户
|
||||
//nbf:在此之前不可用
|
||||
//iat:发布时间
|
||||
//jti:JWT ID用于标识该JWT
|
||||
};
|
||||
|
||||
var secretKey = Encoding.UTF8.GetBytes("#myemqtt123");
|
||||
|
||||
string token = Jose.JWT.Encode(payload, secretKey, JwsAlgorithm.HS256);
|
||||
|
||||
token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJtci54QGNvbnRvc28uY29tIiwiZXhwIjoxMzAwODE5MzgwfQ.nch1wu8T_rsT_bywCOm2W-qO2jcv69RsrrmpWU6fdDE";
|
||||
//var MMU = Jose.JWT.DecodeBytes(token, secretKey, JwsAlgorithm.HS256);
|
||||
//var NNN = Jose.JWT.Decode(token, secretKey);
|
||||
//var n1 = Jose.JWT.Verify(token, secretKey);
|
||||
|
||||
|
||||
var privateKey = new X509Certificate2("mycert.p12", "123456").PrivateKey;
|
||||
|
||||
string token3 = Jose.JWT.Encode(payload, privateKey, JwsAlgorithm.RS256);
|
||||
|
||||
Console.WriteLine(token);
|
||||
|
||||
GA gvb = new GA();
|
||||
gvb.NNN = "fdfdf";
|
||||
gvb.FFF = Fruit.Apple;
|
||||
string qwerty = Newtonsoft.Json.JsonConvert.SerializeObject(gvb);
|
||||
|
||||
var QQR = Newtonsoft.Json.JsonConvert.DeserializeObject<GA>(qwerty);
|
||||
var JK = new A { id = "1", name = "1" };
|
||||
var JJ = new A { id = "1", name = "1" };
|
||||
Console.WriteLine(JK.Equals(JJ));
|
||||
List<A> lla = new List<A>() {
|
||||
new A{id="1",name="1"},
|
||||
new A{id="2",name="2"}
|
||||
};
|
||||
|
||||
List<A> llb = new List<A>() {
|
||||
new A{id="1",name="1"},
|
||||
new A{id="3",name="3"},
|
||||
};
|
||||
|
||||
var QQQ = llb.Except<A>(lla).ToList();
|
||||
|
||||
|
||||
|
||||
t = new System.Timers.Timer();
|
||||
t.Interval = 1000;
|
||||
t.Elapsed += new ElapsedEventHandler(t_Elapsed);
|
||||
t.Start();
|
||||
do
|
||||
{
|
||||
Console.WriteLine("输入时间");
|
||||
string nnn = Console.ReadLine();
|
||||
int a = int.Parse(nnn);
|
||||
t.Interval = a;
|
||||
|
||||
} while (true);
|
||||
//XmlDocument xmlDoc = new XmlDocument();
|
||||
//XmlElement element = xmlDoc.CreateElement("item"); // 创建元素
|
||||
//element.SetAttribute("id", "1"); // 设置属性
|
||||
//element.InnerText = "示例文本"; // 设置文本内容
|
||||
//xmlDoc.DocumentElement.AppendChild(element); // 将元素添加到根元素下
|
||||
//xmlDoc.Save("example.xml"); // 保存XML文件
|
||||
|
||||
XElement xelement = new XElement("interface",
|
||||
new XAttribute[]
|
||||
{
|
||||
new XAttribute("orderno",""),
|
||||
new XAttribute("cost",""),
|
||||
new XAttribute("roomtype",""),
|
||||
new XAttribute("breakfast",""),
|
||||
new XAttribute("occupancy",""),
|
||||
new XAttribute("deposit","")
|
||||
},
|
||||
new XElement("item",
|
||||
new XAttribute[]
|
||||
{
|
||||
new XAttribute("idtype", "1"),
|
||||
new XAttribute("idcard", "1"),
|
||||
new XAttribute("customer", "1"),
|
||||
new XAttribute("sex", "1"),
|
||||
new XAttribute("country", "1"),
|
||||
new XAttribute("checkindate", "1"),
|
||||
new XAttribute("checkoutdate", "1")
|
||||
},
|
||||
"示例文本")
|
||||
);
|
||||
string hhh = xelement.ToString();
|
||||
|
||||
List<int> lllg = new List<int>();
|
||||
lllg = null;
|
||||
lllg.DefaultIfEmpty();
|
||||
|
||||
double aaq = double.Parse("10.0");
|
||||
int gh = Convert.ToInt32(aaq);
|
||||
// 调用示例
|
||||
string input = "15.0.1";
|
||||
string output = NormalizeVersion(input); // 输出 "15.0.0"
|
||||
|
||||
// 添加调度任务
|
||||
JobManager.AddJob(
|
||||
// 调度业务
|
||||
() => Console.WriteLine("5 minutes just passed."),
|
||||
// 触发时间
|
||||
s => s.ToRunEvery(5).Seconds()
|
||||
);
|
||||
//// 立即停止
|
||||
//JobManager.Stop();
|
||||
//// 在任务完成后等待或者停止
|
||||
//JobManager.StopAndBlock();
|
||||
|
||||
Console.ReadLine();
|
||||
for (int i = 0; i < 10000; i++)
|
||||
{
|
||||
Task.Factory.StartNew(() =>
|
||||
{
|
||||
Thread.Sleep(5000);
|
||||
Console.WriteLine("iiiii");
|
||||
});
|
||||
}
|
||||
|
||||
Console.ReadKey();
|
||||
string aaa = File.ReadAllText("1.txt", Encoding.UTF8);
|
||||
aaa = aaa.Replace("\\\\\\", "\\");
|
||||
int? bba1 = null;
|
||||
Console.WriteLine(bba1);
|
||||
|
||||
bool bba = SmartRobotDisable();
|
||||
|
||||
ChuangWeiCommandData mmm = new ChuangWeiCommandData();
|
||||
mmm.nlp_namespace = "hotelcontrol";
|
||||
mmm.nlp_name = "LocalDDD";
|
||||
mmm.query = "打开房灯";
|
||||
mmm.resourcePackage = new PackageData()
|
||||
{
|
||||
skillSource = "智能家居",
|
||||
domain = "iot",
|
||||
aiState = 0,
|
||||
voiceprint = "",
|
||||
skillTitle = "",
|
||||
tips = "你可以对我说,小度小度"
|
||||
};
|
||||
|
||||
|
||||
List<MessageData> c = new List<MessageData>();
|
||||
MessageData mc = new MessageData();
|
||||
mc.header = new header()
|
||||
{
|
||||
messageId = "3432423423",
|
||||
name = "",
|
||||
@namespace = "",
|
||||
payloadVersion = "0.1.1"
|
||||
};
|
||||
mc.payload = new payload()
|
||||
{
|
||||
accessToken = "33434343",
|
||||
appliance = new Appliance()
|
||||
{
|
||||
applianceId = "id",
|
||||
additionalApplianceDetails = new Device()
|
||||
{
|
||||
deviceId = "lightid_0_01",
|
||||
deviceName = "走廊灯",
|
||||
deviceType = "LIGHT",
|
||||
type = "Device"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
c.Add(mc);
|
||||
|
||||
chuangweidata c12 = new chuangweidata();
|
||||
c12.data = c;
|
||||
mmm.nlp_cmd = c12;
|
||||
|
||||
|
||||
var YU = Newtonsoft.Json.JsonConvert.SerializeObject(mmm);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Console.ReadKey();
|
||||
}
|
||||
|
||||
static void timer2_Elapsed(object sender, ElapsedEventArgs e)
|
||||
{
|
||||
Console.WriteLine("111111111111");
|
||||
}
|
||||
public static bool SmartRobotDisable()
|
||||
{
|
||||
|
||||
string st = "23:00";
|
||||
string et = "08:00";
|
||||
|
||||
string[] st_a = st.Split(':');
|
||||
string[] et_a = et.Split(':');
|
||||
|
||||
int h_st = int.Parse(st_a[0]);
|
||||
int M_st = int.Parse(st_a[1]);
|
||||
|
||||
int h_et = int.Parse(et_a[0]);
|
||||
int M_et = int.Parse(et_a[1]);
|
||||
|
||||
int y = DateTime.Now.Year;
|
||||
int m = DateTime.Now.Month;
|
||||
int d = DateTime.Now.Day;
|
||||
int hh = DateTime.Now.Hour;
|
||||
int mm = DateTime.Now.Minute;
|
||||
int ss = DateTime.Now.Second;
|
||||
var t1 = new DateTime(y, m, d, h_st, M_st, ss);
|
||||
var t2 = new DateTime(y, m, d, h_et, M_et, ss);
|
||||
|
||||
bool ShiJian = false;
|
||||
//正常逻辑
|
||||
if (t2 >= t1)
|
||||
{
|
||||
var ti = DateTime.Now;
|
||||
//如果当前时间大于 起 小于 至,就代表 确实是 禁用
|
||||
if (ti >= t1 && ti <= t2)
|
||||
{
|
||||
ShiJian = true;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
var ti = DateTime.Now;
|
||||
var zero_ti = new DateTime(y, m, d, 23, 59, 59);
|
||||
var zero_ti_0 = new DateTime(y, m, d, 0, 0, 0);
|
||||
//var t3 = t2.AddDays(1);
|
||||
|
||||
//如果当前时间 小于0点
|
||||
//或者说 当前时间 大于
|
||||
if ((ti > t1 && ti < zero_ti) || ti >= zero_ti_0 && ti <= t2)
|
||||
{
|
||||
ShiJian = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return ShiJian;
|
||||
}
|
||||
static void t_Elapsed(object sender, ElapsedEventArgs e)
|
||||
{
|
||||
Console.WriteLine("1111111111111");
|
||||
}
|
||||
static void t_Elapsed1(object sender, ElapsedEventArgs e)
|
||||
{
|
||||
Console.WriteLine("22222222222222");
|
||||
}
|
||||
}
|
||||
|
||||
public class FFFA : IEquatable<FFFA>
|
||||
{
|
||||
|
||||
public bool Equals(FFFA other)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
public class Device
|
||||
{
|
||||
public string deviceType { get; set; }
|
||||
public string type { get; set; }
|
||||
public string deviceId { get; set; }
|
||||
public string deviceName { get; set; }
|
||||
}
|
||||
public class Appliance
|
||||
{
|
||||
public string applianceId { get; set; }
|
||||
public Device additionalApplianceDetails { get; set; }
|
||||
}
|
||||
public class header
|
||||
{
|
||||
public string messageId { get; set; }
|
||||
public string @namespace { get; set; }
|
||||
public string name { get; set; }
|
||||
public string payloadVersion { get; set; }
|
||||
}
|
||||
public class payload
|
||||
{
|
||||
public string accessToken { get; set; }
|
||||
public Appliance appliance { get; set; }
|
||||
}
|
||||
public class MessageData
|
||||
{
|
||||
public header header { get; set; }
|
||||
public payload payload { get; set; }
|
||||
}
|
||||
public class chuangweidata
|
||||
{
|
||||
public List<MessageData> data { get; set; }
|
||||
}
|
||||
public class ChuangWeiCommandData
|
||||
{
|
||||
public string nlp_namespace { get; set; }
|
||||
public string nlp_name { get; set; }
|
||||
public string query { get; set; }
|
||||
public chuangweidata nlp_cmd { get; set; }
|
||||
public PackageData resourcePackage { get; set; }
|
||||
}
|
||||
public class PackageData
|
||||
{
|
||||
public string skillTitle { get; set; }
|
||||
public string domain { get; set; }
|
||||
public int aiState { get; set; }
|
||||
public string voiceprint { get; set; }
|
||||
public string skillSource { get; set; }
|
||||
public string tips { get; set; }
|
||||
}
|
||||
}
|
||||
36
ConsoleApplication2/Properties/AssemblyInfo.cs
Normal file
36
ConsoleApplication2/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 有关程序集的常规信息通过以下
|
||||
// 特性集控制。更改这些特性值可修改
|
||||
// 与程序集关联的信息。
|
||||
[assembly: AssemblyTitle("ConsoleApplication2")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("ConsoleApplication2")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2025")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// 将 ComVisible 设置为 false 使此程序集中的类型
|
||||
// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
|
||||
// 则将该类型上的 ComVisible 特性设置为 true。
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||
[assembly: Guid("0ecfb694-a7eb-4ecc-8809-4cb705cceb73")]
|
||||
|
||||
// 程序集的版本信息由下面四个值组成:
|
||||
//
|
||||
// 主版本
|
||||
// 次版本
|
||||
// 内部版本号
|
||||
// 修订号
|
||||
//
|
||||
// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
|
||||
// 方法是按如下所示使用“*”:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
13
ConsoleApplication2/app.config
Normal file
13
ConsoleApplication2/app.config
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="session_expire_minutes" value="5" />
|
||||
<add key="redis_server_session" value="127.0.0.1:6379" />
|
||||
<add key="redis_max_read_pool" value="1000" />
|
||||
<add key="redis_max_write_pool" value="1000" />
|
||||
<add key="monitor_log_expire_minutes" value="30" />
|
||||
</appSettings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
|
||||
</startup>
|
||||
</configuration>
|
||||
1
ConsoleApplication2/bin/Debug/1.txt
Normal file
1
ConsoleApplication2/bin/Debug/1.txt
Normal file
@@ -0,0 +1 @@
|
||||
{"hotelId":"98","roomId":"8088","voiceCmd":"{\"nlp_namespace\":\"hotelcontrol\",\"nlp_name\":\"IotDirective\",\"query\":\"打开吊灯\",\"nlp_cmd\":{\"data\":\"[{\\\"payload\\\":{\\\"appliance\\\":{\\\"applianceId\\\":\\\"LIGHT_42917_001000002?dt=LIGHT\\\",\\\"additionalApplianceDetails\\\":{\\\"deviceType\\\":\\\"LIGHT\\\",\\\"houseId\\\":\\\"42917\\\",\\\"deviceName\\\":\\\"吊灯\\\",\\\"deviceId\\\":\\\"LIGHT_42917_001000002\\\"}},\\\"accessToken\\\":\\\"\\\"},\\\"header\\\":{\\\"payloadVersion\\\":\\\"1\\\",\\\"name\\\":\\\"TurnOnRequest\\\",\\\"namespace\\\":\\\"Control\\\",\\\"messageId\\\":\\\"gz27870bf017453898716597839\\\"}}]\",\"resourcePackage\":\"{\\\"skillTitle\\\":\\\"智能家居\\\",\\\"domain\\\":\\\"iot\\\",\\\"aiState\\\":0,\\\"voiceprint\\\":\\\"\\\",\\\"skillSource\\\":\\\"\\\",\\\"intent\\\":\\\"TurnOnRequest\\\",\\\"tips\\\":\\\"试试说:“现在几点了<E782B9>? “一加一等于几”\\\"}\"}}","timeStamp":"20250423143114"}
|
||||
16
ConsoleApplication2/bin/Debug/3.txt
Normal file
16
ConsoleApplication2/bin/Debug/3.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"success": 1,
|
||||
"data": [
|
||||
{
|
||||
"job_no": "JO-0004548-01",
|
||||
"job_status_colour": "#FA8C16",
|
||||
"job_uuid": "b1dcb088-6dbc-4ca5-a1c4-0a8b951113fd"
|
||||
}
|
||||
],
|
||||
"rmsg": {
|
||||
"code": "s_job_orders",
|
||||
"param": [
|
||||
"JO-0004548-01"
|
||||
]
|
||||
}
|
||||
}
|
||||
BIN
ConsoleApplication2/bin/Debug/Antlr3.Runtime.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/Antlr3.Runtime.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/CSRedisCore.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/CSRedisCore.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/CSRedisCore.pdb
Normal file
BIN
ConsoleApplication2/bin/Debug/CSRedisCore.pdb
Normal file
Binary file not shown.
11016
ConsoleApplication2/bin/Debug/CSRedisCore.xml
Normal file
11016
ConsoleApplication2/bin/Debug/CSRedisCore.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ConsoleApplication2/bin/Debug/CacheManager.Core.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/CacheManager.Core.dll
Normal file
Binary file not shown.
4751
ConsoleApplication2/bin/Debug/CacheManager.Core.xml
Normal file
4751
ConsoleApplication2/bin/Debug/CacheManager.Core.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ConsoleApplication2/bin/Debug/Common.Logging.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/Common.Logging.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/Common.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/Common.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/Common.pdb
Normal file
BIN
ConsoleApplication2/bin/Debug/Common.pdb
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/CommonEntity.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/CommonEntity.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/CommonEntity.pdb
Normal file
BIN
ConsoleApplication2/bin/Debug/CommonEntity.pdb
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/ConsoleApplication2.exe
Normal file
BIN
ConsoleApplication2/bin/Debug/ConsoleApplication2.exe
Normal file
Binary file not shown.
13
ConsoleApplication2/bin/Debug/ConsoleApplication2.exe.config
Normal file
13
ConsoleApplication2/bin/Debug/ConsoleApplication2.exe.config
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="session_expire_minutes" value="5" />
|
||||
<add key="redis_server_session" value="127.0.0.1:6379" />
|
||||
<add key="redis_max_read_pool" value="1000" />
|
||||
<add key="redis_max_write_pool" value="1000" />
|
||||
<add key="monitor_log_expire_minutes" value="30" />
|
||||
</appSettings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
|
||||
</startup>
|
||||
</configuration>
|
||||
BIN
ConsoleApplication2/bin/Debug/ConsoleApplication2.pdb
Normal file
BIN
ConsoleApplication2/bin/Debug/ConsoleApplication2.pdb
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/ConsoleApplication2.vshost.exe
Normal file
BIN
ConsoleApplication2/bin/Debug/ConsoleApplication2.vshost.exe
Normal file
Binary file not shown.
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="session_expire_minutes" value="5" />
|
||||
<add key="redis_server_session" value="127.0.0.1:6379" />
|
||||
<add key="redis_max_read_pool" value="1000" />
|
||||
<add key="redis_max_write_pool" value="1000" />
|
||||
<add key="monitor_log_expire_minutes" value="30" />
|
||||
</appSettings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
|
||||
</startup>
|
||||
</configuration>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false"/>
|
||||
</requestedPrivileges>
|
||||
</security>
|
||||
</trustInfo>
|
||||
</assembly>
|
||||
BIN
ConsoleApplication2/bin/Debug/Dao.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/Dao.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/Dao.pdb
Normal file
BIN
ConsoleApplication2/bin/Debug/Dao.pdb
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/Domain.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/Domain.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/Domain.pdb
Normal file
BIN
ConsoleApplication2/bin/Debug/Domain.pdb
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/FluentScheduler.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/FluentScheduler.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/FluentScheduler.pdb
Normal file
BIN
ConsoleApplication2/bin/Debug/FluentScheduler.pdb
Normal file
Binary file not shown.
731
ConsoleApplication2/bin/Debug/FluentScheduler.xml
Normal file
731
ConsoleApplication2/bin/Debug/FluentScheduler.xml
Normal file
@@ -0,0 +1,731 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>FluentScheduler</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:FluentScheduler.DelayForExtensions">
|
||||
<summary>
|
||||
DelayFor extension methods.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayForExtensions.DelayFor(FluentScheduler.SpecificTimeUnit,System.Int32)">
|
||||
<summary>
|
||||
Delays the job for the given interval.
|
||||
</summary>
|
||||
<param name="unit">The schedule being affected.</param>
|
||||
<param name="interval">Interval to wait.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayForExtensions.DelayFor(FluentScheduler.SecondUnit,System.Int32)">
|
||||
<summary>
|
||||
Delays the job for the given interval.
|
||||
</summary>
|
||||
<param name="unit">The schedule being affected.</param>
|
||||
<param name="interval">Interval to wait.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayForExtensions.DelayFor(FluentScheduler.MinuteUnit,System.Int32)">
|
||||
<summary>
|
||||
Delays the job for the given interval.
|
||||
</summary>
|
||||
<param name="unit">The schedule being affected.</param>
|
||||
<param name="interval">Interval to wait.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayForExtensions.DelayFor(FluentScheduler.HourUnit,System.Int32)">
|
||||
<summary>
|
||||
Delays the job for the given interval.
|
||||
</summary>
|
||||
<param name="unit">The schedule being affected.</param>
|
||||
<param name="interval">Interval to wait.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayForExtensions.DelayFor(FluentScheduler.DayUnit,System.Int32)">
|
||||
<summary>
|
||||
Delays the job for the given interval.
|
||||
</summary>
|
||||
<param name="unit">The schedule being affected.</param>
|
||||
<param name="interval">Interval to wait.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayForExtensions.DelayFor(FluentScheduler.WeekUnit,System.Int32)">
|
||||
<summary>
|
||||
Delays the job for the given interval.
|
||||
</summary>
|
||||
<param name="unit">The schedule being affected.</param>
|
||||
<param name="interval">Interval to wait.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayForExtensions.DelayFor(FluentScheduler.MonthUnit,System.Int32)">
|
||||
<summary>
|
||||
Delays the job for the given interval.
|
||||
</summary>
|
||||
<param name="unit">The schedule being affected.</param>
|
||||
<param name="interval">Interval to wait.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayForExtensions.DelayFor(FluentScheduler.YearUnit,System.Int32)">
|
||||
<summary>
|
||||
Delays the job for the given interval.
|
||||
</summary>
|
||||
<param name="unit">The schedule being affected.</param>
|
||||
<param name="interval">Interval to wait.</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.GenericEventHandler`2">
|
||||
<summary>
|
||||
Event handler with typed sender.
|
||||
</summary>
|
||||
<typeparam name="TSender">Sender type.</typeparam>
|
||||
<typeparam name="TEventArgs">EventArgs type.</typeparam>
|
||||
<param name="sender">The object that initiated the event.</param>
|
||||
<param name="e">Data related to the event.</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.IDayRestrictableUnit">
|
||||
<summary>
|
||||
Common interface of units that can be restricted by day.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.IDayRestrictableUnit.Schedule">
|
||||
<summary>
|
||||
The schedule being affected.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.IDayRestrictableUnit.DayIncrement(System.DateTime)">
|
||||
<summary>
|
||||
Increment the given days.
|
||||
</summary>
|
||||
<param name="increment">Days to increment</param>
|
||||
<returns>The resulting date</returns>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.ITimeRestrictableUnit">
|
||||
<summary>
|
||||
Common interface of units that can be restricted by time.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.ITimeRestrictableUnit.Schedule">
|
||||
<summary>
|
||||
The schedule being affected.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.MinuteUnit">
|
||||
<summary>
|
||||
Unit of time in minutes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.RestrictableUnitExtensions">
|
||||
<summary>
|
||||
Extension class for restrictable units.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.RestrictableUnitExtensions.Between(FluentScheduler.ITimeRestrictableUnit,System.Int32,System.Int32,System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Runs the job between the given start and end hour of day.
|
||||
</summary>
|
||||
<param name="unit">The schedule being affected.</param>
|
||||
<param name="startHour">The start hours (0 through 23).</param>
|
||||
<param name="startMinute">The start minutes (0 through 59).</param>
|
||||
<param name="endHour">The end hours (0 through 23).</param>
|
||||
<param name="endMinute">The end minutes (0 through 59).</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.RestrictableUnitExtensions.WeekdaysOnly(FluentScheduler.IDayRestrictableUnit)">
|
||||
<summary>
|
||||
Runs the job only on weekdays.
|
||||
<param name="unit">The schedule being affected</param>
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.SecondUnit">
|
||||
<summary>
|
||||
Unit of time in seconds.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.JobExceptionInfo">
|
||||
<summary>
|
||||
Information of an exception occurred in a job.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.JobExceptionInfo.Name">
|
||||
<summary>
|
||||
Name of the job.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.JobExceptionInfo.Task">
|
||||
<summary>
|
||||
Job's task.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.DelayTimeUnit">
|
||||
<summary>
|
||||
Unit used to represent delay.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayTimeUnit.Seconds">
|
||||
<summary>
|
||||
Sets the interval to seconds.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayTimeUnit.Minutes">
|
||||
<summary>
|
||||
Sets the interval to minutes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayTimeUnit.Hours">
|
||||
<summary>
|
||||
Sets the interval to hours.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayTimeUnit.Days">
|
||||
<summary>
|
||||
Sets the interval to days.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayTimeUnit.Weeks">
|
||||
<summary>
|
||||
Sets the interval to weeks.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayTimeUnit.Months">
|
||||
<summary>
|
||||
Sets the interval to months.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DelayTimeUnit.Years">
|
||||
<summary>
|
||||
Sets the interval to years.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.WeekdayUnit">
|
||||
<summary>
|
||||
Unit of time in weekdays.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.WeekdayUnit.At(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Runs the job at the given time of day.
|
||||
</summary>
|
||||
<param name="hours">The hours (0 through 23).</param>
|
||||
<param name="minutes">The minutes (0 through 59).</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.IJobFactory">
|
||||
<summary>
|
||||
A job factory.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.IJobFactory.GetJobInstance``1">
|
||||
<summary>
|
||||
Instantiate a job of the given type.
|
||||
</summary>
|
||||
<typeparam name="T">Type of the job to instantiate</typeparam>
|
||||
<returns>The instantiated job</returns>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.JobEndInfo">
|
||||
<summary>
|
||||
Information of a job end.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.JobEndInfo.Duration">
|
||||
<summary>
|
||||
The elapsed time of the job.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.JobEndInfo.NextRun">
|
||||
<summary>
|
||||
Date and time of next run.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.JobStartInfo">
|
||||
<summary>
|
||||
Information of a job start.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.JobStartInfo.Name">
|
||||
<summary>
|
||||
Name of the job.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.JobStartInfo.StartTime">
|
||||
<summary>
|
||||
Date and time of the start.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.Registry">
|
||||
<summary>
|
||||
A registry of job schedules.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Registry.#ctor">
|
||||
<summary>
|
||||
Default ctor.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Registry.NonReentrantAsDefault">
|
||||
<summary>
|
||||
Sets all jobs in this schedule as non reentrant.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Registry.UseUtcTime">
|
||||
<summary>
|
||||
Use UTC time rather than local time.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Registry.Schedule(System.Action)">
|
||||
<summary>
|
||||
Schedules a new job in the registry.
|
||||
</summary>
|
||||
<param name="job">Job to run.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Registry.Schedule(FluentScheduler.IJob)">
|
||||
<summary>
|
||||
Schedules a new job in the registry.
|
||||
</summary>
|
||||
<param name="job">Job to run.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Registry.Schedule``1">
|
||||
<summary>
|
||||
Schedules a new job in the registry.
|
||||
</summary>
|
||||
<typeparam name="T">Job to schedule.</typeparam>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.IJob">
|
||||
<summary>
|
||||
Some work to be done.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.IJob.Execute">
|
||||
<summary>
|
||||
Executes the job.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.YearOnDayOfYearUnit">
|
||||
<summary>
|
||||
Unit of time that represents a specific day of the year.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.YearOnDayOfYearUnit.At(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Runs the job at the given time of day.
|
||||
</summary>
|
||||
<param name="hours">The hours (0 through 23).</param>
|
||||
<param name="minutes">The minutes (0 through 59).</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.YearOnLastDayOfYearUnit">
|
||||
<summary>
|
||||
Unit of time that represents last day of the year.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.YearOnLastDayOfYearUnit.At(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Runs the job at the given time of day.
|
||||
</summary>
|
||||
<param name="hours">The hours (0 through 23).</param>
|
||||
<param name="minutes">The minutes (0 through 59).</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.YearUnit">
|
||||
<summary>
|
||||
Unit of time in years.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.YearUnit.On(System.Int32)">
|
||||
<summary>
|
||||
Runs the job on the given day of the year.
|
||||
If the day has passed it schedules to the next year.
|
||||
</summary>
|
||||
<param name="day">Day of the year to run the job.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.YearUnit.OnTheLastDay">
|
||||
<summary>
|
||||
Runs the job on the last day of the year.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.MonthOnDayOfWeekUnit">
|
||||
<summary>
|
||||
Unit of time that represents week and day of week of the month (wow that's confusing).
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.MonthOnDayOfWeekUnit.At(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Runs the job at the given time of day.
|
||||
</summary>
|
||||
<param name="hours">The hours (0 through 23).</param>
|
||||
<param name="minutes">The minutes (0 through 59).</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.MonthOnLastDayOfMonthUnit">
|
||||
<summary>
|
||||
Unit of time that represents last day of the month.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.MonthOnLastDayOfMonthUnit.At(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Runs the job at the given time of day.
|
||||
</summary>
|
||||
<param name="hours">The hours (0 through 23).</param>
|
||||
<param name="minutes">The minutes (0 through 59).</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.MonthOnDayOfMonthUnit">
|
||||
<summary>
|
||||
Unit of time that represents a specific day of the month.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.MonthOnDayOfMonthUnit.At(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Runs the job at the given time of day.
|
||||
</summary>
|
||||
<param name="hours">The hours (0 through 23).</param>
|
||||
<param name="minutes">The minutes (0 through 59).</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.MonthUnit">
|
||||
<summary>
|
||||
Unit of time in months.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.MonthUnit.On(System.Int32)">
|
||||
<summary>
|
||||
Runs the job on the given day of the month.
|
||||
</summary>
|
||||
<param name="day">The day (1 through the number of days in month).</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.MonthUnit.OnTheLastDay">
|
||||
<summary>
|
||||
Runs the job on the last day of the month.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.MonthUnit.OnTheFirst(System.DayOfWeek)">
|
||||
<summary>
|
||||
Runs the job on the given day of week on the first week of the month.
|
||||
</summary>
|
||||
<param name="day">The day of the week.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.MonthUnit.OnTheSecond(System.DayOfWeek)">
|
||||
<summary>
|
||||
Runs the job on the given day of week on the second week of the month.
|
||||
</summary>
|
||||
<param name="day">The day of the week.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.MonthUnit.OnTheThird(System.DayOfWeek)">
|
||||
<summary>
|
||||
Runs the job on the given day of week on the third week of the month.
|
||||
</summary>
|
||||
<param name="day">The day of the week.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.MonthUnit.OnTheFourth(System.DayOfWeek)">
|
||||
<summary>
|
||||
Runs the job on the given day of week on the fourth week of the month.
|
||||
</summary>
|
||||
<param name="day">The day of the week.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.MonthUnit.OnTheLast(System.DayOfWeek)">
|
||||
<summary>
|
||||
Runs the job on the given day of week on the last week of the month.
|
||||
</summary>
|
||||
<param name="day">The day of the week.</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.WeeklyDayOfWeekUnit">
|
||||
<summary>
|
||||
Unit of time that represents day of the week.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.WeeklyDayOfWeekUnit.At(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Runs the job at the given time of day.
|
||||
</summary>
|
||||
<param name="hours">The hours (0 through 23).</param>
|
||||
<param name="minutes">The minutes (0 through 59).</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.WeekUnit">
|
||||
<summary>
|
||||
Unit of time in weeks.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.WeekUnit.At(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Runs the job at the given time of day.
|
||||
</summary>
|
||||
<param name="hours">The hours (0 through 23).</param>
|
||||
<param name="minutes">The minutes (0 through 59).</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.WeekUnit.On(System.DayOfWeek)">
|
||||
<summary>
|
||||
Runs the job on the given day of the week.
|
||||
</summary>
|
||||
<param name="day">The day of the week.</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.DayUnit">
|
||||
<summary>
|
||||
Unit of time in days.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.DayUnit.At(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Runs the job at the given time of day.
|
||||
</summary>
|
||||
<param name="hours">The hours (0 through 23).</param>
|
||||
<param name="minutes">The minutes (0 through 59).</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.HourUnit">
|
||||
<summary>
|
||||
Unit of time in hours.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.HourUnit.At(System.Int32)">
|
||||
<summary>
|
||||
Runs the job at the given minute of the hour.
|
||||
</summary>
|
||||
<param name="minutes">The minutes (0 through 59).</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.TimeUnit">
|
||||
<summary>
|
||||
Unit of time.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.TimeUnit.Seconds">
|
||||
<summary>
|
||||
Sets the interval to seconds.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.TimeUnit.Minutes">
|
||||
<summary>
|
||||
Sets the interval to minutes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.TimeUnit.Hours">
|
||||
<summary>
|
||||
Sets the interval to hours.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.TimeUnit.Days">
|
||||
<summary>
|
||||
Sets the interval to days.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.TimeUnit.Weekdays">
|
||||
<summary>
|
||||
Sets the interval to weekdays.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.TimeUnit.Weeks">
|
||||
<summary>
|
||||
Sets the interval to weeks.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.TimeUnit.Months">
|
||||
<summary>
|
||||
Sets the interval to months.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.TimeUnit.Years">
|
||||
<summary>
|
||||
Sets the interval to years.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.SpecificTimeUnit">
|
||||
<summary>
|
||||
Unit of specific time of the day.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.SpecificTimeUnit.AndEvery(System.Int32)">
|
||||
<summary>
|
||||
Also runs the job according to the given interval.
|
||||
</summary>
|
||||
<param name="interval">Interval to wait.</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.JobManager">
|
||||
<summary>
|
||||
Job manager that handles jobs execution.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.JobManager.JobFactory">
|
||||
<summary>
|
||||
Job factory used by the job manager.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:FluentScheduler.JobManager.JobException">
|
||||
<summary>
|
||||
Event raised when an exception occurs in a job.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:FluentScheduler.JobManager.JobStart">
|
||||
<summary>
|
||||
Event raised when a job starts.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:FluentScheduler.JobManager.JobEnd">
|
||||
<summary>
|
||||
Evemt raised when a job ends.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.JobManager.Initialize(FluentScheduler.Registry)">
|
||||
<summary>
|
||||
Initializes the job manager with the jobs to run and starts it.
|
||||
</summary>
|
||||
<param name="registry">Registry of jobs to run</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.JobManager.Start">
|
||||
<summary>
|
||||
Starts the job manager.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.JobManager.Stop">
|
||||
<summary>
|
||||
Stops the job manager.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.JobManager.GetSchedule(System.String)">
|
||||
<summary>
|
||||
Returns the schedule of the given name.
|
||||
</summary>
|
||||
<param name="name">Name of the schedule.</param>
|
||||
<returns>The schedule of the given name, if any.</returns>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.JobManager.RunningSchedules">
|
||||
<summary>
|
||||
Collection of the currently running schedules.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.JobManager.AllSchedules">
|
||||
<summary>
|
||||
Collection of all schedules.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.JobManager.AddJob(System.Action,System.Action{FluentScheduler.Schedule})">
|
||||
<summary>
|
||||
Adds a job schedule to the job manager.
|
||||
</summary>
|
||||
<param name="job">Job to run.</param>
|
||||
<param name="schedule">Job schedule to add.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.JobManager.AddJob(FluentScheduler.IJob,System.Action{FluentScheduler.Schedule})">
|
||||
<summary>
|
||||
Adds a job schedule to the job manager.
|
||||
</summary>
|
||||
<param name="job">Job to run.</param>
|
||||
<param name="schedule">Job schedule to add.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.JobManager.AddJob``1(System.Action{FluentScheduler.Schedule})">
|
||||
<summary>
|
||||
Adds a job schedule to the job manager.
|
||||
</summary>
|
||||
<typeparam name="T">Job to run.</typeparam>
|
||||
<param name="schedule">Job schedule to add.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.JobManager.RemoveJob(System.String)">
|
||||
<summary>
|
||||
Removes the schedule of the given name.
|
||||
</summary>
|
||||
<param name="name">Name of the schedule.</param>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.Schedule">
|
||||
<summary>
|
||||
A job schedule.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.Schedule.NextRun">
|
||||
<summary>
|
||||
Date and time of the next run of this job schedule.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.Schedule.Name">
|
||||
<summary>
|
||||
Name of this job schedule.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.Schedule.Disabled">
|
||||
<summary>
|
||||
Flag indicating if this job schedule is disabled.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.#ctor(System.Action)">
|
||||
<summary>
|
||||
Schedules a new job in the registry.
|
||||
</summary>
|
||||
<param name="action">Job to schedule.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.#ctor(System.Collections.Generic.IEnumerable{System.Action})">
|
||||
<summary>
|
||||
Schedules a new job in the registry.
|
||||
</summary>
|
||||
<param name="actions">Jobs to schedule</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.Execute">
|
||||
<summary>
|
||||
Executes the job regardless its schedule.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.AndThen(System.Action)">
|
||||
<summary>
|
||||
Schedules another job to be run with this schedule.
|
||||
</summary>
|
||||
<param name="job">Job to run.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.AndThen(FluentScheduler.IJob)">
|
||||
<summary>
|
||||
Schedules another job to be run with this schedule.
|
||||
</summary>
|
||||
<param name="job">Job to run.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.AndThen``1">
|
||||
<summary>
|
||||
Schedules another job to be run with this schedule.
|
||||
</summary>
|
||||
<typeparam name="T">Job to run.</typeparam>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.ToRunNow">
|
||||
<summary>
|
||||
Runs the job now.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.ToRunEvery(System.Int32)">
|
||||
<summary>
|
||||
Runs the job according to the given interval.
|
||||
</summary>
|
||||
<param name="interval">Interval to wait.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.ToRunOnceIn(System.Int32)">
|
||||
<summary>
|
||||
Runs the job once after the given interval.
|
||||
</summary>
|
||||
<param name="interval">Interval to wait.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.ToRunOnceAt(System.Int32,System.Int32)">
|
||||
<summary>
|
||||
Runs the job once at the given time.
|
||||
</summary>
|
||||
<param name="hours">The hours (0 through 23).</param>
|
||||
<param name="minutes">The minutes (0 through 59).</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.ToRunOnceAt(System.DateTime)">
|
||||
<summary>
|
||||
Runs the job once at the given time.
|
||||
</summary>
|
||||
<param name="time">The time to run.</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.WithName(System.String)">
|
||||
<summary>
|
||||
Assigns a name to this job schedule.
|
||||
</summary>
|
||||
<param name="name">Name to assign</param>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.NonReentrant">
|
||||
<summary>
|
||||
Sets this job schedule as non reentrant.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.Disable">
|
||||
<summary>
|
||||
Disables this job schedule.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:FluentScheduler.Schedule.Enable">
|
||||
<summary>
|
||||
Enables this job schedule.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:FluentScheduler.UnhandledExceptionEventArgs">
|
||||
<summary>
|
||||
Same as System.UnhandledExceptionEventArgs except that ExceptionObject is an actual System.Exception reference.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.UnhandledExceptionEventArgs.ExceptionObject">
|
||||
<summary>
|
||||
Gets the unhandled exception object.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:FluentScheduler.UnhandledExceptionEventArgs.IsTerminating">
|
||||
<summary>
|
||||
Indicates whether the common language runtime is terminating.
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
BIN
ConsoleApplication2/bin/Debug/ICSharpCode.SharpZipLib.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/ICSharpCode.SharpZipLib.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/Iesi.Collections.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/Iesi.Collections.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/M2Mqtt.Net.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/M2Mqtt.Net.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/M2Mqtt.Net.pdb
Normal file
BIN
ConsoleApplication2/bin/Debug/M2Mqtt.Net.pdb
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/NHibernate.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/NHibernate.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/NPOI.OOXML.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/NPOI.OOXML.dll
Normal file
Binary file not shown.
8109
ConsoleApplication2/bin/Debug/NPOI.OOXML.xml
Normal file
8109
ConsoleApplication2/bin/Debug/NPOI.OOXML.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ConsoleApplication2/bin/Debug/NPOI.OpenXml4Net.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/NPOI.OpenXml4Net.dll
Normal file
Binary file not shown.
2949
ConsoleApplication2/bin/Debug/NPOI.OpenXml4Net.xml
Normal file
2949
ConsoleApplication2/bin/Debug/NPOI.OpenXml4Net.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ConsoleApplication2/bin/Debug/NPOI.OpenXmlFormats.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/NPOI.OpenXmlFormats.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/NPOI.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/NPOI.dll
Normal file
Binary file not shown.
41543
ConsoleApplication2/bin/Debug/NPOI.xml
Normal file
41543
ConsoleApplication2/bin/Debug/NPOI.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ConsoleApplication2/bin/Debug/Newtonsoft.Json.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/Newtonsoft.Json.dll
Normal file
Binary file not shown.
9683
ConsoleApplication2/bin/Debug/Newtonsoft.Json.xml
Normal file
9683
ConsoleApplication2/bin/Debug/Newtonsoft.Json.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ConsoleApplication2/bin/Debug/RCUHost.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/RCUHost.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/RCUHost.pdb
Normal file
BIN
ConsoleApplication2/bin/Debug/RCUHost.pdb
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/Remotion.Data.Linq.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/Remotion.Data.Linq.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/RestSharp.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/RestSharp.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/RestSharp.pdb
Normal file
BIN
ConsoleApplication2/bin/Debug/RestSharp.pdb
Normal file
Binary file not shown.
2897
ConsoleApplication2/bin/Debug/RestSharp.xml
Normal file
2897
ConsoleApplication2/bin/Debug/RestSharp.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ConsoleApplication2/bin/Debug/Spring.Aop.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/Spring.Aop.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/Spring.Core.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/Spring.Core.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/Spring.Data.NHibernate30.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/Spring.Data.NHibernate30.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/Spring.Data.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/Spring.Data.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/System.ValueTuple.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/System.ValueTuple.dll
Normal file
Binary file not shown.
1299
ConsoleApplication2/bin/Debug/System.ValueTuple.xml
Normal file
1299
ConsoleApplication2/bin/Debug/System.ValueTuple.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
ConsoleApplication2/bin/Debug/aliyun-net-sdk-core.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/aliyun-net-sdk-core.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/aliyun-net-sdk-dysmsapi.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/aliyun-net-sdk-dysmsapi.dll
Normal file
Binary file not shown.
27
ConsoleApplication2/bin/Debug/gua.blv-oa.com.key
Normal file
27
ConsoleApplication2/bin/Debug/gua.blv-oa.com.key
Normal file
@@ -0,0 +1,27 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIEogIBAAKCAQEA1EvziSvbI3eETULroiF71wbYze4aO/yj5A2LN2seiRZNTLKe
|
||||
lOnu4svMDwfpKizMfqYvXV9Z2NwUNdFsDd/FWl2Xfdravzwz4z5u8agQ4Qwd8fVT
|
||||
naFY5DQLv+6l3nAI01eUxaKHER/FpHSZ48o8CpH/VtzqeS/bA5+LTyMODdETI0fb
|
||||
futFQS4xUIjoifN2oeggL5grhk39udyKfnwc0WG6086yb9uzr39oA39vKJNKTQqL
|
||||
cDiuLzooBBOq8YuKQ8qnuIt14SdxTrKmeHQ+azKlgPykzA/exTboORPAHpFk99tz
|
||||
6vuMdJBgrx93wt+ljoM8uKV2/J/6CKAOQZzYUQIDAQABAoH/KS/oZQnHz28LO/IV
|
||||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HJbVrmdnrrwji/XhM0d0CNai2yxCwINKxmIkci5p4EdIvVAE
|
||||
ztsCgYEA01lI/DHP3IYK5L2tV2svm/aoSxnAta3ZLoR5/SYmCPKbw0G1G3xIqKfe
|
||||
1lbmtju/czzbQQFIDeRPRavK24RtU1INQSUs4xS0YDYr43rOK2hIaW+xZtpiEHVP
|
||||
0i9SXCpM2H8Z2t8L/MHxkwYS1LmzmCj2p5JGvAoL5LuFZBYwIaE=
|
||||
-----END RSA PRIVATE KEY-----
|
||||
61
ConsoleApplication2/bin/Debug/gua.blv-oa.com.pem
Normal file
61
ConsoleApplication2/bin/Debug/gua.blv-oa.com.pem
Normal file
@@ -0,0 +1,61 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIF9TCCBN2gAwIBAgIQDoWTGuJgNSPCq9HqcbGHuzANBgkqhkiG9w0BAQsFADBu
|
||||
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
|
||||
d3cuZGlnaWNlcnQuY29tMS0wKwYDVQQDEyRFbmNyeXB0aW9uIEV2ZXJ5d2hlcmUg
|
||||
RFYgVExTIENBIC0gRzIwHhcNMjUwMjI1MDAwMDAwWhcNMjUwNTI1MjM1OTU5WjAZ
|
||||
MRcwFQYDVQQDEw5ndWEuYmx2LW9hLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEP
|
||||
ADCCAQoCggEBANRL84kr2yN3hE1C66Ihe9cG2M3uGjv8o+QNizdrHokWTUyynpTp
|
||||
7uLLzA8H6SoszH6mL11fWdjcFDXRbA3fxVpdl33a2r88M+M+bvGoEOEMHfH1U52h
|
||||
WOQ0C7/upd5wCNNXlMWihxEfxaR0mePKPAqR/1bc6nkv2wOfi08jDg3REyNH237r
|
||||
RUEuMVCI6InzdqHoIC+YK4ZN/bncin58HNFhutPOsm/bs69/aAN/byiTSk0Ki3A4
|
||||
ri86KAQTqvGLikPKp7iLdeEncU6ypnh0PmsypYD8pMwP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xnsEN
|
||||
GfzyIDkH3JrwYZ8caPTf6ZX9M1GrISN8HnWTtdNCH2xEajRa/h9ZBXjUyFKQrGk2
|
||||
n2hcLrfZSbynEC/pSw/ET7H5nWwckjmAJ1l9fcnbqkU/pf6uMQmnfl0JQjJNSg==
|
||||
-----END CERTIFICATE-----
|
||||
BIN
ConsoleApplication2/bin/Debug/jose-jwt.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/jose-jwt.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/jose-jwt.pdb
Normal file
BIN
ConsoleApplication2/bin/Debug/jose-jwt.pdb
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/log4net.dll
Normal file
BIN
ConsoleApplication2/bin/Debug/log4net.dll
Normal file
Binary file not shown.
BIN
ConsoleApplication2/bin/Debug/mycert.p12
Normal file
BIN
ConsoleApplication2/bin/Debug/mycert.p12
Normal file
Binary file not shown.
27
ConsoleApplication2/gua.blv-oa.com.key
Normal file
27
ConsoleApplication2/gua.blv-oa.com.key
Normal file
@@ -0,0 +1,27 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIEogIBAAKCAQEA1EvziSvbI3eETULroiF71wbYze4aO/yj5A2LN2seiRZNTLKe
|
||||
lOnu4svMDwfpKizMfqYvXV9Z2NwUNdFsDd/FWl2Xfdravzwz4z5u8agQ4Qwd8fVT
|
||||
naFY5DQLv+6l3nAI01eUxaKHER/FpHSZ48o8CpH/VtzqeS/bA5+LTyMODdETI0fb
|
||||
futFQS4xUIjoifN2oeggL5grhk39udyKfnwc0WG6086yb9uzr39oA39vKJNKTQqL
|
||||
cDiuLzooBBOq8YuKQ8qnuIt14SdxTrKmeHQ+azKlgPykzA/exTboORPAHpFk99tz
|
||||
6vuMdJBgrx93wt+ljoM8uKV2/J/6CKAOQZzYUQIDAQABAoH/KS/oZQnHz28LO/IV
|
||||
Gl9kp1MCEkcfeoPenWADTRJ7L3LO4b0bBx5bj6Sk8kWWoZg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
ztsCgYEA01lI/DHP3IYK5L2tV2svm/aoSxnAta3ZLoR5/SYmCPKbw0G1G3xIqKfe
|
||||
1lbmtju/czzbQQFIDeRPRavK24RtU1INQSUs4xS0YDYr43rOK2hIaW+xZtpiEHVP
|
||||
0i9SXCpM2H8Z2t8L/MHxkwYS1LmzmCj2p5JGvAoL5LuFZBYwIaE=
|
||||
-----END RSA PRIVATE KEY-----
|
||||
61
ConsoleApplication2/gua.blv-oa.com.pem
Normal file
61
ConsoleApplication2/gua.blv-oa.com.pem
Normal file
@@ -0,0 +1,61 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIF9TCCBN2gAwIBAgIQDoWTGuJgNSPCq9HqcbGHuzANBgkqhkiG9w0BAQsFADBu
|
||||
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
|
||||
d3cuZGlnaWNlcnQuY29tMS0wKwYDVQQDEyRFbmNyeXB0aW9uIEV2ZXJ5d2hlcmUg
|
||||
RFYgVExTIENBIC0gRzIwHhcNMjUwMjI1MDAwMDAwWhcNMjUwNTI1MjM1OTU5WjAZ
|
||||
MRcwFQYDVQQDEw5ndWEuYmx2LW9hLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEP
|
||||
ADCCAQoCggEBANRL84kr2yN3hE1C66Ihe9cG2M3uGjv8o+QNizdrHokWTUyynpTp
|
||||
7uLLzA8H6SoszH6mL11fWdjcFDXRbA3fxVpdl33a2r88M+M+bvGoEOEMHfH1U52h
|
||||
WOQ0C7/upd5wCNNXlMWihxEfxaR0mePKPAqR/1bc6nkv2wOfi08jDg3REyNH237r
|
||||
RUEuMVCI6InzdqHoIC+YK4ZN/bncin58HNFhutPOsm/bs69/aAN/byiTSk0Ki3A4
|
||||
ri86KAQTqvGLikPKp7iLdeEncU6ypnh0PmsypYD8pMwP3sU26DkTwB6RZPfbc+r7
|
||||
jHSQYK8fd8LfpY6DPLildvyf+gigDkGc2FECAwEAAa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BXjUyFKQrGk2
|
||||
n2hcLrfZSbynEC/pSw/ET7H5nWwckjmAJ1l9fcnbqkU/pf6uMQmnfl0JQjJNSg==
|
||||
-----END CERTIFICATE-----
|
||||
BIN
ConsoleApplication2/mycert.p12
Normal file
BIN
ConsoleApplication2/mycert.p12
Normal file
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.0", FrameworkDisplayName = ".NET Framework 4")]
|
||||
Binary file not shown.
@@ -0,0 +1,55 @@
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\ConsoleApplication2.exe.config
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\ConsoleApplication2.exe
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\ConsoleApplication2.pdb
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\jose-jwt.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\jose-jwt.pdb
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\obj\x86\Debug\ConsoleApplication2.exe
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\obj\x86\Debug\ConsoleApplication2.pdb
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Common.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\NPOI.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\log4net.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\CSRedisCore.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\NHibernate.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\CacheManager.Core.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\NPOI.OOXML.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Newtonsoft.Json.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\aliyun-net-sdk-core.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\aliyun-net-sdk-dysmsapi.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\ICSharpCode.SharpZipLib.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\System.ValueTuple.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Iesi.Collections.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Antlr3.Runtime.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Remotion.Data.Linq.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\NPOI.OpenXmlFormats.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\NPOI.OpenXml4Net.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Common.pdb
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\NPOI.xml
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\CSRedisCore.pdb
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\CSRedisCore.xml
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\CacheManager.Core.xml
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\NPOI.OOXML.xml
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Newtonsoft.Json.xml
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\System.ValueTuple.xml
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\NPOI.OpenXml4Net.xml
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\obj\x86\Debug\ConsoleApplication2.csprojResolveAssemblyReference.cache
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\FluentScheduler.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\FluentScheduler.pdb
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\FluentScheduler.xml
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Domain.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\M2Mqtt.Net.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Domain.pdb
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\M2Mqtt.Net.pdb
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\RCUHost.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Dao.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\CommonEntity.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\RestSharp.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Spring.Data.NHibernate30.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Spring.Data.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Spring.Core.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Spring.Aop.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Common.Logging.dll
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\RCUHost.pdb
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\Dao.pdb
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\CommonEntity.pdb
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\RestSharp.pdb
|
||||
E:\tian\chongxin\CRICS_V3_1124\ConsoleApplication2\bin\Debug\RestSharp.xml
|
||||
Binary file not shown.
BIN
ConsoleApplication2/obj/x86/Debug/ConsoleApplication2.exe
Normal file
BIN
ConsoleApplication2/obj/x86/Debug/ConsoleApplication2.exe
Normal file
Binary file not shown.
BIN
ConsoleApplication2/obj/x86/Debug/ConsoleApplication2.pdb
Normal file
BIN
ConsoleApplication2/obj/x86/Debug/ConsoleApplication2.pdb
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user