예제 #1
0
파일: PG.cs 프로젝트: MODES-Centre/1.4.5
 void api__OnPlanDataChanged(object sender, EventPlanDataChanged e)
 {
     newMessage = String.Format("Получен плановыq график {0} по станции {1} на {2} \r\n", ModesUtils.PlanTypeToString(e.Type),
                                e.ClientId, e.Day.SystemToLocalHqEx().ToShortDateString());
     this.Invoke(new MethodInvoker(AddEventMessage));
 }
예제 #2
0
 void api__OnPlanDataChanged(object sender, EventPlanDataChanged e)
 {
     newMessage = $"Получен плановыq график {ModesUtils.PlanTypeToString(e.Type)} по станции {e.ClientId} на {e.Day.SystemToLocalHqEx().ToShortDateString()}{Environment.NewLine}";
     this.Invoke(new MethodInvoker(AddEventMessage));
 }