mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Naming fixes.
This commit is contained in:
@@ -37,15 +37,15 @@ namespace Aaru.DiscImages
|
||||
[SuppressMessage("ReSharper", "UnusedMember.Local")]
|
||||
public partial class KryoFlux
|
||||
{
|
||||
const string hostDate = "host_date";
|
||||
const string hostTime = "host_time";
|
||||
const string kfName = "name";
|
||||
const string kfVersion = "version";
|
||||
const string kfDate = "date";
|
||||
const string kfTime = "time";
|
||||
const string kfHwId = "hwid";
|
||||
const string kfHwRv = "hwrv";
|
||||
const string kfSck = "sck";
|
||||
const string kfIck = "ick";
|
||||
const string _hostDate = "host_date";
|
||||
const string _hostTime = "host_time";
|
||||
const string _kfName = "name";
|
||||
const string _kfVersion = "version";
|
||||
const string _kfDate = "date";
|
||||
const string _kfTime = "time";
|
||||
const string _kfHwId = "hwid";
|
||||
const string _kfHwRv = "hwrv";
|
||||
const string _kfSck = "sck";
|
||||
const string _kfIck = "ick";
|
||||
}
|
||||
}
|
||||
@@ -186,22 +186,22 @@ namespace Aaru.DiscImages
|
||||
|
||||
switch(kvp[0])
|
||||
{
|
||||
case hostDate:
|
||||
case _hostDate:
|
||||
if(DateTime.TryParseExact(kvp[1], "yyyy.MM.dd", CultureInfo.InvariantCulture,
|
||||
DateTimeStyles.AssumeLocal, out blockDate))
|
||||
foundDate = true;
|
||||
|
||||
break;
|
||||
case hostTime:
|
||||
case _hostTime:
|
||||
DateTime.TryParseExact(kvp[1], "HH:mm:ss", CultureInfo.InvariantCulture,
|
||||
DateTimeStyles.AssumeLocal, out blockTime);
|
||||
|
||||
break;
|
||||
case kfName:
|
||||
case _kfName:
|
||||
imageInfo.Application = kvp[1];
|
||||
|
||||
break;
|
||||
case kfVersion:
|
||||
case _kfVersion:
|
||||
imageInfo.ApplicationVersion = kvp[1];
|
||||
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user