You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

125 lines
2.9 KiB
C#

#region 程序集 Txgy.Microseismic.BaseLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// E:\mingzf\txgy\Txgy.EWS\Client\output\Txgy.Microseismic.BaseLib.dll
// Decompiled with ICSharpCode.Decompiler 7.1.0.6543
#endregion
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace mseedChart.MainModule.Models
{
public class MmEvent : CoordBase
{
private DateTime _eventTime;
private double _ml;
private double _rms;
public string EventTimeStr { get; set; }
public DateTime EventTime
{
get
{
return _eventTime;
}
set
{
_eventTime = value;
}
}
public double ML
{
get
{
return _ml;
}
set
{
_ml = value;
}
}
public double RMS
{
get
{
return _rms;
}
set
{
_rms = value;
}
}
private Dictionary<string, int> _phases;
public Dictionary<string, int> Phases
{
get
{
return _phases;
}
set
{
_phases = value;
}
}
public double DominantFreq { get; set; }
public string JsonFile { get; set; }
public string AsciiFile { get; set; }
public static float SetAmp(List<float> amps)
{
amps.Sort();
return amps[amps.Count / 2];
}
}
public class StationEventJson
{
public DateTime otime { get;set;}
public double lon { get; set; }
public double lat { get; set; }
public double depth { get; set; }
public double ml { get; set; }
public double rms { get; set; }
public List<phases> phases { get; set; }
public List<amps> amps { get; set; }
}
public class phases
{
public string id { get; set; }
public string name { get; set; }
public DateTime atime { get; set; }
public double resi { get; set; }
public double first_motion_direct { get; set; }
public double fmd_semi_period { get; set; }
public double deltaKm { get; set; }
public double disKm { get; set; }
public double model_time { get; set; }
public double weight { get; set; }
public double prob { get; set; }
}
public class amps
{
public string id { get; set; }
public string name { get; set; }
public DateTime atime { get; set; }
public string mag_type { get; set; }
public double mag_value { get; set; }
public double amp { get; set;
}
}
}