public Analysize(Specify specify) { this.specify = specify; Short = new Stack <double>(512); Long = new Stack <double>(512); foreach (Chart chart in Retrieve.GetInstance(specify.Code).Chart) { Analysis(chart); } }
public static Retrieve GetInstance(string code) { if (retrieve == null) { Code = code; retrieve = new Retrieve(code); } else if (Code.Equals(code) == false) { Code = code; retrieve = new Retrieve(code); } return(retrieve); }