C# Класс Sconit_SD.Utility

Показать файл Открыть проект

Открытые методы

Метод Описание
CancelOperation ( Resolver resolver ) : void

分步取消

FormatExMessage ( string message ) : string
IsDecimal ( string str ) : bool
IsHasTransformerDetail ( Resolver resolver ) : bool
Md5 ( string originalPassword ) : string
MergeResolver ( Resolver resolver, Resolver originalResolver ) : Resolver
ProcessOriginalResolver ( Resolver resolver, Resolver originalResolver ) : Resolver
RenderDataGridBackColor ( System.Windows.Forms.DataGrid dataGrid ) : System.Windows.Forms.DataGrid
ShowMessageBox ( string message ) : void
SumCurrentQty ( Transformer transformerArray ) : Sconit_SMARTDEVICE.SconitWS.Transformer[]
ValidatorDecimal ( object sender, KeyPressEventArgs e ) : void

Приватные методы

Метод Описание
AccumlationCurrentQty ( Resolver resolver ) : decimal
AccumlationCurrentQty ( TransformerDetail transformerDetails ) : decimal
AddTransformerDetail ( Resolver resolver, TransformerDetail transformerDetail ) : void
AddTransformerDetail ( Transformer transformer, TransformerDetail transformerDetail ) : void
CancelRepackOperation ( Resolver resolver ) : void

翻箱取消操作

CheckMatchHuExist ( Resolver resolver ) : void
CheckMatchHuExist ( Resolver resolver, string huId ) : void
CopyProperty ( object sourceObj, object targetObj ) : void
DeepCopyResolver ( Resolver sourceResolver, Resolver targetResolver ) : void
FindMaxSeq ( Transformer transformers ) : int
FindMaxSeqTransformerDetailRowAndColumnIndex ( Transformer transformerList ) : int[]

查找最大序号的TransformerDetail所在的行和列

GetSumCartons ( TransformerDetail transformerDetails ) : int
ProcessTransformer ( Transformer transformerList ) : void

Описание методов

CancelOperation() публичный статический Метод

分步取消
public static CancelOperation ( Resolver resolver ) : void
resolver Resolver
Результат void

FormatExMessage() публичный статический Метод

public static FormatExMessage ( string message ) : string
message string
Результат string

IsDecimal() публичный статический Метод

public static IsDecimal ( string str ) : bool
str string
Результат bool

IsHasTransformerDetail() публичный статический Метод

public static IsHasTransformerDetail ( Resolver resolver ) : bool
resolver Resolver
Результат bool

Md5() публичный статический Метод

public static Md5 ( string originalPassword ) : string
originalPassword string
Результат string

MergeResolver() публичный статический Метод

public static MergeResolver ( Resolver resolver, Resolver originalResolver ) : Resolver
resolver Resolver
originalResolver Resolver
Результат Resolver

ProcessOriginalResolver() публичный статический Метод

public static ProcessOriginalResolver ( Resolver resolver, Resolver originalResolver ) : Resolver
resolver Resolver
originalResolver Resolver
Результат Resolver

RenderDataGridBackColor() публичный статический Метод

public static RenderDataGridBackColor ( System.Windows.Forms.DataGrid dataGrid ) : System.Windows.Forms.DataGrid
dataGrid System.Windows.Forms.DataGrid
Результат System.Windows.Forms.DataGrid

ShowMessageBox() публичный статический Метод

public static ShowMessageBox ( string message ) : void
message string
Результат void

SumCurrentQty() публичный статический Метод

public static SumCurrentQty ( Transformer transformerArray ) : Sconit_SMARTDEVICE.SconitWS.Transformer[]
transformerArray Sconit_SMARTDEVICE.SconitWS.Transformer
Результат Sconit_SMARTDEVICE.SconitWS.Transformer[]

ValidatorDecimal() публичный статический Метод

public static ValidatorDecimal ( object sender, KeyPressEventArgs e ) : void
sender object
e System.Windows.Forms.KeyPressEventArgs
Результат void