public MetaEventBlockedStage AddBlockedEvent(Guid ev, EventStateType state) { m_BlockedEventStates.Add(new EventState() { Event = ev, State = state }); return(this); }
public virtual MetaEventStage AddEvent(Guid ev, EventStateType state) { EventStates.Add(new EventState() { Event = ev, State = state }); return(this); }
public MetaEventMultiLineStage AddEvent(Guid ev, EventStateType state, string name) { if (!m_SubStages.ContainsKey(name)) m_SubStages.Add(name, new MetaEventStage(Type, name)); m_SubStages[name].AddEvent(ev, state); return this; }
public MetaEventMultiLineStage AddEvent(Guid ev, EventStateType state, string name) { if (!m_SubStages.ContainsKey(name)) { m_SubStages.Add(name, new MetaEventStage(Type, name)); } m_SubStages[name].AddEvent(ev, state); return(this); }
public void SetEventState(Guid eid, EventStateType es) { if (m_EventPushpins.ContainsKey(eid)) { m_EventPushpins[eid].SetEventState(es); } if (m_EventMapPolygons.ContainsKey(eid)) { m_EventMapPolygons[eid].SetEventState(es); } }
public void SetEventState(EventStateType state) { switch (state) { case EventStateType.Active: Visibility = Visibility.Visible; break; default: Visibility = Visibility.Collapsed; break; } }
public void SetEventState(Guid externalId, EventStateType state, string details) { using (IEventGateway eventGateway = EventGatewayFactory()) { //check if Guid is unique var evnt = eventGateway.GetByExternalId(externalId); if (evnt == null) { throw new EventNotFoundException(externalId); } eventGateway.SetState(externalId, state, details); } }
public void SetEventState(EventStateType state) { switch (state) { case EventStateType.Active: Visibility = Visibility.Visible; Image = m_ActiveImage; break; case EventStateType.Preparation: Visibility = Visibility.Visible; Image = m_PreparationImage; break; default: Visibility = Visibility.Collapsed; break; } }
public static extern int EventState(IntPtr ctx, Variable var, EventStateType state);
public MetaEventBlockedStage AddBlockedEvent(Guid ev, EventStateType state) { m_BlockedEventStates.Add(new EventState() { Event = ev, State = state }); return this; }
public override MetaEventStage AddEvent(Guid ev, EventStateType state) { return(AddEvent(ev, state, Name)); }
public virtual MetaEventStage AddEvent(Guid ev, EventStateType state) { EventStates.Add(new EventState() { Event = ev, State = state }); return this; }
public bool EventState( EventStateType est ) { return NI.EventState( _sgsEngine.ctx, var, est ) != 0; }
public bool EventState(EventStateType est) { return(NI.EventState(_sgsEngine.ctx, var, est) != 0); }
public void SetEventState(Guid eid, EventStateType es) { if (m_EventPushpins.ContainsKey(eid)) m_EventPushpins[eid].SetEventState(es); if (m_EventMapPolygons.ContainsKey(eid)) m_EventMapPolygons[eid].SetEventState(es); }
public override MetaEventStage AddEvent(Guid ev, EventStateType state) { return AddEvent(ev, state, Name); }