Example #1
0
        public void ResetTimeOut(LQHsm sm)
        {
            switch (_callType)
            {
            case GQHSMCallType.TIMEOUT_TIMESPAN:
                if (Duration.TotalMilliseconds == 0.0)
                {
                    sm.SetTimeOut(_name, Duration, _event);
                }
                break;

            case GQHSMCallType.TIMEOUT_TIMESPAN_TYPE:
                if (Duration.TotalMilliseconds == 0.0)
                {
                    sm.SetTimeOut(_name, Duration, _event, _type);
                }
                break;
            }
        }
Example #2
0
        public void SetTimeOut(LQHsm sm)
        {
            switch (_callType)
            {
            case GQHSMCallType.TIMEOUT_TIMESPAN:
                sm.SetTimeOut(_name, Duration, _event);
                break;

            case GQHSMCallType.TIMEOUT_TIMESPAN_TYPE:
                sm.SetTimeOut(_name, Duration, _event, _type);
                break;

            case GQHSMCallType.TIMEOUT_DATETIME:
                sm.SetTimeOut(_name, At, _event);
                break;

            case GQHSMCallType.TIMEOUT_DATETIME_TYPE:
                sm.SetTimeOut(_name, At, _event, _type);
                break;
            }
        }
Example #3
0
 public void ClearTimeOut(LQHsm sm)
 {
     sm.ClearTimeOut(_name);
 }
Example #4
0
 public QPort(string name, string key, LQHsm qhsm)
 {
     _Name = name;
     _Key = key;
     _Qhsm = qhsm;
 }
Example #5
0
 public QPort(string name, LQHsm qhsm)
 {
     _Name = name;
     _Qhsm = qhsm;
 }
Example #6
0
 public QPort(string name, string key, LQHsm qhsm)
 {
     _Name = name;
     _Key  = key;
     _Qhsm = qhsm;
 }
Example #7
0
 public QPort(string name, LQHsm qhsm)
 {
     _Name = name;
     _Qhsm = qhsm;
 }
Example #8
0
 public QMultiPort(string name, LQHsm qhsm)
 {
     _Qhsm = qhsm;
     _Name = name;
 }
 public QMultiPort(string name, LQHsm qhsm)
 {
     _Qhsm = qhsm;
     _Name = name;
 }