protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_EFT_SystemDisable tgtSrc = request as MonTgt_H2G_EFT_SystemDisable;

            if (tgtSrc != null)
            {
                FFTgt_B2B_EFT tgtDest = new FFTgt_B2B_EFT();
                FFTgt_H2G_EFT_SystemDisable ffTgtGameIdInfo = new FFTgt_H2G_EFT_SystemDisable();
                tgtDest.AddTarget(ffTgtGameIdInfo);
                return(tgtDest);
            }
            return(null);
        }
 public int EnableDisableAFT(int installatioNo, bool enable)
 {
     MonMsg_H2G message = new MonMsg_H2G()
     {
         InstallationNo = installatioNo,
     };
     MonitorEntity_MsgTgt target = null;
     if (enable) target = new MonTgt_H2G_EFT_SystemEnable();
     else target = new MonTgt_H2G_EFT_SystemDisable();
     message.Targets.Add(target);
     return ExMonServer4MonClientProxyFactory.Get().ProcessH2GMessage(message) ? 0 : -1;
 }