//工事コードで決まる情報の取得(増えてきたのでまとめた) private void GetConstructionInfomations(string constructionCode, string planNo) { using (var service = new SocketPlanServiceNoTimeout()) { Static.IsBeforeKakouIrai = service.IsBeforeProcessRequest(constructionCode); Static.IsTenjijyo = service.IsTenjijyoConstruction(constructionCode); Static.Schedule = service.GetSchedule(constructionCode); Static.ConstructionTypeCode = service.GetConstructionTypeCode(constructionCode, Utilities.ConvertPlanNo(planNo)); } }