コード例 #1
0
ファイル: TiaProcess.cs プロジェクト: yanzixiang/YZX.TIA
        public OnlineErrorState Connect(ICoreObject onlineTarget,
                                        NeededProtectionLevel protectionLevel,
                                        string connectionType,
                                        bool showDialog)
        {
            if (onlineServiceHelper == null)
            {
                return(OnlineErrorState.Error);
            }

            return(onlineServiceHelper.Connect(onlineTarget, protectionLevel, connectionType, showDialog));
        }
コード例 #2
0
 public bool Legitimate(IConnection connection, NeededProtectionLevel desiredLevel, bool requestPasswordFromUser)
 {
     return(true);
 }
コード例 #3
0
 public bool Legitimate(ClientSession drive, NeededProtectionLevel desiredLevel, bool requestPasswordFromUser)
 {
     return(true);
 }
コード例 #4
0
 public bool Legitimate(IOamEpromDrive drive, NeededProtectionLevel desiredLevel, bool requestPasswordFromUser)
 {
     return(true);
 }